RedM Natives

IS_VEHICLE_ON_ALL_WHEELS

Hash0x0D5D119529654EE0
Runtime nameIsVehicleOnAllWheels
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB104CD1BABF302E2

Signature

BOOL IS_VEHICLE_ON_ALL_WHEELS(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns BOOL

Usage

Lua
local retval = IsVehicleOnAllWheels(vehicle)

-- always works, by hash
local retval = Citizen.InvokeNative(0x0D5D119529654EE0, vehicle, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsVehicleOnAllWheels(vehicle);

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

Sources

alloc8or RDR3 NativeDB

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