Skip to main content

UsingIntercom

Gets called when the player is using the intercom.

Start a script section

!-- OnEvent UsingIntercom
-- require @evPlayer $evState $evIsAllowed

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

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player that is using the intercom.
$evStateIntercomState enum valueGets the state of the intercom.
$evIsAllowedbool valueWhether the event is allowed to run.