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
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player that is using the intercom. |
$evState | IntercomState enum value | Gets the state of the intercom. |
$evIsAllowed | bool value | Whether the event is allowed to run. |