03.01.2015, 09:12
Hi guys, I need to convert the time from minutes to hours.. For example: 68min --> 1 h. 8 min.
I have this one:
How to change?
I have this one:
pawn Код:
TimeConvert(seconds)
{
new tmp[16];
new minutes = floatround(seconds/60);
seconds -= minutes*60;
format(tmp, sizeof(tmp), "%d:%02d", minutes, seconds);
return tmp;
}