_BREAK_OFF_VEHICLE_WHEEL
Breaks wheel wheelIndex off vehicle and returns the detached wheel entity.
Signature
Entity _BREAK_OFF_VEHICLE_WHEEL(Vehicle vehicle, int wheelIndex); // 0xD4F5EFB55769D272 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | wheelIndex | int |
Facts
| Name | _BREAK_OFF_VEHICLE_WHEEL |
|---|---|
| Hash | 0xD4F5EFB55769D272 |
| Namespace | |
| Returns | Entity |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local entity = Citizen.InvokeNative(0xD4F5EFB55769D272, -- _BREAK_OFF_VEHICLE_WHEEL
0, -- Vehicle vehicle
0, -- int wheelIndex
Citizen.ResultAsInteger()
)
print(entity)const entity = Citizen.invokeNative("0xD4F5EFB55769D272", // _BREAK_OFF_VEHICLE_WHEEL
0, // Vehicle vehicle
0, // int wheelIndex
Citizen.resultAsInteger()
);
console.log(entity)int entity = Function.Call<int>((Hash)0xD4F5EFB55769D272, // _BREAK_OFF_VEHICLE_WHEEL
0, // Vehicle vehicle
0 // int wheelIndex
);Related VEHICLE natives
- _BREAK_OFF_DRAFT_WHEEL
- SET_VEHICLE_WHEELS_CAN_BREAK_OFF_WHEN_BLOW_UP
- _BREAK_LOCKS_ON_VEHICLE
- _BREAK_VEHICLE_STRAPS
- _IS_VEHICLE_WHEEL_DESTROYED
- _SET_DRAFT_VEHICLE_YOKE_CAN_BREAK
- GET_VEHICLE_TRAILER_VEHICLE
- SET_VEHICLE_CAN_BREAK
- SET_VEHICLE_WHEELS_CAN_BREAK
- _ARE_ANY_VEHICLE_WHEELS_DESTROYED
- _ATTACH_DRAFT_VEHICLE_HARNESS_PED
- _CREATE_DRAFT_VEHICLE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.