Anti Health Hack Problem
#1

Hello, i have a Anti Spawn Kill on my Server, also that with Heal Time, so now i tried to make an Anti Health Hack, all works, but i tested it and i got banned because the Anti Health Hack think its a Hack, know everyone what the Problem is?

Код:
      
              new Float:health;
                GetPlayerHealth(i,health);
		        if(PlayerHealTime[i] ==1) if(health >= 100)
		        {
			       format(str,144,"«| %s Has Been Banned! [Reason: Health Hack] |»",PlayerName[i]);
                   SendClientMessageToAll(COLOR_HAUT,str);
			       Ban(i);
		        }
Код:
 if(PlayerHealTime[i] > 1)
			{
                SetPlayerHealth(i,99999.0);
			    PlayerHealTime[i] --;
			    SetPlayerChatBubble(i,"[ANTI-SPAWN-KILL]",COLOR_YELLOW,40.0,1000);
			}
			else if(PlayerHealTime[i] == 1)
			{
			    PlayerHealTime[i] = 0;

			    if(PlayerTeam[i] == TEAM_ZOMBIE) SetPlayerHealth(i,99.0);
			    else if(PlayerTeam[i] == TEAM_HUMAN) SetPlayerHealth(i,99.0);

			    SendClientMessage(i,COLOR_LIGHTGREEN,"«| Spawn Protection off |»");
			}
I think the Problem is the
Код:
SetPlayerHealth(i,99999.0);
, because the Anti Health Hack ban Hackers when the Health is 100. But when i make the SetPlayerHealth so: SetPlayerHealth(i,99.0); the Heal Time work not. Can everyone help me?
Reply


Messages In This Thread
Anti Health Hack Problem - by Blackazur - 14.01.2013, 20:44
Re: Anti Health Hack Problem - by Windrush - 15.01.2013, 07:22
AW: Anti Health Hack Problem - by Blackazur - 15.01.2013, 19:19

Forum Jump:


Users browsing this thread: 1 Guest(s)