Skip to main content

Unmuting

Gets called when the player is being unmuted.

Start a script section

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

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

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who is being unmuted.
@evIssuerplayer valueGets the player who issued the unmute action.
$evIsIntercombool valueGets or sets whether is unmute for intercom.
$evIsAllowedbool valueWhether the event is allowed to run.