_IS_VEHICLE_DOOR_BROKEN
Returns true if door doorId of vehicle is broken.
Signature
BOOL _IS_VEHICLE_DOOR_BROKEN(Vehicle vehicle, int doorId); // 0xE979BB5602AD3402 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | doorId | int |
Facts
| Name | _IS_VEHICLE_DOOR_BROKEN |
|---|---|
| Hash | 0xE979BB5602AD3402 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xE979BB5602AD3402, -- _IS_VEHICLE_DOOR_BROKEN
0, -- Vehicle vehicle
0 -- int doorId
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xE979BB5602AD3402", // _IS_VEHICLE_DOOR_BROKEN
0, // Vehicle vehicle
0, // int doorId
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xE979BB5602AD3402, // _IS_VEHICLE_DOOR_BROKEN
0, // Vehicle vehicle
0 // int doorId
);Related VEHICLE natives
- _IS_VEHICLE_BROUGHT_TO_HALT
- _IS_VEHICLE_FADING_OUT
- _IS_VEHICLE_ON_FIRE
- _IS_VEHICLE_TOUCHING_VEGETATION
- _IS_VEHICLE_WHEEL_DESTROYED
- IS_VEHICLE_DOOR_FULLY_OPEN
- SET_VEHICLE_DOOR_BROKEN
- _IS_PED_EXCLUSIVE_DRIVER_OF_VEHICLE
- _IS_THIS_MODEL_A_DRAFT_VEHICLE
- _GET_VEHICLE_IS_PROP_SET_APPLIED
- _SET_VEHICLE_IS_IN_HURRY
- GET_VEHICLE_DOOR_LOCK_STATUS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.