RedM Natives

IS_VEHICLE_DRIVEABLE

Hash0xB86D29B10F627379
Runtime nameIsVehicleDriveable
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x4C241E39B23DF959

Signature

BOOL IS_VEHICLE_DRIVEABLE(Vehicle vehicle, BOOL p1, BOOL p2);

Parameters

NameTypeDescription
vehicleVehicle—
p1BOOL—
p2BOOL—

Returns BOOL

Usage

Lua
local retval = IsVehicleDriveable(vehicle, p1, p2)

-- always works, by hash
local retval = Citizen.InvokeNative(0xB86D29B10F627379, vehicle, p1, p2, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsVehicleDriveable(vehicle, p1, p2);

// by hash
const retval = Citizen.invokeNative('0xB86D29B10F627379', vehicle, p1, p2, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xB86D29B10F627379, vehicle, p1, p2);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.