RedM Natives

_ARE_ANY_VEHICLE_WHEELS_DESTROYED

Returns true if any wheel is destroyed IS_VEHICLE_DRIVEABLE will still return true even though a wheel is destroyed, like vehicles with 4 wheels.

Hash0x18714953CCED17D3
Runtime nameAreAnyVehicleWheelsDestroyed
NamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _ARE_ANY_VEHICLE_WHEELS_DESTROYED(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns BOOL

Description

alloc8or RDR3 NativeDB

Returns true if any wheel is destroyed
IS_VEHICLE_DRIVEABLE will still return true even though a wheel is destroyed, like vehicles with 4 wheels.

VORPCORE RDR3natives

returns true if any wheel is destroyed/detached

Usage

Lua
local retval = AreAnyVehicleWheelsDestroyed(vehicle)

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

// by hash
const retval = Citizen.invokeNative('0x18714953CCED17D3', vehicle, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x18714953CCED17D3, vehicle);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

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