anti cheat not working,
#1

When someone used a minigun and rocket launcher he didn't got banned ;(
Anyone knows the reason?
pawn Код:
public AntiHackCheat()
{
    new string[128];
    for (new i = 0; i < MAX_PLAYERS; i++)
    {
            switch(GetPlayerWeapon(i))
            {
                case 9, 17, 36, 37, 38, 39, 40, 42, 44, 45, 47:
                {
                  new killer[MAX_PLAYER_NAME];
                  GetPlayerName(i, killer, sizeof(killer));
                    if(GetPlayerWeapon(i) == 18)
                    {
                        format(string, sizeof(string), "[ANTI-CHEAT] %s was banned, Reason: [WEAPON HACKING]", killer);
                    }
                  else
                  {
                    format(string, sizeof(string), "[ANTI-CHEAT]: %s was banned, Reason: [WEAPON HACKING]", killer);
                  }
                  SendClientMessageToAll(GAME_ENGINE, string);
                  printf("[ANTI-CHEAT] %s has just been banned, defined Reason: [WEAPON HACKING]", killer);
                  Ban(i);
                }
            }
            }
    return 1;
}
Reply


Messages In This Thread
anti cheat not working, - by `FuTuRe- - 31.12.2009, 23:07
Re: anti cheat not working, - by KnooL - 31.12.2009, 23:08
Re: anti cheat not working, - by Calon - 01.01.2010, 02:04

Forum Jump:


Users browsing this thread: 2 Guest(s)