04.02.2012, 17:17
Detail is that the player is probably connected because the players have already reached a record 4000, and the server has only 300 slots from 150+ players. SAMP limit is 800.
New code:
New code:
Код:
public OnPlayerConnect(playerid)
{
if(CountIP(PlayerIP(playerid)) >= 5)
{
BanEx(playerid, "Bot");
format(str, sizeof str, "banip %s", PlayerIP(playerid));
SendRconCommand(str);
}
return 1;
}

