Difference between revisions of "GET CHAR COORDINATES"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |np=4 |p1t=integer |p1d=character |p2t=float |p2d=variable to store X pos |p3t=float |p3d=variable to store Y pos |p4t=float |p4d=variable to store Z pos }})
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Native
 
{{Native
 
|np=4
 
|np=4
|p1t=integer
+
|p1t=handle
|p1d=character
+
|p1d=char handle
 
|p2t=float
 
|p2t=float
 
|p2d=variable to store X pos
 
|p2d=variable to store X pos
Line 10: Line 10:
 
|p4d=variable to store Z pos
 
|p4d=variable to store Z pos
 
}}
 
}}
 +
This function will get the x,y,z coordinates of the character in P1, and store them to variables.

Latest revision as of 09:15, 28 December 2008

GET_CHAR_COORDINATES
Number of parameters: 4
Parameter #TypeDescription
1.handlechar handle
2.floatvariable to store X pos
3.floatvariable to store Y pos
4.floatvariable to store Z pos
Return value:
TypeDescription
None

This function will get the x,y,z coordinates of the character in P1, and store them to variables.