IdlingTesla
Gets called when the player is sending a voice message.
Start a script section
!-- OnEvent IdlingTesla
-- require @evPlayer *evTesla $evIsAllowed
# Add your instructions here
- Group: PlayerEvents
- Cancellable: Yes
- Event data:
PlayerIdlingTeslaEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who is causing a tesla gate to idle. |
*evTesla | reference to Tesla object | Gets the Tesla associated with the event. |
$evIsAllowed | bool value | Whether the event is allowed to run. |