Skip to main content

ChangedBadgeVisibility

Gets called when the player has changed their global or local badge visibility.

Start a script section

!-- OnEvent ChangedBadgeVisibility
-- require @evPlayer $evIsGlobalBadge $evNewVisibility

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: No
  • Event data: PlayerChangedBadgeVisibilityEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueThe player that changed their badge visibility.
$evIsGlobalBadgebool valueif the badge is a global badge, otherwise it is a local badge.
$evNewVisibilitybool valueWhether the badge is now visible.