Skip to main content

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

VariableTypeDescription
@evPlayerplayer valueGets the player who is changing radio range.
*evRadioItemreference to RadioItem objectGets the radio item.
$evRangeRadioRangeLevel enum valueGets the range level that is radio being changed to.
$evIsAllowedbool valueWhether the event is allowed to run.