[FilterScript] Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL
#6

ai uma coisa й que quando o jogador nгo e agredido por uma arma de fogo e esta com colete perderб a vida ! Entгo seria melhor uma verificaзгo unica de funзгo !
PHP Code:
public OnPlayerGiveDamage(playeriddamagedidFloat:amountweaponidbodypart)
{
    if(
antigod == 1)
    {
        if(
damagedid != INVALID_PLAYER_ID)
        {
            if(
CHECANDO[damagedid] == 0)
            {
                if(
MORTO[damagedid] == 0)
                {
                    if(
weaponid != 34)
                    {
                        
CHECANDO[damagedid] = 1// nгo dar bugs na hora de checar o player
                        
static Float:Health,Float:Armour;
                        
GetPlayerHealth(damagedidHealth);
                        
GetPlayerArmour(damagedidArmour);
                        
SetTimerEx("CheckArmourHealth"GetPlayerPing(damagedid)+300false"iii"damagedidArmourHealth);
                    }
                }
            }
        }
    }
    return 
1;
}
/////////////////////////////////////////////////////////////////////////
forward CheckArmourHealth(playeridFloat:OldArmourFloat:OldHealth);
public 
CheckArmourHealth(playeridFloat:OldArmourFloat:OldHealth)
{
    static 
Float:Health,Float:Armour;
    
GetPlayerArmour(playeridArmour);
    
GetPlayerHealth(playeridHealth);
    if((
Armour >= OldArmour || Armour == OldArmour) && MORTO[playerid] == 0)
    {
        
hits[playerid]++;
        if(
hits[playerid] >= WARNINGSKICK) return KickPlayer(playerid"Armour/Health H4CK");
    }
    
CHECANDO[playerid] = 0;
    return 
1;

Reply


Messages In This Thread
Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by RedMF - 10.10.2016, 21:27
Re: Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by Eoussama - 10.10.2016, 21:28
Re: Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by RedMF - 10.10.2016, 21:29
Re: Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by PedroEduardo - 10.10.2016, 22:19
Re: Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by RedMF - 10.10.2016, 22:23
Re: Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by lucas_mdr1235 - 10.10.2016, 23:46
Re: Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by RedMF - 10.10.2016, 23:55
Re: Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by lucas_mdr1235 - 10.10.2016, 23:59
Re: Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by PedroEduardo - 11.10.2016, 00:16
Re: Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by ViDaLoKa1 - 11.10.2016, 01:41
Re: Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by RedMF - 11.10.2016, 02:14
Re: Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by RedMF - 15.10.2016, 19:26
Re: Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by RedMF - 22.10.2016, 05:14
Re: Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by ipsLuan - 16.07.2018, 00:54
Re: Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by ipsLuan - 19.07.2018, 11:20
Re: Anti-Cheat ANTIFLY\ANTI GOD\ANTI SKIN BUG\ANTI MONEY HACK\ANTI JETPACK HACK\ANTI GODOFCARS\ANTI FAKEKILL - by Lovejoy - 19.07.2018, 18:29

Forum Jump:


Users browsing this thread: 4 Guest(s)