The Lab
VEHICLE native

IS_VEHICLE_EXTRA_TURNED_ON

returns BOOL2 paramsbuild 1207

Returns true if extra extraId of vehicle is enabled.

Signature

C
BOOL IS_VEHICLE_EXTRA_TURNED_ON(Vehicle vehicle, int extraId); // 0xFA9A55D9C4351625 b1207

Parameters

#NameType
1vehicleVehicle
2extraIdint

Facts

Facts about IS_VEHICLE_EXTRA_TURNED_ON
Name
IS_VEHICLE_EXTRA_TURNED_ON
Hash
0xFA9A55D9C4351625
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xFA9A55D9C4351625, -- IS_VEHICLE_EXTRA_TURNED_ON
  0, -- Vehicle vehicle
  0 -- int extraId
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xFA9A55D9C4351625", // IS_VEHICLE_EXTRA_TURNED_ON
  0, // Vehicle vehicle
  0, // int extraId
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xFA9A55D9C4351625, // IS_VEHICLE_EXTRA_TURNED_ON
  0, // Vehicle vehicle
  0 // int extraId
);
All VEHICLE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.