Difference between revisions of "CREATE CAR"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: CREATE_CAR(0x3f637729, -542.6256f, 792.2697f, 7.4138f, &L[1132], 1); Model X pos (float) Y pos (float) Z pos (float) Handle (typically a local defined variable) Bool(? - always 1))
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
CREATE_CAR(0x3f637729, -542.6256f, 792.2697f, 7.4138f, &L[1132], 1);
+
{{Native
 
+
|np=7
Model
+
|p1t=integer
 
+
|p1d=car [[List of models hashes#Vehicles|model hash]]
X pos (float)
+
|p2t=float
Y pos (float)
+
|p2d=X pos
Z pos (float)
+
|p3t=float
 
+
|p3d=Y pos
Handle (typically a local defined variable)
+
|p4t=float
 
+
|p4d=Z pos
Bool(? - always 1)
+
|p5t=pointer
 +
|p5d=variable to store car handle
 +
|p6t=boolean
 +
|p6d=unknown (always 1?)
 +
}}

Latest revision as of 22:56, 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