IsPlayerRadioOn - Game

Member of: Game Script

Returns whether the player's radio is currently on or not.

SyntaxEdit

bool Function IsPlayerRadioOn() native global

ParametersEdit

None.

Return ValueEdit

True if the player's radio is currently turned on.

ExamplesEdit

if (Game.IsPlayerRadioOn())
  Debug.Trace("Player's radio is currently on... hopefully he's not trying to be sneaky!")
endIf

See AlsoEdit