[SOLVED] Admin immunity in junkbuster
#1

I'm tryin 2 make a litle bit Admin Imunity here ... so they can't get banned for health hacks...
This is the code, and ofcourse it doesn't do shit otherwise I wouldn't post here BUT i'm thinking IS correct no?

Код:
if(JB_Variables[HEALTH_HACK] && !JB_IsPlayerAdmin(i/playerid*))
{
    GetPlayerHealth(i,health);
    if(health>100)
    {
		JB_Ban(i,"Health hack");
		continue;
	}
}

* i or playerid, none work
Thnx for looking trough this, Greetz Riz

PS: this is in a include file
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)