01.02.2012, 14:45
Hello
I get this error:
In this code:
Please help
Thanks,Nuriel
I get this error:
pawn Код:
error 076: syntax error in the expression, or invalid function call
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;
}
Thanks,Nuriel