GET_VEHICLE_DOOR_LOCK_STATUS
Returns the door lock status of vehicle.
Signature
int GET_VEHICLE_DOOR_LOCK_STATUS(Vehicle vehicle); // 0xC867FD144F2469D3 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
Facts
| Name | GET_VEHICLE_DOOR_LOCK_STATUS |
|---|---|
| Hash | 0xC867FD144F2469D3 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xC867FD144F2469D3, -- GET_VEHICLE_DOOR_LOCK_STATUS
0, -- Vehicle vehicle
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xC867FD144F2469D3", // GET_VEHICLE_DOOR_LOCK_STATUS
0, // Vehicle vehicle
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xC867FD144F2469D3, // GET_VEHICLE_DOOR_LOCK_STATUS
0 // Vehicle vehicle
);Related VEHICLE natives
- GET_VEHICLE_TRAILER_VEHICLE
- GET_VEHICLE_DOORS_LOCKED_FOR_PLAYER
- GET_VEHICLE_BODY_HEALTH
- GET_VEHICLE_ENGINE_HEALTH
- GET_VEHICLE_ESTIMATED_MAX_SPEED
- GET_VEHICLE_MAX_NUMBER_OF_PASSENGERS
- GET_VEHICLE_MODEL_NUMBER_OF_SEATS
- GET_VEHICLE_NUMBER_OF_PASSENGERS
- GET_VEHICLE_PETROL_TANK_HEALTH
- _GET_BREAKABLE_VEHICLE_LOCK_OBJECT
- _GET_NUM_BREAKABLE_VEHICLE_LOCK_OBJECTS
- GET_CLOSEST_VEHICLE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.