Difference between revisions of "CREATE CAR"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
CREATE_CAR(0x3f637729, -542.6256f, 792.2697f, 7.4138f, &L[1132], 1);
+
{{Native
 
+
|np=7
Number of Parameters: 6
+
|p1t=integer
 
+
|p1d=car model hash
Parameter 1: Model
+
|p2t=float
 
+
|p2d=X pos
Parameter 2: X pos (float)
+
|p3t=float
 
+
|p3d=Y pos
Parameter 3: Y pos (float)
+
|p4t=float
 
+
|p4d=Z pos
Parameter 4: Z pos (float)
+
|p5t=pointer
 
+
|p5d=variable to store car handle
Parameter 5: Handle (typically a local defined variable)
+
|p6t=boolean
 
+
|p6d=unknown (always 1?)
Parameter 6: Bool(? - always 1)
+
}}

Revision as of 10:55, 27 December 2008

CREATE_CAR
Number of parameters: 7
Parameter #TypeDescription
1.integercar model hash
2.floatX pos
3.floatY pos
4.floatZ pos
5.pointervariable to store car handle
6.booleanunknown (always 1?)
Return value:
TypeDescription
None