_SET_TRAIN_STOPS_FOR_STATIONS
Sets whether train stops at stations.
Signature
void _SET_TRAIN_STOPS_FOR_STATIONS(Vehicle train, BOOL toggle); // 0x4182C037AA1F0091 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | train | Vehicle |
| 2 | toggle | BOOL |
Facts
| Name | _SET_TRAIN_STOPS_FOR_STATIONS |
|---|---|
| Hash | 0x4182C037AA1F0091 |
| 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(0x4182C037AA1F0091, -- _SET_TRAIN_STOPS_FOR_STATIONS
0, -- Vehicle train
false -- BOOL toggle
)Citizen.invokeNative("0x4182C037AA1F0091", // _SET_TRAIN_STOPS_FOR_STATIONS
0, // Vehicle train
false // BOOL toggle
);Function.Call((Hash)0x4182C037AA1F0091, // _SET_TRAIN_STOPS_FOR_STATIONS
0, // Vehicle train
false // BOOL toggle
);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_REVERSE_ENABLED
- _SET_TRAIN_TRACK_JUNCTION_SWITCH
- _SET_ALL_VEHICLE_GENERATORS_DISABLED_FOR_VOLUME
- _SET_MISSION_TRAIN_WARP_TO_COORDS
- _SET_VELOCITY_FOR_BALLOON
- _GET_CURRENT_TRACK_FOR_TRAIN
- _GET_JUNCTION_COORDS_FOR_TRAIN_TRACK
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.