10.11.2010, 17:46
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,
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 )
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);
Also, noone mentioned, that link doesn't work(haha ppl are only trolling arround )