Problem with textdraw countdown
#11

Errrrrrrrrrr........... Like this ?

pawn Код:
new
     seconds = 60
;

forward CountDown(playerid);
public CountDown(playerid)
{
    seconds--;
    new string[178];
    format(string,sizeof(string),"Stay in the turf %d for take over it!",seconds);
    TextDrawSetString(CountDownTD,string);

   if(seconds == 0)
   {
     TextDrawHideForPlayer(playerid, CountDownTD);
     KillTimer( countTimer[ playerid ] );
     seconds = 60;
   }
   return 1;
}

new
     countTimer[ MAX_PLAYERS ]
;

countTimer[ playerid ] = SetTimerEx("CountDown", 1000, true, "i", playerid);
Reply


Messages In This Thread
Problem with textdraw countdown - by Face9000 - 05.06.2011, 20:19
Re: Problem with textdraw countdown - by Mean - 05.06.2011, 20:21
Re: Problem with textdraw countdown - by Face9000 - 05.06.2011, 20:38
Re: Problem with textdraw countdown - by Face9000 - 06.06.2011, 09:05
Re: Problem with textdraw countdown - by Mean - 06.06.2011, 09:45
Re: Problem with textdraw countdown - by Face9000 - 06.06.2011, 10:19
AW: Problem with textdraw countdown - by Nero_3D - 06.06.2011, 10:52
Re: Problem with textdraw countdown - by Face9000 - 06.06.2011, 11:11
AW: Problem with textdraw countdown - by Nero_3D - 06.06.2011, 11:26
Re: Problem with textdraw countdown - by Face9000 - 06.06.2011, 12:13
Re: Problem with textdraw countdown - by Basicz - 06.06.2011, 12:29
Re: Problem with textdraw countdown - by Face9000 - 06.06.2011, 15:06

Forum Jump:


Users browsing this thread: 6 Guest(s)