SA-MP Forums Archive
The back of the vehicle coords - 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: The back of the vehicle coords (/showthread.php?tid=509752)



The back of the vehicle coords - Xenforox - 27.04.2014

Hello guys, so i've been looking for a way to get the coords of the back of a car, i've found many stocks but they all return to check if player behind a car! if someone can help me, i'll +rep him.


Re : The back of the vehicle coords - S4t3K - 28.04.2014

Try to get coordinates of the car, then use floatsub() to substract 1.0 to the x coordinate.

I'm not sure yet.