SA-MP Forums Archive
[Pedido]Anti-Wepon Hack - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido]Anti-Wepon Hack (/showthread.php?tid=328490)



[Pedido]Anti-Wepon Hack - Caio_Freeze - 25.03.2012

bom galera ja procurei um anti-wepon hack eficiente mais atй agora nada ja tentei criar mais n obtive mto sucesso

se vcs tiverem algum q quando um player usa a arma proibida aparecesse para o admin

Ex; ANTICHEAT: Caio_Freeze[ID 0] estб usando uma Minigun /espiar para espiar ele

valendo Reep +

obrigado desde ja


Re: [Pedido]Anti-Wepon Hack - Gustavo_z - 25.03.2012

Eu tbm estava procurando um Anti-Weapon Hack, mas nзao acho :S


Re: [Pedido]Anti-Wepon Hack - DouglasRodrigues - 25.03.2012

https://sampforum.blast.hk/showthread.php?tid=311312


Re: [Pedido]Anti-Wepon Hack - Caio_Freeze - 25.03.2012

Quote:
Originally Posted by Douglas_FusioN
Посмотреть сообщение
douglas eu queria q quando o player usa a arma mostre no chat (so para adm) q ele esta usando arma proibida

e nao q bani ele


Re: [Pedido]Anti-Wepon Hack - Markos - 25.03.2012

Comando nгo й meu,espero que ajude
pawn Код:
{
    new string[128];
    new giveplayer[MAX_PLAYER_NAME];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i) && gPlayerLogged[i] == 1 && !IsPlayerNPC(i) && spawnado[i] > 0)
        {
                 //Minigun
                if(GetPlayerWeapon(i) == 38)
                {
                GetPlayerName(i, giveplayer, sizeof(giveplayer));
                format(string, sizeof(string), "ANTICHEAT: %s[ID %d] estб usando uma Minigun /tv nele rapido", giveplayer,i);
                ABroadCast(COLOR_LIGHTRED,string,1);
                //ResetPlayerWeaponsEx(i);
                SetPlayerArmedWeapon(i, 0);
                }
                //Rocket Launcher
                else if(GetPlayerWeapon(i) == 35)
                {
                GetPlayerName(i, giveplayer, sizeof(giveplayer));
                format(string, sizeof(string), "ANTICHEAT: %s[ID %d] estб usando um Rocket Launcher /tv nele rapido", giveplayer,i);
                ABroadCast(COLOR_LIGHTRED,string,1);
                //ResetPlayerWeaponsEx(i);
                SetPlayerArmedWeapon(i, 0);
                }

                // Lanзa chamas
                if(GetPlayerWeapon(i) == 37)
                {
                GetPlayerName(i, giveplayer, sizeof(giveplayer));
                format(string, sizeof(string), "ANTICHEAT: %s[ID %d] estб usando um Lanзa Chamas /tv nele rapido", giveplayer,i);
                ABroadCast(COLOR_LIGHTRED,string,1);
                ResetPlayerWeaponsEx(i);
                SetPlayerArmedWeapon(i, 0);
                }
                // Visгo Noturna
                else if(GetPlayerWeapon(i) == 44)
                {
                GetPlayerName(i, giveplayer, sizeof(giveplayer));
                format(string, sizeof(string), "%s ANTICHEAT: %s[ID %d] estб usando uma Visгo Noturna /tv nele rapido", giveplayer,i);
                ABroadCast(COLOR_LIGHTRED,string,1);
                //ResetPlayerWeaponsEx(i);
                SetPlayerArmedWeapon(i, 0);
                }
                // Visгo de Calor
                else if(GetPlayerWeapon(i) == 45)
                {
                GetPlayerName(i, giveplayer, sizeof(giveplayer));
                format(string, sizeof(string), "ANTICHEAT: %s[ID %d] estб usando uma Visгo de Calor /tv nele rapido", giveplayer,i);
                ABroadCast(COLOR_LIGHTRED,string,1);
                //ResetPlayerWeaponsEx(i);
                SetPlayerArmedWeapon(i, 0);
                }
                //Serra Eletrica
                else if(GetPlayerWeapon(i) == 9)
                {
                GetPlayerName(i, giveplayer, sizeof(giveplayer));
                format(string, sizeof(string), "ANTICHEAT: %s[ID %d] estб usando uma Serra Eletrica /tv nele rapido", giveplayer,i);
                ABroadCast(COLOR_LIGHTRED,string,1);
                ResetPlayerWeaponsEx(i);
                SetPlayerArmedWeapon(i, 0);
                }
                //Sawn-off
                else if(GetPlayerWeapon(i) == 26)
                {
                GetPlayerName(i, giveplayer, sizeof(giveplayer));
                format(string, sizeof(string), "ANTICHEAT: %s[ID %d] estб usando uma Sawn-off /tv nele rapido", giveplayer,i);
                ABroadCast(COLOR_LIGHTRED,string,1);
                ResetPlayerWeaponsEx(i);
                SetPlayerArmedWeapon(i, 0);
                }
                //Molotov
                else if(GetPlayerWeapon(i) == 18)
                {
                GetPlayerName(i, giveplayer, sizeof(giveplayer));
                format(string, sizeof(string), "ANTICHEAT: %s[ID %d] estб usando um Molotov /tv nele rapido", giveplayer,i);
                ABroadCast(COLOR_LIGHTRED,string,1);
                ResetPlayerWeaponsEx(i);
                SetPlayerArmedWeapon(i, 0);
                }
                //Micro Uzi
                else if(GetPlayerWeapon(i) == 28)
                {
                GetPlayerName(i, giveplayer, sizeof(giveplayer));
                format(string, sizeof(string), "ANTICHEAT: %s[ID %d] estб usando uma Micro Uzi /tv nele rapido", giveplayer,i);
                ABroadCast(COLOR_LIGHTRED,string,1);
                ResetPlayerWeaponsEx(i);
                SetPlayerArmedWeapon(i, 0);
                }
                //Tec 9
                else if(GetPlayerWeapon(i) == 32)
                {
                GetPlayerName(i, giveplayer, sizeof(giveplayer));
                format(string, sizeof(string), "ANTICHEAT: %s[ID %d] estб usando uma TEC-9 /tv nele rapido", giveplayer,i);
                ABroadCast(COLOR_LIGHTRED,string,1);
                //ResetPlayerWeaponsEx(i);
                SetPlayerArmedWeapon(i, 0);
                }
                //Bazooca
                else if(GetPlayerWeapon(i) == 36)
                {
                GetPlayerName(i, giveplayer, sizeof(giveplayer));
                format(string, sizeof(string), "ANTICHEAT: %s[ID %d] estб usando uma Bazooca  /tv nele rapido", giveplayer,i);
                ABroadCast(COLOR_LIGHTRED,string,1);
                ResetPlayerWeaponsEx(i);
                SetPlayerArmedWeapon(i, 0);
                }
            }
    }
    return true;
}



Re: [Pedido]Anti-Wepon Hack - Caio_Freeze - 25.03.2012

n esta faltando nada?


Re: [Pedido]Anti-Wepon Hack - histire - 25.03.2012

preguiзa de testar?


Re: [Pedido]Anti-Wepon Hack - Caio_Freeze - 25.03.2012

nгo! eu ja vi ali q estб faltando uma public e timer!

nao fale oq vc n sabe


Re: [Pedido]Anti-Wepon Hack - Markos - 25.03.2012

Isso ae eu ja nao sei como que faz,sou mt nub ainda em pawn


Re: [Pedido]Anti-Wepon Hack - Caio_Freeze - 25.03.2012

NГO ACHO NENHUM MANO QUE DROGA!