10.06.2015, 14:02
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;
}