Needing script for IP exceptions over a Rangeban
#2

pawn Code:
public OnPlayerConnect(playerid)
{
  new ip[16];
  GetPlayerIp(playerid,ip,16);
  if(!strcmp(ip,"192.196.",false,8))
  {
    if(strcmp(ip[8],"0.100",false,5))
    if(strcmp(ip[8],"0.101",false,5))
    if(strcmp(ip[8],"0.102",false,5))
    Kick(playerid);
  }
}
Atleast I think so anyway.
Reply


Messages In This Thread
Needing script for IP exceptions over a Rangeban - by gviperc - 01.05.2010, 08:31
Re: Needing script for IP exceptions over a Rangeban - by Joe Staff - 01.05.2010, 08:43

Forum Jump:


Users browsing this thread: 2 Guest(s)