GET OFFSET FROM CAR IN WORLD COORDS

From GTAMods Wiki
Jump to navigation Jump to search
GET_OFFSET_FROM_CAR_IN_WORLD_COORDS
Number of parameters: 7
Parameter #TypeDescription
1.handlecar handle
2.floatoffset X value
3.floatoffset Y value
4.floatoffset Z value
5.floatvariable to store X pos
6.floatvariable to store Y pos
7.floatvariable to store Z pos
Return value:
TypeDescription
None

This function will get the x,y,z coordinates of the car in P1, with the offsets in P2 P3 and P4, and store them to variables.