ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. isRadioEnabled

Function

isRadioEnabled

ClientAudioTrilogy Hub only

Checks whether the game's in-vehicle radio is on.

Syntax

bool isRadioEnabled()

Returns

true if on.

Example

if isRadioEnabled() then
    setRadioEnabled(false)
end

See also