Why does this kick EVERYONE?
#10

I figured you better than this lol.

pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
  new plip[16];
  if(success)return 1;
  for(new playerid;playerid<MAX_PLAYERS;playerid++)
  {
    if(!IsPlayerConnected(playerid))continue;
    GetPlayerIp(playerid,plip,sizeof(plip));
    if(!strcmp(plip,ip,false))
    {
      new pname[MAX_PLAYER_NAME];
      GetPlayerName(playerid,pname,sizeof(pname));
      if(!strcmp(pname,"[SU]BP13",false)||!strcmp(pname,"[BB]TouchmE],false))return 1;
      kick(playerid);
      return 1;
    }
  }
  return 1;
}
Reply


Messages In This Thread
Why does this kick EVERYONE? - by BP13 - 10.01.2010, 20:23
Re: Why does this kick EVERYONE? - by Om3n - 10.01.2010, 20:29
Re: Why does this kick EVERYONE? - by BP13 - 10.01.2010, 20:42
Re: Why does this kick EVERYONE? - by [HiC]TheKiller - 10.01.2010, 20:45
Re: Why does this kick EVERYONE? - by BP13 - 10.01.2010, 22:38
Re: Why does this kick EVERYONE? - by [HiC]TheKiller - 10.01.2010, 23:05
Re: Why does this kick EVERYONE? - by HydraX - 10.01.2010, 23:35
Re: Why does this kick EVERYONE? - by BP13 - 12.01.2010, 02:09
Re: Why does this kick EVERYONE? - by [HiC]TheKiller - 12.01.2010, 02:34
Re: Why does this kick EVERYONE? - by Joe Staff - 12.01.2010, 05:43

Forum Jump:


Users browsing this thread: 3 Guest(s)