GET OBJECT COORDINATES

From GTAModding
Jump to: navigation, 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).