_BREAK_OFF_DRAFT_WHEEL
Breaks wheel wheelIndex off the draft vehicle with the given force.
Signature
void _BREAK_OFF_DRAFT_WHEEL(Vehicle vehicle, int wheelIndex, float destroyingForce); // 0xC372B6A88F6E4AD8 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | wheelIndex | int |
| 3 | destroyingForce | float |
Facts
| Name | _BREAK_OFF_DRAFT_WHEEL |
|---|---|
| Hash | 0xC372B6A88F6E4AD8 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xC372B6A88F6E4AD8, -- _BREAK_OFF_DRAFT_WHEEL
0, -- Vehicle vehicle
0, -- int wheelIndex
0.0 -- float destroyingForce
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xC372B6A88F6E4AD8", // _BREAK_OFF_DRAFT_WHEEL
0, // Vehicle vehicle
0, // int wheelIndex
0.0 // float destroyingForce
);Function.Call((Hash)0xC372B6A88F6E4AD8, // _BREAK_OFF_DRAFT_WHEEL
0, // Vehicle vehicle
0, // int wheelIndex
0.0f // float destroyingForce
);Related VEHICLE natives
- _BREAK_OFF_VEHICLE_WHEEL
- _SET_DRAFT_VEHICLE_ALLOW_DRAFT_ANIMAL_AUTO_CREATION
- _SET_DRAFT_VEHICLE_YOKE_CAN_BREAK
- SET_VEHICLE_WHEELS_CAN_BREAK_OFF_WHEN_BLOW_UP
- _BREAK_LOCKS_ON_VEHICLE
- _BREAK_VEHICLE_STRAPS
- _ATTACH_DRAFT_VEHICLE_HARNESS_PED
- _CREATE_DRAFT_VEHICLE
- _DETACH_DRAFT_VEHICLE_HARNESS_FROM_INDEX
- _DETACH_DRAFT_VEHICLE_HARNESS_PED
- _GET_DRAFT_VEHICLE_DESIRED_SPEED
- _GET_NUM_DRAFT_VEHICLE_HARNESS_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.