[AJUDA] Anti-Cheat
#6

Divirta-se.
pawn Код:
static aname[MAX_PLAYER_NAME];
    static string[128];
    for(new i; i < MAX_PLAYERS; ++i)
    {
        if(IsPlayerConnected(i))
        {
            if(GetPlayerWeapon(i) == WEAPON_ROCKETLAUNCHER)
            {
                if(IsPlayerAdmin(i)) return false;
                GetPlayerName(i, aname, sizeof(aname));
                format (string, sizeof(string), "~ [NOOB] O NOOB {FF0000}%s{FFFFFF} (%d){FF7171} usou arma proibida e foi banido.{FFFFFF}", aname,playerid);
                SendClientMessage(i,COLOR_WHITE,"*****************************************************************");
                SendClientMessage(i,COLOR_WHITE,"[NOOB] Vocк usou cheater e agora foi banido ._.");
                SendClientMessage(i,COLOR_WHITE,"*****************************************************************");
                Ban(i);
                return false;
            }
            if(GetPlayerWeapon(i) == WEAPON_HEATSEEKER)
            {
                if(IsPlayerAdmin(i)) return false;
                GetPlayerName(i, aname, sizeof(aname));
                format (string, sizeof(string), "~ [NOOB] O NOOB {FF0000}%s{FFFFFF} (%d){FF7171} usou arma proibida e foi banido.{FFFFFF}", aname,playerid);
                SendClientMessage(i,COLOR_WHITE,"*****************************************************************");
                SendClientMessage(i,COLOR_WHITE,"[NOOB] Vocк usou cheater e agora foi banido ._.");
                SendClientMessage(i,COLOR_WHITE,"*****************************************************************");
                Ban(i);
                return false;
            }
            if(GetPlayerWeapon(i) == WEAPON_FLAMETHROWER)
            {
                if(IsPlayerAdmin(i)) return false;
                GetPlayerName(i, aname, sizeof(aname));
                format (string, sizeof(string), "~ [NOOB] O NOOB {FF0000}%s{FFFFFF} (%d){FF7171} usou arma proibida e foi banido.{FFFFFF}", aname,playerid);
                SendClientMessage(i,COLOR_WHITE,"*****************************************************************");
                SendClientMessage(i,COLOR_WHITE,"[NOOB] Vocк usou cheater e agora foi banido ._.");
                SendClientMessage(i,COLOR_WHITE,"*****************************************************************");
                Ban(i);
                return false;
            }
            if(GetPlayerWeapon(i) == WEAPON_MINIGUN)
            {
                if(IsPlayerAdmin(i)) return false;
                GetPlayerName(i, aname, sizeof(aname));
                format(string, sizeof(string), "~ [NOOB] O NOOB {FF0000}%s{FFFFFF} (%d){FF7171} usou arma proibida e foi banido.{FFFFFF}", aname,playerid);
                SendClientMessage(i,COLOR_WHITE,"******************************************************************");
                SendClientMessage(i,COLOR_WHITE,"[NOOB] Vocк usou cheater e agora foi banido ._.");
                SendClientMessage(i,COLOR_WHITE,"******************************************************************");
                Ban(i);
                return false;
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
[AJUDA] Anti-Cheat - by Hardware - 24.02.2011, 18:59
Re: [AJUDA] Anti-Cheat - by Hardware - 24.02.2011, 19:40
Re: [AJUDA] Anti-Cheat - by ManoLexuS - 24.02.2011, 19:41
Re: [AJUDA] Anti-Cheat - by Hardware - 24.02.2011, 19:47
Re: [AJUDA] Anti-Cheat - by Hardware - 24.02.2011, 19:55
Re: [AJUDA] Anti-Cheat - by zSuYaNw - 24.02.2011, 20:04
Re: [AJUDA] Anti-Cheat - by Wendell_. - 24.02.2011, 20:27
Re: [AJUDA] Anti-Cheat - by Hardware - 24.02.2011, 20:29
Re: [AJUDA] Anti-Cheat - by Wendell_. - 24.02.2011, 20:40
Re: [AJUDA] Anti-Cheat - by Hardware - 24.02.2011, 20:45

Forum Jump:


Users browsing this thread: 1 Guest(s)