The Lab
VEHICLE native

_SET_TRAIN_LEAVE_STATION

returns void1 parambuild 1207

Makes train leave the station it is waiting at.

Signature

C
void _SET_TRAIN_LEAVE_STATION(Vehicle train); // 0x787E43477746876F b1207

Parameters

#NameType
1trainVehicle

Facts

Facts about _SET_TRAIN_LEAVE_STATION
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.

Lua
Citizen.InvokeNative(0x787E43477746876F, -- _SET_TRAIN_LEAVE_STATION
  0 -- Vehicle train
)
JavaScript
Citizen.invokeNative("0x787E43477746876F", // _SET_TRAIN_LEAVE_STATION
  0 // Vehicle train
);
C#
Function.Call((Hash)0x787E43477746876F, // _SET_TRAIN_LEAVE_STATION
  0 // Vehicle train
);
All VEHICLE natives

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