CREATE MISSION TRAIN

From GTAMods Wiki
Revision as of 11:00, 5 May 2025 by X Dukinja (talk | contribs)
Jump to navigation Jump to search
CREATE_MISSION_TRAIN
Number of parameters: 6
Parameter #TypeDescription
1.integertrain type (example: 1 Brown Streak, 3 Frieght
2.floatX position
3.floatY position
4.floatZ position
5.integerTrain direction (boolean value: true1 or false0)
6.PointerVariable to store train handle
Return value:
TypeDescription
NoneCreates a Train at the nearest track at the given coordinates. Direction: Clockwise [bool = 1] or Anti-Clockwise [bool = 0]. Article last edited by X Dukinja on May 5 2025.