Simple Anticheat Check not working
#4

Id rather do it like this:

pawn Code:
public AntiCheat()
{
  for(new i = 0; i < MAX_PLAYERS; i++)
  {
    if(ADMIN[i] == false)
    {
      if(GetPlayerWeapon(i) == 42)
      {
        new string [128];
        new pName[MAX_PLAYER_NAME];
        GetPlayerName(i, pName, sizeof(pName));
        format(string, sizeof(string), "BANNED: %s has been auto banned by console.", pName);
        SendClientMessageToAll(0xFF0000FF, string);
        BanEx(i, "AntiCheat");
      }
      else if(GetPlayerWeapon(i) == 1)
      {
        new string [128];
        new pName[MAX_PLAYER_NAME];
        GetPlayerName(i, pName, sizeof(pName));
        format(string, sizeof(string), "BANNED: %s has been auto banned by console.", pName);
        SendClientMessageToAll(0xFF0000FF, string);
        BanEx(i, "AntiCheat");
      }
    }
  }
  return 1;
}
Reply


Messages In This Thread
Simple Anticheat Check not working - by BP13 - 18.12.2009, 03:01
Re: Simple Anticheat Check not working - by FreshKilla - 18.12.2009, 03:29
Re: Simple Anticheat Check not working - by BP13 - 18.12.2009, 03:35
Re: Simple Anticheat Check not working - by FreshKilla - 18.12.2009, 03:39
Re: Simple Anticheat Check not working - by BP13 - 18.12.2009, 04:01
Re: Simple Anticheat Check not working - by DarkPower - 28.02.2010, 15:09

Forum Jump:


Users browsing this thread: 1 Guest(s)