VehicleClient

lockDoorsWhenNoLongerNeeded

LOCK_DOORS_WHEN_NO_LONGER_NEEDED0xCFD778E7904C255E

The 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.

SignatureJavaScript
lockDoorsWhenNoLongerNeeded(vehicle: Vehicle): void
SignatureLua
lockDoorsWhenNoLongerNeeded(vehicle: Vehicle)

Usage

JavaScript
lockDoorsWhenNoLongerNeeded(vehicle);
Lua
lockDoorsWhenNoLongerNeeded(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

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

Open in the interactive natives reference