From the reference libraryFiveM

AUDIO Natives

natives/AUDIO/0x0BE4BE946463F917.md

AUDIO Natives

IS_VEHICLE_RADIO_ON

Property Value
Native Name IS_VEHICLE_RADIO_ON
Hash 0x0BE4BE946463F917
Return Type BOOL
Parameters vehicle (Vehicle)

Parameters

  • vehicle (Vehicle) — The vehicle to check

Examples

local radioEnabled = IsVehicleRadioEnabled(GetVehiclePedIsIn(PlayerPedId(), false))
print(radioEnabled)
bool radioEnabled = API.IsVehicleRadioEnabled(API.GetVehiclePedIsIn(Game.PlayerPed.Handle, false));
Debug.WriteLine(radioEnabled.ToString());
Back to documentation