Native referenceFiveM

IS_VEHICLE_RADIO_ON

0x0BE4BE946463F917 AUDIO
FUNCTION SIGNATURE
BOOL IS_VEHICLE_RADIO_ON(Vehicle vehicle);
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 AUDIO