RedM Natives

_SET_TRAIN_REVERSE_ENABLED

Enables or disables reverse movement for a train.

Hash0x06A09A6E0C6D2A84
Runtime nameSetTrainReverseEnabled
NamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207
Also known as_SET_TRAIN_ENABLE_REVERSING

Signature

void _SET_TRAIN_REVERSE_ENABLED(Vehicle train, BOOL enable);

Parameters

NameTypeDescription
trainVehicle—
enableBOOL—

Returns void

Description

alloc8or RDR3 NativeDB

Enables or disables reverse movement for a train.

VORPCORE RDR3natives

true to enable train reversing moving backwards, false to not allow reversing

Usage

Lua
SetTrainReverseEnabled(train, enable)

-- always works, by hash
Citizen.InvokeNative(0x06A09A6E0C6D2A84, train, enable)
JavaScript and C#
JavaScript
SetTrainReverseEnabled(train, enable);

// by hash
Citizen.invokeNative('0x06A09A6E0C6D2A84', train, enable);
C#
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 InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.