07.01.2009, 00:08 
	
	
	Quote:
| 
					Originally Posted by kaisersouse  I searched briefly and didnt find a how to. What would i put in my samp.ban file to ban the entire 89.123 network segment? 89.123.0.1-89.123.255.255 ? | 
Code:
public OnPlayerConnect(playerid)
{
  new IP[20];
  GetPlayerIp(playerid,IP,20);
  if (strfind(IP, "89.123", true) != -1)
  {
   Kick(playerid); // Ban(playerid);...
   return 1;
  }
  return 1;
}


