GetVehicleVelocity bug - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (
https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: GetVehicleVelocity bug (
/showthread.php?tid=582633)
GetVehicleVelocity bug -
liquor - 22.07.2015
I discovered just now, that
GetVehicleVelocity returns, if vehicle is unoccupied,
the last recorded velocity
before a player exits the vehicle.
I jumped out of a moving car and discovered that the speed (due to a bug in my script) speed was still showing, and it showed the speed when i jumped out. So i intentionally made a script to retrieve speed continously and tried again, and it does it every time.
If i get in the car again and get out, the speed is 0mph/kmh w/e.
Edit: Doesn't bother me at all, and Dev might already be aware of it, but i can imagine it's a simple fix for the next planned update