- Documentation
- Server functions
- isPlayerRadioEnabled
Function
isPlayerRadioEnabled
Checks whether the player has the game's in-vehicle radio on.
Syntax
bool isPlayerRadioEnabled(player thePlayer)Arguments
thePlayerplayer- The player.
Returns
true if on.
Example
outputServerLog(tostring(isPlayerRadioEnabled(player)))