VehicleClient

networkEnableEmptyCrowdingVehiclesRemoval

NETWORK_ENABLE_EMPTY_CROWDING_VEHICLES_REMOVAL0x51DB102F4A3BA5E0

The GTA V native NETWORK_ENABLE_EMPTY_CROWDING_VEHICLES_REMOVAL of the VEHICLE namespace, as LS:MP client scripts call it: the global function networkEnableEmptyCrowdingVehiclesRemoval, in JavaScript and in Lua.

SignatureJavaScript
networkEnableEmptyCrowdingVehiclesRemoval(toggle: boolean): void
SignatureLua
networkEnableEmptyCrowdingVehiclesRemoval(toggle: boolean)

Usage

JavaScript
networkEnableEmptyCrowdingVehiclesRemoval(toggle);
Lua
networkEnableEmptyCrowdingVehiclesRemoval(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void NETWORK_ENABLE_EMPTY_CROWDING_VEHICLES_REMOVAL(BOOL toggle)
Hash
0x51DB102F4A3BA5E0

Open in the interactive natives reference