IsPlayerRadioOn - Game

Revision as of 14:07, 31 March 2024 by Ptmc (talk | contribs) (wrong return value in the Syntax, should be a bool)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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