The Lab
VEHICLE native

_SET_TRAIN_REVERSE_ENABLED

returns void2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Enables or disables reversing for train.

Signature

C
void _SET_TRAIN_REVERSE_ENABLED(Vehicle train, BOOL enable); // 0x06A09A6E0C6D2A84 b1207

Parameters

#NameType
1trainVehicle
2enableBOOL

Facts

Facts about _SET_TRAIN_REVERSE_ENABLED
Name
_SET_TRAIN_REVERSE_ENABLED
Hash
0x06A09A6E0C6D2A84
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x06A09A6E0C6D2A84, -- _SET_TRAIN_REVERSE_ENABLED
  0, -- Vehicle train
  false -- BOOL enable
)
JavaScript
Citizen.invokeNative("0x06A09A6E0C6D2A84", // _SET_TRAIN_REVERSE_ENABLED
  0, // Vehicle train
  false // BOOL enable
);
C#
Function.Call((Hash)0x06A09A6E0C6D2A84, // _SET_TRAIN_REVERSE_ENABLED
  0, // Vehicle train
  false // BOOL enable
);
All VEHICLE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.