Count-down [+rep]
#5

Quote:
Originally Posted by Cjgogo
Посмотреть сообщение
Try this:
pawn Код:
new countn,counttimer;
forward BOOM(playerid);
COMMAND:test(playerid,params[])
{
   countn=3;
   counttimer=SetTimerEx("BOOM",1000,true,"i",playerid);
}
public BOOM(playerid)
{
   countn--;
   new string[128];
   format(string,sizeof(string),"%d",countn);
   GameTextForPlayer(playerid,string,3000,4);
   if(count<=-1)
   {
     KillTimer(counttimer);
     GameTextForPlayer(playerid,"BOOM",1500,4);
   }
 return 1;
}
replace your whole code with what I gave you
thx u <3 +1 rep
Reply


Messages In This Thread
Count-down [+rep] - by Steezy_ - 09.04.2012, 09:26
Re: Count-down [+rep] - by Phyrunx - 09.04.2012, 09:29
Re: Count-down [+rep] - by Steezy_ - 09.04.2012, 09:31
Re: Count-down [+rep] - by Cjgogo - 09.04.2012, 09:32
Re: Count-down [+rep] - by Steezy_ - 09.04.2012, 09:35

Forum Jump:


Users browsing this thread: 1 Guest(s)