KM/MPH Speedo script
#1

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

try this : here.
Reply
#3

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

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

the link not working for me
Reply
#6

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
Reply
#7

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 )
Reply
#8

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.
Reply
#9

Thank you I will see if this will work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)