14.04.2012, 01:50
try using anti bot script
http://pastebin.com/UXznpXwx
or make below script if you don't have any npc's
http://pastebin.com/UXznpXwx
or make below script if you don't have any npc's
pawn Код:
public OnPlayerConnect(playerid)
{
if(IsPlayerNPC(playerid)) {
new server_IP[16];
format(server_IP, 16, "127.0.0.1");
if(strcmp(ConnIP,server_IP,true) != 0) {
Ban(playerid); // Ban is the safest thing here, as if you kick, they can still flood you with endless connections
return 0;
}
}
return 1;
}