help with ANTI-CHEAT [need help]
#6

umm like this

correct me if i am wrong :d plz plz

pawn Код:
forward AntiCheat(playerid);
public AntiCheat(playerid)
{
    new Name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Name, sizeof(Name));
    if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK && !IsPlayerVip(playerid == 3))
    {
        if(HackTest == 1)
        {
            SetTimerEx("BanHacker", 5000, false, "d", playerid);
            new string[128];
            format(string, sizeof(string), "Admin RDX banned %s due to \"Jetpack Hacks.\".", Name);
            SendClientMessageToAll(COLOR_RED, string);
            GameTextForPlayer(playerid, "~r~Banned", 10000, 2);
            SendClientMessage(playerid, COLOR_RED, "You are BANNED for jetpack hacks | Banned By: Admin RDX (NOTE: You can make a unban appeal on our website.) (NOTE: if you are a V.I.P. You will be unbanned A.S.A.P.");
            BanEx(playerid, "Hacking --> Jetpack.");
        }
    }
    if(GetPlayerWeapon(playerid) == 35)
    {
        if(HackTest == 1)
        {
            SetTimerEx("BanHacker", 5000, false, "d", playerid);
            new string[128];
            format(string, sizeof(string), "Admin RDX banned %s due to \"Weapon hacks.\".", Name);
            SendClientMessageToAll(COLOR_RED, string);
            GameTextForPlayer(playerid, "~r~Banned", 10000, 2);
            SendClientMessage(playerid, COLOR_RED, "You are BANNED for weapon hacks (RPG) | Banned By: Admin RDX (NOTE: You can make a unban appeal on our website.) (NOTE: If you are a V.I.P. You will be unbanned A.S.A.P.");
            BanEx(playerid, "Hacking --> Weapons --> RPG");
        }
    }
    if(GetPlayerWeapon(playerid) == 36)
    {
        if(HackTest == 1)
        {
            SetTimerEx("BanHacker", 5000, false, "d", playerid);
            new string[128];
            format(string, sizeof(string), "Admin RDX banned %s due to \"Weapon hacks.\".", Name);
            SendClientMessageToAll(COLOR_RED, string);
            GameTextForPlayer(playerid, "~r~Banned", 10000, 2);
            SendClientMessage(playerid, COLOR_RED, "You are BANNED for weapon hacks (Missile Launcher) | Banned By: Admin RDX (NOTE: You can make a unban appeal on our website.) (NOTE: If you are a V.I.P. You will be unbanned A.S.A.P.");
            BanEx(playerid, "Hacking --> Weapons --> Missile Launcher");
        }
    }
    if(GetPlayerWeapon(playerid) == 38)
    {
        if(HackTest == 1)
        {
            SetTimerEx("BanHacker", 5000, false, "d", playerid);
            new string[128];
            format(string, sizeof(string), "Admin RDX banned %s due to \"Weapon hacks.\".", Name);
            SendClientMessageToAll(COLOR_RED, string);
            GameTextForPlayer(playerid, "~r~Banned", 10000, 2);
            SendClientMessage(playerid, COLOR_RED, "You are BANNED for weapon hacks (MINI Gun) | Banned By: Admin RDX (NOTE: You can make a unban appeal on our website.) (NOTE: If you are a V.I.P. You will be unbanned A.S.A.P.");
            BanEx(playerid, "Hacking --> Weapons --> MINI Gun");
        }
    }
    return 1;
}
Reply


Messages In This Thread
help with ANTI-CHEAT [need help] - by ZayanImran - 28.01.2013, 19:10
Re: help with ANTI-CHEAT [need help] - by ZayanImran - 28.01.2013, 19:37
Re: help with ANTI-CHEAT [need help] - by zDevon - 28.01.2013, 19:42
Re: help with ANTI-CHEAT [need help] - by ZayanImran - 28.01.2013, 20:39
Re: help with ANTI-CHEAT [need help] - by Jewell - 29.01.2013, 02:18
Re: help with ANTI-CHEAT [need help] - by ZayanImran - 29.01.2013, 10:32
Re: help with ANTI-CHEAT [need help] - by [KHK]Khalid - 29.01.2013, 10:38
Re: help with ANTI-CHEAT [need help] - by ZayanImran - 29.01.2013, 16:01

Forum Jump:


Users browsing this thread: 1 Guest(s)