LOCK_DOORS_WHEN_NO_LONGER_NEEDED
Makes the doors of vehicle lock once the script no longer needs it.
Signature
void LOCK_DOORS_WHEN_NO_LONGER_NEEDED(Vehicle vehicle); // 0x1EF36558FBDE2DAA b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
Facts
| Name | LOCK_DOORS_WHEN_NO_LONGER_NEEDED |
|---|---|
| Hash | 0x1EF36558FBDE2DAA |
| 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(0x1EF36558FBDE2DAA, -- LOCK_DOORS_WHEN_NO_LONGER_NEEDED
0 -- Vehicle vehicle
)Citizen.invokeNative("0x1EF36558FBDE2DAA", // LOCK_DOORS_WHEN_NO_LONGER_NEEDED
0 // Vehicle vehicle
);Function.Call((Hash)0x1EF36558FBDE2DAA, // LOCK_DOORS_WHEN_NO_LONGER_NEEDED
0 // Vehicle vehicle
);Related VEHICLE natives
- SET_MISSION_TRAIN_AS_NO_LONGER_NEEDED
- _GET_BREAKABLE_VEHICLE_LOCK_OBJECT
- _GET_NUM_BREAKABLE_VEHICLE_LOCK_OBJECTS
- _GET_VEHICLE_DOORS_LOCKED_FOR_TEAM
- GET_VEHICLE_DOOR_LOCK_STATUS
- GET_VEHICLE_DOORS_LOCKED_FOR_PLAYER
- SET_BOAT_SINKS_WHEN_WRECKED
- SET_VEHICLE_ALLOW_NO_PASSENGERS_LOCKON
- SET_VEHICLE_DOORS_LOCKED
- SET_VEHICLE_DOORS_LOCKED_FOR_ALL_PLAYERS
- SET_VEHICLE_DOORS_LOCKED_FOR_PLAYER
- SET_VEHICLE_DOORS_LOCKED_FOR_TEAM
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.