27.02.2012, 13:06
Okay, so I got this little script by a guy named Universal. *He commented*
Anywayz, I need help. I et 2 errors when compiling this into my GM.
Here are the errors:
the line-error number 287 :i the last } after return 1;
and the line-error number 282 is : if(IsPlayerNPC(playerid))
Anywayz, I need help. I et 2 errors when compiling this into my GM.
pawn Код:
public OnPlayerConnect(playerid)
}
if(IsPlayerNPC(playerid))
{
Ban(playerid);
SendClientMessage(playerid, 0xFFFF00AA, "Banned by [BOT]Security Guard! [REASON: Bot Attack]
return 1;
}
Код:
C:\Users\Siv malene\Desktop\RDCgamemode.pwn(282) : error 010: invalid function or declaration C:\Users\Siv malene\Desktop\RDCgamemode.pwn(286) : error 010: invalid function or declaration
and the line-error number 282 is : if(IsPlayerNPC(playerid))