31.08.2015, 13:43
(
Последний раз редактировалось xVIP3Rx; 01.09.2015 в 13:54.
)
Here's a short function to change seconds to minutes, there are probably much better ones but this does the job for me.
pawn Код:
formattime(seconds)//Thanks to Nero_3D
{
new vstr[8], minutes = seconds / 60;
format(vstr, sizeof(vstr), "%02d:%02d", minutes, seconds - (minutes * 60));
return vstr;
}