_SET_TRAIN_REVERSE_ENABLED
Enables or disables reverse movement for a train.
Hash
0x06A09A6E0C6D2A84Runtime name
SetTrainReverseEnabledNamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207
Also known as
_SET_TRAIN_ENABLE_REVERSINGSignature
void _SET_TRAIN_REVERSE_ENABLED(Vehicle train, BOOL enable);Parameters
| Name | Type | Description |
|---|---|---|
train | Vehicle | — |
enable | BOOL | — |
Returns void
Description
Enables or disables reverse movement for a train.
true to enable train reversing moving backwards, false to not allow reversing
Usage
SetTrainReverseEnabled(train, enable)
-- always works, by hash
Citizen.InvokeNative(0x06A09A6E0C6D2A84, train, enable)JavaScript and C#
SetTrainReverseEnabled(train, enable);
// by hash
Citizen.invokeNative('0x06A09A6E0C6D2A84', train, enable);Function.Call((Hash)0x06A09A6E0C6D2A84, train, enable);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.