Difference between revisions of "CREATE CHAR"

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

Revision as of 10:41, 27 December 2008

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