Well, I think Pawn has gone crazy
#1

Heya, Here is my HealthHack code:
PHP код:
forward HealthHack();
public 
HealthHack()
{
    new 
Float:hpFloat:ap;
    foreach(new 
playerid Player)
    {
        if(
PlayerInfo[playerid][pSpawned] && !SpawnProtected[playerid])
        {
            if(!
GivingHealth[playerid] && !GivingArmour[playerid])
            {
                
GetPlayerHealth(playeridhp);
                
GetPlayerArmour(playeridap);
                
printf("Debug Health: %.0f Armour: %.0f || HP: %.0f AP: %.0f"Health[playerid], Armour[playerid], hpap);
                if(
hp != Health[playerid] || ap != Armour[playerid]) AddBan(playeridRPN(playerid), "Anti Cheat""Health Hacking"RPIP(playerid));
            }
            else
            {
                
GivingHealth[playerid] = 0;
                
GivingArmour[playerid] = 0;
            }
        }
    }
    return 
1;

That's the latest printf on the console:
Код:
Debug Health: 100 Armour: 17 || HP: 100 AP: 17
I got banned after this, what the hell ...
Reply


Messages In This Thread
Well, I think Pawn has gone crazy - by NeXoR - 30.10.2016, 22:50
Re: Well, I think Pawn has gone crazy - by Kaliber - 30.10.2016, 23:29
Re: Well, I think Pawn has gone crazy - by Mauzen - 30.10.2016, 23:37
Re: Well, I think Pawn has gone crazy - by NeXoR - 31.10.2016, 01:48

Forum Jump:


Users browsing this thread: 1 Guest(s)