[FilterScript] Trip-o-Meter - Save vehicle KM!
#10

I would do like this.
Check every minute: KM is per Hour so we divide it on 60. So it would be km/min.
So,
pawn Код:
Metros[vehicleid] += floatround(GetVehicleSpeed(vehicleid)/60);
A better idea, would be to have it as a float, but show on screen as a integer.Then you can check every second, and add speed/ 3600.

Also, noone mentioned, that link doesn't work(haha ppl are only trolling arround )
Reply


Messages In This Thread
Trip-o-Meter - Save vehicle KM! - by The_Moddler - 10.11.2010, 16:46
Re: Trip-o-Meter - Save vehicle KM! - by Flyfishes - 10.11.2010, 16:48
Re: Trip-o-Meter - Save vehicle KM! - by The_Moddler - 10.11.2010, 16:51
Re: Trip-o-Meter - Save vehicle KM! - by kakalakamakapaka - 10.11.2010, 16:56
Re: Trip-o-Meter - Save vehicle KM! - by dark_clown - 10.11.2010, 16:57
Re: Trip-o-Meter - Save vehicle KM! - by Hiddos - 10.11.2010, 17:06
Re: Trip-o-Meter - Save vehicle KM! - by The_Moddler - 10.11.2010, 17:09
Re: Trip-o-Meter - Save vehicle KM! - by Hiddos - 10.11.2010, 17:22
Re: Trip-o-Meter - Save vehicle KM! - by The_Moddler - 10.11.2010, 17:39
Re: Trip-o-Meter - Save vehicle KM! - by wups - 10.11.2010, 17:46

Forum Jump:


Users browsing this thread: 2 Guest(s)