Timer help?
#5

How about gettime() ? It returns timestamp in seconds. Save that, when race starts. Then when race ends get time stamp again and subtract the one you saved from it.
pawn Код:
new curTime = gettime();
new timeTaken = gettime() - curTime;
All you have to do now is convert that timeTaken from seconds to format you need (probably Minutes:Seconds)
Reply


Messages In This Thread
Timer help? - by Kruno88 - 13.04.2017, 23:31
Re: Timer help? - by GangstaSunny. - 14.04.2017, 00:11
Re: Timer help? - by Kruno88 - 14.04.2017, 00:13
Re: Timer help? - by GangstaSunny. - 14.04.2017, 00:18
Re: Timer help? - by DRIFT_HUNTER - 14.04.2017, 01:32
Re: Timer help? - by GangstaSunny. - 14.04.2017, 08:20
Re: Timer help? - by Kruno88 - 14.04.2017, 11:38
Re: Timer help? - by LEOTorres - 14.04.2017, 12:35
Re: Timer help? - by GangstaSunny. - 14.04.2017, 12:49

Forum Jump:


Users browsing this thread: 2 Guest(s)