setDisableRandomTrainsThisFrame
SET_DISABLE_RANDOM_TRAINS_THIS_FRAME0xD4B8E3D1917BC86BThe GTA V native SET_DISABLE_RANDOM_TRAINS_THIS_FRAME of the VEHICLE namespace, as LS:MP client scripts call it: the global function setDisableRandomTrainsThisFrame, in JavaScript and in Lua.
setDisableRandomTrainsThisFrame(toggle: boolean): voidsetDisableRandomTrainsThisFrame(toggle: boolean)Usage
JavaScript
setDisableRandomTrainsThisFrame(toggle);Lua
setDisableRandomTrainsThisFrame(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_DISABLE_RANDOM_TRAINS_THIS_FRAME(BOOL toggle)- Hash
0xD4B8E3D1917BC86B- Formerly
_SET_SOMETHING_MULTIPLIER_THIS_FRAME