IS_VEHICLE_DRIVEABLE
Returns true if vehicle can still be driven.
Signature
BOOL IS_VEHICLE_DRIVEABLE(Vehicle vehicle, BOOL p1, BOOL p2); // 0xB86D29B10F627379 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | p1 | BOOL |
| 3 | p2 | BOOL |
Facts
| Name | IS_VEHICLE_DRIVEABLE |
|---|---|
| Hash | 0xB86D29B10F627379 |
| 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(0xB86D29B10F627379, -- IS_VEHICLE_DRIVEABLE
0, -- Vehicle vehicle
false, -- BOOL p1
false -- BOOL p2
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xB86D29B10F627379", // IS_VEHICLE_DRIVEABLE
0, // Vehicle vehicle
false, // BOOL p1
false, // BOOL p2
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xB86D29B10F627379, // IS_VEHICLE_DRIVEABLE
0, // Vehicle vehicle
false, // BOOL p1
false // BOOL p2
);Related VEHICLE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.