SA-MP Forums Archive
KM/MPH Speedo script - 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: KM/MPH Speedo script (/showthread.php?tid=479767)



KM/MPH Speedo script - madog357 - 07.12.2013

KM/MPH Speedo i know it would be something like the fuel system but it would have to stop when the car not moving


Re: KM/MPH Speedo script - Jankingston - 07.12.2013

try this : here.


Re: KM/MPH Speedo script - madog357 - 08.12.2013

No I am talking about KM/MPH like the distance you have driven.


Re: KM/MPH Speedo script - DanishHaq - 08.12.2013

This could be what you're looking for: http://******************/post/11169.../other/include.


Re: KM/MPH Speedo script - madog357 - 11.12.2013

the link not working for me


Re: KM/MPH Speedo script - Astralis - 11.12.2013

Quote:
Originally Posted by madog357
Посмотреть сообщение
KM/MPH Speedo i know it would be something like the fuel system but it would have to stop when the car not moving
There are many speedometers already which do that function. You can find some by searching - http://lmgtfy.com/?q=samp+speedometer+fs


Re: KM/MPH Speedo script - madog357 - 11.12.2013

I am not looking for one to tell me how fast I am going I am looking for one to tell me how many km I just drove (like if I was to drive from my house to the mall its 7 KMs there )


Re: KM/MPH Speedo script - Pottus - 11.12.2013

He wants a odometer in other words, so what you need to do is get the players position each second and find that distance from the last check then add it to a total distance value. To be accurate you will also require the timerfix include and read through this thread https://sampforum.blast.hk/showthread.php?tid=364124&page=3 yes ignore the original post it is non-sense.


Re: KM/MPH Speedo script - madog357 - 15.12.2013

Thank you I will see if this will work