Skip to main content

Muting

Gets called when the player is being muted.

Start a script section

!-- OnEvent Muting
-- require @evPlayer @evIssuer $evIsIntercom $evIsAllowed

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: Yes
  • Event data: PlayerMutingEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who is being muted.
@evIssuerplayer valueGets the player who is issuing the mute.
$evIsIntercombool valueGets whether mute is being applied to intercom.
$evIsAllowedbool valueWhether the event is allowed to run.