VehicleClient

allowTrainToBeRemovedByPopulation

ALLOW_TRAIN_TO_BE_REMOVED_BY_POPULATION0x2310A8F9421EBF43

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

SignatureJavaScript
allowTrainToBeRemovedByPopulation(p0: any): void
SignatureLua
allowTrainToBeRemovedByPopulation(p0: any)

Usage

JavaScript
allowTrainToBeRemovedByPopulation(p0);
Lua
allowTrainToBeRemovedByPopulation(p0)

Parameters

ParameterTypeJavaScriptLua
p0Anyanyany

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void ALLOW_TRAIN_TO_BE_REMOVED_BY_POPULATION(Any p0)
Hash
0x2310A8F9421EBF43
Introduced
Game build 2372 legacy numbering

Open in the interactive natives reference