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