[Help] mileage count - 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: [Help] mileage count (
/showthread.php?tid=169696)
[Help] mileage count -
KingstoN* - 20.08.2010
Hello there !
I'm having trouble telling the mileage or the distance a vehicle traveled and save to a. cfg
for when they enter a vehicle you receive a message EG: Km traveled: 148km
Does anyone have any idea how I can get the distance traveled by a vehicle?
Re: [Help] mileage count -
gamer931215 - 20.08.2010
You can try to use an script of an speedometer, and rebuild it (so: speed /60).
Re: [Help] mileage count -
Max_Oconel - 20.08.2010
you can try use the stock, GetPlayerVelocity, and rebuild, but i think, is not u want, wait better awnser!