getall
#4

Quote:
Originally Posted by danish007
View Post
Show your CountDown public Func...
Code:
forward CountDown();
public CountDown()
{
     CountDownVar--;
     new str[128];

     format(str, sizeof(str), "~y~%d", CountDownVar);
     GameTextForAll(str, 1500, 3);
     SoundForAll(1056);

	 if(CountDownVar == 0)
	 {
        KillTimer(CountDownTimer);
        SoundForAll(1057);
        GameTextForAll("~g~~h~~h~GO!", 2000, 3);
        CountDownVar = 0;
        for (new i = 0; i<MAX_PLAYERS; i++)
    	{
    	    if(IsAod[i] == 1) continue;
        	if(IsPlayerConnected(i))
        	{
        	TogglePlayerControllable(i, true);
			}
		}
	 }

     return 1;
}
Reply


Messages In This Thread
Help fast!! - by aCloudy - 08.01.2015, 13:47
Re: getall - by aCloudy - 08.01.2015, 13:58
Re: getall - by danish007 - 08.01.2015, 14:05
Re: getall - by aCloudy - 08.01.2015, 14:24
Re: getall - by aCloudy - 08.01.2015, 14:39

Forum Jump:


Users browsing this thread: 1 Guest(s)