AudioClient

isVehicleRadioOn

IS_VEHICLE_RADIO_ON0x0BE4BE946463F917

The GTA V native IS_VEHICLE_RADIO_ON of the AUDIO namespace, as LS:MP client scripts call it: the global function isVehicleRadioOn, in JavaScript and in Lua.

SignatureJavaScript
isVehicleRadioOn(vehicle: Vehicle): boolean
SignatureLua
isVehicleRadioOn(vehicle: Vehicle): boolean

Usage

JavaScript
const result = isVehicleRadioOn(vehicle);
Lua
local result = isVehicleRadioOn(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Audio AUDIO
In the game
BOOL IS_VEHICLE_RADIO_ON(Vehicle vehicle)
Hash
0x0BE4BE946463F917
Introduced
Game build 505 legacy numbering
Formerly
_IS_VEHICLE_RADIO_ENABLED

Open in the interactive natives reference