ChangingRadioRange
Gets called when the player is changing range of their radio.
Start a script section
!-- OnEvent ChangingRadioRange
-- require @evPlayer *evRadioItem $evRange $evIsAllowed
# Add your instructions here
- Group: PlayerEvents
- Cancellable: Yes
- Event data:
PlayerChangingRadioRangeEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who is changing radio range. |
*evRadioItem | reference to RadioItem object | Gets the radio item. |
$evRange | RadioRangeLevel enum value | Gets the range level that is radio being changed to. |
$evIsAllowed | bool value | Whether the event is allowed to run. |