17.01.2014, 22:40
I tested your code here and it seem to give the correct output try it yourself.
http://slice-vps.nl:7070/
http://slice-vps.nl:7070/
pawn Код:
#include <a_samp>
main() {
new gseconds;
new gminutes;
new time = 90;
while(time)
{
gseconds = time % 60;
gminutes = (time - gseconds) / 60;
new string[128];
format(string, sizeof string, "%d:%02d", gminutes, gseconds);
printf(string);
time--;
}
return 1;
}