Difference between revisions of "CREATE MISSION TRAIN"

From GTAMods Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Parameter1:<br>Integer
+
{{Native
Unknown - may be train type like in SA? (i used 4)
+
|np=6
Parameter2:
+
|p1t=integer
Double
+
|p1d=train type?
X position
+
|p2t=float
Parameter3:
+
|p2d=X position
Double
+
|p3t=float
Y position
+
|p3d=Y position
Parameter4:
+
|p4t=float
Double
+
|p4d=Z position
Z position
+
|p5t=integer
Parameter5:
+
|p5d=Train direction (1 or 0)
Integer
+
|p6t=Pointer
Train direction (1 or 0)
+
|p6d=Variable to store train handle
Parameter6:
+
}}
Pointer
+
{{stub}}
Variable to store train handle
 

Latest revision as of 08:43, 19 March 2009

CREATE_MISSION_TRAIN
Number of parameters: 6
Parameter #TypeDescription
1.integertrain type?
2.floatX position
3.floatY position
4.floatZ position
5.integerTrain direction (1 or 0)
6.PointerVariable to store train handle
Return value:
TypeDescription
None