RedM Natives

_BREAK_OFF_DRAFT_WHEEL

Similar to 0xD4F5EFB55769D272, _A*

Hash0xC372B6A88F6E4AD8
Runtime nameBreakOffDraftWheel
NamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _BREAK_OFF_DRAFT_WHEEL(Vehicle vehicle, int wheelIndex, float destroyingForce);

Parameters

NameTypeDescription
vehicleVehicle—
wheelIndexint—
destroyingForcefloat—

Returns void

Description

Params: destroyingForce is usually 100f in R* Scripts
Similar to 0xD4F5EFB55769D272, _A*

Usage

Lua
BreakOffDraftWheel(vehicle, wheelIndex, destroyingForce)

-- always works, by hash
Citizen.InvokeNative(0xC372B6A88F6E4AD8, vehicle, wheelIndex, destroyingForce)
JavaScript and C#
JavaScript
BreakOffDraftWheel(vehicle, wheelIndex, destroyingForce);

// by hash
Citizen.invokeNative('0xC372B6A88F6E4AD8', vehicle, wheelIndex, destroyingForce + 0.0000001);
C#
Function.Call((Hash)0xC372B6A88F6E4AD8, vehicle, wheelIndex, destroyingForce);
  • Float parameters: Lua integers (10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.
  • 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

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