Can you create vehicle mileage? - 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: Can you create vehicle mileage? (
/showthread.php?tid=391577)
Can you create vehicle mileage? -
MatZZPL - 10.11.2012
Hi everyone, is there anyone of creating the car mileage? I'm pretty sure you car create it any ideas? Examples?
I'm creating a proper car car ownage system based on dialogs and /carshop not silly entering vehicles and clicking buy
![Smiley](images/smilies/smile.png)
If i manage to finish it i might release it and any decent help would be a credit in the script
Re: Can you create vehicle mileage? -
Vince - 10.11.2012
Distance = Speed x Time. Keep in mind that San Andreas uses the metric system. If you update the speed every second then your unit will be meters per second.
Re: Can you create vehicle mileage? -
MatZZPL - 10.11.2012
I'll see what i can think of, but not looking easy for me atm so i might do it later on, thanks Vince