Anti HP
#2

PHP код:
public OnPlayerSpawn(playerid)
{
    
SetPlayerArmour(playerid99);
    
SetPlayerHealth(playerid99);
    return 
1;
}
public 
OnPlayerUpdate(playerid)
{
    new 
Float:pHealth;
    
GetPlayerHealth(playeridpHealth);
    if(
pHealth 99)
    {
    
SendClientMessage(playerid, -1"{FF0000} You Got Banned for Health Hacking [ HP Exceeded 99 ]");
    
Ban(playerid);
    }
    new 
Float:pArmour;
    
GetPlayerArmour(playeridpArmour);
    if(
pArmour 99)
    {
    
SendClientMessage(playerid, -1"{FF0000} You Got Banned for Armour Hacking [ AP Exceeded 99 ]");
    
Ban(playerid);
    }
    return 
1;

You could use that credit @hoosa
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: 1 Guest(s)