Autoban Bot - help
#1

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.

pawn Код:
public OnPlayerConnect(playerid)
}
    if(IsPlayerNPC(playerid))
    {
          Ban(playerid);
    SendClientMessage(playerid, 0xFFFF00AA, "Banned by [BOT]Security Guard! [REASON: Bot Attack]
    return 1;
}
Here are the errors:
Код:
 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
the line-error number 287 :i the last } after return 1;

and the line-error number 282 is : if(IsPlayerNPC(playerid))
Reply


Messages In This Thread
Autoban Bot - help - by Kudoz - 27.02.2012, 13:06
Re: Autoban Bot - help - by Madd Kat - 27.02.2012, 13:24
Re: Autoban Bot - help - by CyNiC - 27.02.2012, 13:24
Re: Autoban Bot - help - by Madd Kat - 27.02.2012, 13:26
Re: Autoban Bot - help - by sampreader - 27.02.2012, 13:27
Re: Autoban Bot - help - by Twisted_Insane - 27.02.2012, 13:28
Re: Autoban Bot - help - by Konstantinos - 27.02.2012, 15:59
Re: Autoban Bot - help - by Kudoz - 18.03.2012, 22:30

Forum Jump:


Users browsing this thread: 7 Guest(s)