17.08.2011, 05:18
As the others above have said, somewhere above that code you may be missing a } somewhere.
This can be found easily by commenting out (see below for example) sections of code, in this case, other commands, until you don't get errors.
Example of commenting out code
This can be found easily by commenting out (see below for example) sections of code, in this case, other commands, until you don't get errors.
Example of commenting out code
pawn Код:
print("Hello world!");
//print("This will not be said!");
public OnPlayerCommandText(playerid,cmdtext[]){
if(!strcmp(cmdtext,"/Rawr",true)){
SendClientMessage(playerid,0xFF0000FF,"You typed /Rawr!");
return 1;
}/*
if(!strcmp(cmdtext,"/Nope",true)){
SendClientMessage(playerid,0xFF0000FF,"This command will not work!");
return 1;
}*/
return 0;
}