Skip to main content

UsedRadio

Gets called when the player has used the radio.

Start a script section

!-- OnEvent UsedRadio
-- require @evPlayer *evRadioItem $evDrain

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: No
  • Event data: PlayerUsedRadioEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player that used the radio.
*evRadioItemreference to RadioItem objectGets the radio that was being used.
$evDrainnumber valueGets the drain amount of the battery per second.