Quote:
Originally Posted by BleverCastard
They're going to be using bots to connect if it's that quick.
PHP Code:
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;
}
Credit: Roperr.
|
Doesn't work for this attack.