14.04.2017, 01:32
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.
All you have to do now is convert that timeTaken from seconds to format you need (probably Minutes:Seconds)
pawn Код:
new curTime = gettime();
new timeTaken = gettime() - curTime;