Anti HP
#1

I set player's HP to 99 when they spawn and added this under OnPlayerUpdate
Код:
    new Float:Hp; GetPlayerHealth( playerid, Hp );
    if(IsSpawned[playerid] != 0 && Hp >= 100)
    {
	new string[128];
        format(string,sizeof(string),"%s(%d) is health hacking.",PlayerName(playerid),playerid);
	SendClientMessageToAll(1,string);
    }
but when the player spawn it says Example(0) is health hacking and then health become 99 and it says nothing and work how can i prevent that 100 HP that i got before SetPlayerHealth(playerid,99) or to prevent that detect before i get 99 HP ?
Reply


Messages In This Thread
Anti HP - by zamaleksc - 16.12.2015, 21:36
Re: Anti HP - by malackov - 16.12.2015, 21:46
Re: Anti HP - by zamaleksc - 16.12.2015, 21:55
Re: Anti HP - by UltraScripter - 16.12.2015, 22:49
Re: Anti HP - by zamaleksc - 17.12.2015, 00:48
Re: Anti HP - by jamesbond007 - 17.12.2015, 04:25

Forum Jump:


Users browsing this thread: 2 Guest(s)