IS_VEHICLE_EXTRA_TURNED_ON
Returns true if extra extraId of vehicle is enabled.
Signature
BOOL IS_VEHICLE_EXTRA_TURNED_ON(Vehicle vehicle, int extraId); // 0xFA9A55D9C4351625 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | extraId | int |
Facts
| 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.
local result = Citizen.InvokeNative(0xFA9A55D9C4351625, -- IS_VEHICLE_EXTRA_TURNED_ON
0, -- Vehicle vehicle
0 -- int extraId
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xFA9A55D9C4351625", // IS_VEHICLE_EXTRA_TURNED_ON
0, // Vehicle vehicle
0, // int extraId
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xFA9A55D9C4351625, // IS_VEHICLE_EXTRA_TURNED_ON
0, // Vehicle vehicle
0 // int extraId
);Related VEHICLE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.