22.04.2012, 00:07
pawn Код:
stock Countdown(&hours, &minutes, &seconds, countdown)
{
new count = countdown - gettime();
while(count > 3600)
{
hours ++;
count = count - 3600;
}
while(count > 60)
{
minutes ++;
count = count - 60;
}
seconds = count;
retrun 1;
}