Error
#1

Hello
I get this error:
pawn Код:
error 076: syntax error in the expression, or invalid function call
In this code:
pawn Код:
forward CountDown();
public CountDown() {
     CountDownVar--;
     new str[128];
     if(CountDownVar == 0) {
        for(new i=0;i<75;i++) {
            GameTextForAll("~g~Go!",1500,6);
            TogglePlayerControllable(i,1);
            KillTimer(CountDown); } } //Line of error
     else {
        format(str, sizeof(str), "~r~%d",CountDownVar);
        GameTextForAll(str,1001,6); }
        PlayerPlaySoundToAll(1056);
     return 1;
}
Please help
Thanks,Nuriel
Reply


Messages In This Thread
Error - by nuriel8833 - 01.02.2012, 14:45
Re: Error - by [Diablo] - 01.02.2012, 15:39
Re: Error - by nuriel8833 - 01.02.2012, 17:19
Re: Error - by T0pAz - 01.02.2012, 17:22
Re: Error - by nuriel8833 - 01.02.2012, 17:40

Forum Jump:


Users browsing this thread: 1 Guest(s)