Help Anti-health hacks & Anti-armour hacks
#1

Код:
public OnPlayerSpawn(playerid)
{
       SetPlayerHealth(playerid, 99);
	return 1;
}
Код:
public OnPlayerUpdate(playerid)
{
    new Float:pHealth;
    GetPlayerHealth(playerid, pHealth);
    if(pHealth > 99)
    {
    SendClientMessage(playerid, -1, "{FF0000}**You got banned for health hacks, therefore you can say good bye to the server.");
    Ban(playerid);
    }
    new Float:pArmour;
    GetPlayerArmour(playerid, pArmour);
    if(pArmour > 99)
    {
    SendClientMessage(playerid, -1, "{FF0000}**You got banned for armour hacks, therefore you can say good bye to the server");
    Ban(playerid);
    }
    return 1;
}
I don't know what the fuck. The script looks cool & easy, but it bans me when I spawn everytime.
Reply


Messages In This Thread
Help Anti-health hacks & Anti-armour hacks - by Cristy09 - 22.10.2013, 17:51
Re: Help Anti-health hacks & Anti-armour hacks - by Jani - 22.10.2013, 17:52
Re: Help Anti-health hacks & Anti-armour hacks - by Cristy09 - 22.10.2013, 17:56
Re: Help Anti-health hacks & Anti-armour hacks - by TomatoRage - 22.10.2013, 18:24
Re: Help Anti-health hacks & Anti-armour hacks - by [WoF]Sonny - 22.10.2013, 18:52

Forum Jump:


Users browsing this thread: 1 Guest(s)