CountDown in minutes?
#1

hi,
ive made a countdown in a textdraw counting from 300 seconds (5 mins) down to 0.
Now it counts like 300,299,298.... in seconds but i want to count it down like 5:00,4,59,4,58... in minutes.
How would i do that?

pawn Код:
countdownzone = 300;

public counterzone(playerid)
{
for(new i; i < MAX_PLAYERS; i ++)
{
if(HasEntered[i] == 1 && countdownzone > 0)
{
CDONZone = SetTimer("counterzone",990,false);
new textformat[85];
format(textformat,sizeof textformat,"~g~%d",countdownzone);
TextDrawSetString(MiniCountdown,textformat);
TextDrawShowForPlayer(i,MiniCountdown);
}
}

countdownzone --;

return 1;
}
regards...
Reply


Messages In This Thread
CountDown in minutes? - by BlackWolf120 - 09.02.2011, 15:32
Re: CountDown in minutes? - by Michael@Belgium - 09.02.2011, 15:35
Re: CountDown in minutes? - by BlackWolf120 - 09.02.2011, 16:00
AW: CountDown in minutes? - by Nero_3D - 09.02.2011, 16:24
Re: CountDown in minutes? - by BlackWolf120 - 09.02.2011, 16:30
Re: CountDown in minutes? - by DRIFT_HUNTER - 09.02.2011, 16:58
Re: CountDown in minutes? - by Vince - 09.02.2011, 17:23
Re: CountDown in minutes? - by BlackWolf120 - 09.02.2011, 17:24
Re: CountDown in minutes? - by Michael@Belgium - 09.02.2011, 18:52
AW: Re: CountDown in minutes? - by Nero_3D - 09.02.2011, 19:09

Forum Jump:


Users browsing this thread: 1 Guest(s)