[HELP ] Problem with the Race Timer.
#4

Okay, so i think the value of minutes / seconds / ms is false, try this

PHP код:
stock ConvertTime(time)
{
    new 
str[16];
    new 
minutes = (time/ (1_000 60));
    new 
seconds= (time/ (1_000)) % 60;
    new 
ms= (time % (1_000)) / 10;
    
format(str,sizeof(str),"%02d:%02d.%03d",minutes,seconds,ms);
    return 
str;

Reply


Messages In This Thread
[HELP ] Problem with the Race Timer. - by SpikY_ - 10.06.2015, 13:37
Re: [HELP ] Problem with the Race Timer. - by AlexBlack - 10.06.2015, 13:49
Re: [HELP ] Problem with the Race Timer. - by SpikY_ - 10.06.2015, 13:58
Re: [HELP ] Problem with the Race Timer. - by AlexBlack - 10.06.2015, 14:02
Re: [HELP ] Problem with the Race Timer. - by SpikY_ - 10.06.2015, 14:09
Re: [HELP ] Problem with the Race Timer. - by SpikY_ - 10.06.2015, 14:43
Re: [HELP ] Problem with the Race Timer. - by AlexBlack - 10.06.2015, 14:56
Re: [HELP ] Problem with the Race Timer. - by SpikY_ - 10.06.2015, 15:35
Re: [HELP ] Problem with the Race Timer. - by SpikY_ - 10.06.2015, 17:56

Forum Jump:


Users browsing this thread: 2 Guest(s)