_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.
Hash
0x18714953CCED17D3Runtime name
AreAnyVehicleWheelsDestroyedNamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _ARE_ANY_VEHICLE_WHEELS_DESTROYED(Vehicle vehicle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
Returns BOOL
Description
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.
returns true if any wheel is destroyed/detached
Usage
local retval = AreAnyVehicleWheelsDestroyed(vehicle)
-- always works, by hash
local retval = Citizen.InvokeNative(0x18714953CCED17D3, vehicle, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = AreAnyVehicleWheelsDestroyed(vehicle);
// by hash
const retval = Citizen.invokeNative('0x18714953CCED17D3', vehicle, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.