Difference between revisions of "CREATE CHAR"

From GTAMods Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
CREATE_CHAR(26, 0xd55caac, -247.282f, 951.638f, 2.7161f, &L[1123], 1);
+
{{Native
 
+
|np=7
PedType
+
|p1t=integer
 
+
|p1d=[[pedtype]]
Model
+
|p2t=integer
 
+
|p2d=ped [[List of models hashes#Peds|model hash]]
X pos (float)
+
|p3t=float
Y pos (float)
+
|p3d=X pos
Z pos (float)
+
|p4t=float
 
+
|p4d=Y pos
Handle (typically a local defined variable)
+
|p5t=float
 
+
|p5d=Z pos
Bool(? - always 1)
+
|p6t=pointer
 +
|p6d=variable to store ped handle
 +
|p7t=boolean
 +
|p7d=unknown (always 1?)
 +
}}

Latest revision as of 09:08, 11 January 2009

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