AntiGodMode.
#3

Quote:
Originally Posted by iggy1
Посмотреть сообщение
You could check if a players health is over 100 if it is kick or ban. I've not tested but i can't see why it won't work unless im missing something.
In that case....

pawn Код:
new Float:health;
    GetPlayerHealth(playerid,health);
    if (health > 100.0)
    {
        SendClientMessage(playerid, COLOR_RED, "You've been banned for health hacks.");
        BanEx(playerid, "HP Hacks" );
    }

You will need to make your own call back, put this in a timer, and have it scan all players using MaxPlayers, GetMaxPlayers or whatever.
Reply


Messages In This Thread
AntiGodMode. - by Dodus - 19.10.2010, 21:04
Re: AntiGodMode. - by iggy1 - 19.10.2010, 21:06
Re: AntiGodMode. - by Las Venturas CNR - 20.10.2010, 02:26

Forum Jump:


Users browsing this thread: 1 Guest(s)