SA-MP Forums Archive
GetVehiclePos - 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: GetVehiclePos (/showthread.php?tid=619914)



GetVehiclePos - MerryDeer - 23.10.2016

Hi,

GetVehiclePos return old pos, when player with other vehicle push vehicle, than pushed vehicle position getting old, how to fix that?


Re: GetVehiclePos - Kaliber - 23.10.2016

You could check the drivers position..

or you can use the callback: https://sampwiki.blast.hk/wiki/OnUnoccupiedVehicleUpdate