GET OBJECT COORDINATES

From GTAMods Wiki
Revision as of 20:17, 25 March 2015 by FL1K3R (talk | contribs) (Created page with "{{Native |np=4 |p1t=handle |p1d=object handle |p2t=float |p2d=variable to store X pos |p3t=float |p3d=variable to store Y pos |p4t=float |p4d=variable to store Z pos }} This f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GET_OBJECT_COORDINATES
Number of parameters: 4
Parameter #TypeDescription
1.handleobject 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 object in Parameter 1, and store them to variables (p2,p3,p4).