Stop a countdown!!
#6

Quote:
Originally Posted by BlackWolf120
Посмотреть сообщение
pawn Код:
public counter(playerid)
{

if(countdown > 1)
{
new string[128];
format(string,sizeof(string),"~l~! ~r~Detonating: ~y~%d ~l~!",countdown);
GameTextForAll(string,990,5);
CDONSTimer = SetTimer("counter",990,0);
countdown --;
}
else
{

countdown = 0;
}
return 1;
}

CDONSTimer = SetTimer("counter",990,0); //i defined the timer and later i kill it with...
KillTimer(CDONSTimer); //this so whats wrong???
u might wanna put CDONSTimer = SetTimer("counter",990,0); under if(countdown > 1) like I showed u in my previous reply... coz if not it will start a completely different timer.... than it should work...
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: 6 Guest(s)