Difference between revisions of "CREATE MISSION TRAIN"

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