_SET_TRAIN_REVERSE_ENABLED
Based on its name and signature, here is our best reading:
Enables or disables reversing for train.
Signature
void _SET_TRAIN_REVERSE_ENABLED(Vehicle train, BOOL enable); // 0x06A09A6E0C6D2A84 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | train | Vehicle |
| 2 | enable | BOOL |
Facts
| 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.
Citizen.InvokeNative(0x06A09A6E0C6D2A84, -- _SET_TRAIN_REVERSE_ENABLED
0, -- Vehicle train
false -- BOOL enable
)Citizen.invokeNative("0x06A09A6E0C6D2A84", // _SET_TRAIN_REVERSE_ENABLED
0, // Vehicle train
false // BOOL enable
);Function.Call((Hash)0x06A09A6E0C6D2A84, // _SET_TRAIN_REVERSE_ENABLED
0, // Vehicle train
false // BOOL enable
);Related VEHICLE natives
- _SET_TRAIN_COLLISION_AVOIDANCE_ENABLED
- _SET_TRAIN_DESTRUCTION_ENABLED
- _SET_TRAIN_HALT
- _SET_TRAIN_LEAVE_STATION
- _SET_TRAIN_MAX_SPEED
- _SET_TRAIN_STOPS_FOR_STATIONS
- _SET_TRAIN_TRACK_JUNCTION_SWITCH
- _SET_MISSION_TRAIN_WARP_TO_COORDS
- _SET_RANDOM_TRAINS_WHISTLE_ENABLED
- _GET_TRAIN_MODEL_FROM_TRAIN_CONFIG_BY_CAR_INDEX
- _GET_TRAIN_TRACK_FROM_TRAIN_VEHICLE
- SET_MISSION_TRAIN_AS_NO_LONGER_NEEDED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.