Difference between revisions of "GET CHAR COORDINATES"

From GTAMods Wiki
Jump to navigation Jump to search
 
(One intermediate revision 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 9: Line 9:
 
|p4t=float
 
|p4t=float
 
|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.
 
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.