GET OFFSET FROM CAR IN WORLD COORDS

From GTAMods Wiki
Revision as of 01:51, 29 December 2008 by Ceedj (talk | contribs) (New page: {{Native |np=7 |p1t=handle |p1d=car handle |p2t=float |p2d=offset X value |p3t=float |p3d=offset Y value |p4t=float |p4d=offset Z value |p5t=float |p5d=variable to store X pos |p6t=float |...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.