SET_VEHICLE_DOORS_LOCKED_FOR_ALL_PLAYERS
Hash
0x2381977DA948F8DCRuntime name
SetVehicleDoorsLockedForAllPlayersNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xA2F80B8D040727CCSignature
void SET_VEHICLE_DOORS_LOCKED_FOR_ALL_PLAYERS(Vehicle vehicle, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
toggle | BOOL | — |
Returns void
Usage
SetVehicleDoorsLockedForAllPlayers(vehicle, toggle)
-- always works, by hash
Citizen.InvokeNative(0x2381977DA948F8DC, vehicle, toggle)JavaScript and C#
SetVehicleDoorsLockedForAllPlayers(vehicle, toggle);
// by hash
Citizen.invokeNative('0x2381977DA948F8DC', vehicle, toggle);Function.Call((Hash)0x2381977DA948F8DC, vehicle, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.