lockDoorsWhenNoLongerNeeded
LOCK_DOORS_WHEN_NO_LONGER_NEEDED0xCFD778E7904C255EThe GTA V native LOCK_DOORS_WHEN_NO_LONGER_NEEDED of the VEHICLE namespace, as LS:MP client scripts call it: the global function lockDoorsWhenNoLongerNeeded, in JavaScript and in Lua.
lockDoorsWhenNoLongerNeeded(vehicle: Vehicle): voidlockDoorsWhenNoLongerNeeded(vehicle: Vehicle)Usage
JavaScript
lockDoorsWhenNoLongerNeeded(vehicle);Lua
lockDoorsWhenNoLongerNeeded(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void LOCK_DOORS_WHEN_NO_LONGER_NEEDED(Vehicle vehicle)- Hash
0xCFD778E7904C255E