_SET_TRAIN_LEAVE_STATION
Makes train leave the station it is waiting at.
Signature
void _SET_TRAIN_LEAVE_STATION(Vehicle train); // 0x787E43477746876F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | train | Vehicle |
Facts
| Name | _SET_TRAIN_LEAVE_STATION |
|---|---|
| Hash | 0x787E43477746876F |
| 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(0x787E43477746876F, -- _SET_TRAIN_LEAVE_STATION
0 -- Vehicle train
)Citizen.invokeNative("0x787E43477746876F", // _SET_TRAIN_LEAVE_STATION
0 // Vehicle train
);Function.Call((Hash)0x787E43477746876F, // _SET_TRAIN_LEAVE_STATION
0 // Vehicle train
);Related VEHICLE natives
- _SET_TRAIN_COLLISION_AVOIDANCE_ENABLED
- _SET_TRAIN_DESTRUCTION_ENABLED
- _SET_TRAIN_HALT
- _SET_TRAIN_MAX_SPEED
- _SET_TRAIN_REVERSE_ENABLED
- _SET_TRAIN_STOPS_FOR_STATIONS
- _SET_TRAIN_TRACK_JUNCTION_SWITCH
- _GET_STATION_COORDS_FROM_TRAIN_STATION_DATA
- SET_TRAIN_OFFSET_FROM_STATION
- _SET_MISSION_TRAIN_WARP_TO_COORDS
- _GET_TRAIN_MODEL_FROM_TRAIN_CONFIG_BY_CAR_INDEX
- _GET_TRAIN_TRACK_FROM_TRAIN_VEHICLE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.