PDA

View Full Version : How to get the car x y z?


Ehab1911
09/10/2011, 10:21 PM
Hey, I want to attach an object to the car, how can I get the exact places to the car? Example ( The middle of the car ) etc... How can I do that?

Thank you.

Josma_cmd
09/10/2011, 10:23 PM
Use the Hold Studio. http://forum.sa-mp.com/showthread.php?t=182317

Vince
09/10/2011, 11:09 PM
I'm pretty sure that doesn't work with vehicles. Anyway, assume that your point of view is behind the vehicle. The exact middle of the car is 0.0, 0.0, 0.0 (obviously). Left and right is the X axis. Forward and backward is the Y axis. Up and down is the Z axis.