_BREAK_OFF_DRAFT_WHEEL
Similar to 0xD4F5EFB55769D272, _A*
Hash
0xC372B6A88F6E4AD8Runtime name
BreakOffDraftWheelNamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _BREAK_OFF_DRAFT_WHEEL(Vehicle vehicle, int wheelIndex, float destroyingForce);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
wheelIndex | int | — |
destroyingForce | float | — |
Returns void
Description
Params: destroyingForce is usually 100f in R* Scripts
Similar to 0xD4F5EFB55769D272, _A*
Usage
BreakOffDraftWheel(vehicle, wheelIndex, destroyingForce)
-- always works, by hash
Citizen.InvokeNative(0xC372B6A88F6E4AD8, vehicle, wheelIndex, destroyingForce)JavaScript and C#
BreakOffDraftWheel(vehicle, wheelIndex, destroyingForce);
// by hash
Citizen.invokeNative('0xC372B6A88F6E4AD8', vehicle, wheelIndex, destroyingForce + 0.0000001);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. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to 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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.