Stop a countdown!!
#7

just lol


pawn Код:
forward counter(playerid);
new countdown = 60;
new CDONSTimer;
new EndTimer;

public counter(playerid)
{

if(countdown > 1)
{
new string[128];
format(string,sizeof(string),"~l~! ~r~Detonating: ~y~%d ~l~!",countdown);
GameTextForAll(string,990,5);
SetTimer("counter",990,0);
countdown --;
forward EndTimer(playerid);
SetTimer("EndTimer", 15000, 0);
return 1;
}
pawn Код:
public EndTimer(playerid)
{
      KillTimer(counter);
      return 1;
}
Reply


Messages In This Thread
Stop a countdown!! - by BlackWolf120 - 29.11.2010, 16:26
Re: Stop a countdown!! - by [MNC]Azz - 29.11.2010, 16:32
Re: Stop a countdown!! - by BlackWolf120 - 29.11.2010, 16:39
Re: Stop a countdown!! - by [MNC]Azz - 29.11.2010, 17:12
Re: Stop a countdown!! - by BlackWolf120 - 30.11.2010, 12:51
Re: Stop a countdown!! - by [MNC]Azz - 30.11.2010, 16:15
Re: Stop a countdown!! - by Mean - 02.12.2010, 12:19
Re: Stop a countdown!! - by BlackWolf120 - 02.12.2010, 14:10
Re: Stop a countdown!! - by BlackWolf120 - 03.12.2010, 11:53
Re: Stop a countdown!! - by BlackWolf120 - 03.12.2010, 13:48
Re: Stop a countdown!! - by BlackWolf120 - 04.12.2010, 16:34
Re: Stop a countdown!! - by BlackWolf120 - 04.12.2010, 20:38
Re: Stop a countdown!! - by PowerPC603 - 04.12.2010, 23:59
Re: Stop a countdown!! - by BlackWolf120 - 05.12.2010, 00:59

Forum Jump:


Users browsing this thread: 1 Guest(s)