How to get the car x y z? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to get the car x y z? (
/showthread.php?tid=289048)
How to get the car x y z? -
Ehab1911 - 09.10.2011
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.
Re: How to get the car x y z? -
Josma_cmd - 09.10.2011
Use the Hold Studio.
https://sampforum.blast.hk/showthread.php?tid=182317
Re: How to get the car x y z? -
Vince - 09.10.2011
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.