SA-MP Forums Archive
How can I create a Speedometer with OnPlayerUpdate ? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How can I create a Speedometer with OnPlayerUpdate ? (/showthread.php?tid=65719)



How can I create a Speedometer with OnPlayerUpdate ? - Littl3j0hNy - 15.02.2009

Hi Guys,
How can i create a Speedometer with OnPlayerUpdate ??

Thanks for any help !

Regards,
- LJ



Re: How can I create a Speedometer with OnPlayerUpdate ? - Backwardsman97 - 15.02.2009

Find or make a GetPlayerSpeed function. Then, just update whatever textdraw with their current speed. Seems simple enough?


Re: How can I create a Speedometer with OnPlayerUpdate ? - kc - 15.02.2009

OnPlayerUpdate doesn't have a regular call time, afaik

If I am correct, then making an accurate speedo in OnPlayerUpdate would be complicated.


Re: How can I create a Speedometer with OnPlayerUpdate ? - Littl3j0hNy - 15.02.2009

Quote:
Originally Posted by backwardsman97
Find or make a GetPlayerSpeed function. Then, just update whatever textdraw with their current speed. Seems simple enough?
Okay Thanks, i will try it

- LJ