Anti Health Hack Problem
#1

I Put It On OnPlayerUpdate

Код:
new
	    Float:pHealth,
	    Float:pArmour,
	    Float:vHealth,
	    string[128]
	;
	GetPlayerHealth(playerid, pHealth);
	GetPlayerArmour(playerid, pArmour);
	if(AdminLevel[playerid] >= 0) //Do not kick a admin
	{
	    return 0;
	}
	if(pHealth >= 100.1)
	{
	    SendClientMessage(playerid, COLOR_RED,"You Have Been Auto Kick For Using Health Hack");
   		format(string, sizeof(string), "%s(%d) Has been Auto-Kicked for using Health Hack", GetName(playerid), playerid);
		SendClientMessageToAll(COLOR_RED, string);
	    Kick(playerid);
	}
	if(pArmour >= 100.1)
	{
	    SendClientMessage(playerid, COLOR_RED,"You Have Been Auto Kick For Using Armour Hack");
   		format(string, sizeof(string), "%s(%d) Has been Auto-Kicked for using Armour Hack", GetName(playerid), playerid);
		SendClientMessageToAll(COLOR_RED, string);
	    Kick(playerid);
	}
	if(IsPlayerInAnyVehicle(playerid))
	{
        GetVehicleHealth(GetPlayerVehicleID(playerid), vHealth);
        if(vHealth >= 1000.1)
        {
   	    	SendClientMessage(playerid, COLOR_RED,"You Have Been Auto Kick For Using Vehicle Health Hack");
   			format(string, sizeof(string), "%s(%d) Has been Auto-Kicked for using Vehicle Health Hack", GetName(playerid), playerid);
			SendClientMessageToAll(COLOR_RED, string);
			SetVehicleToRespawn(GetPlayerVehicleID(playerid));
	    	Kick(playerid);
        }
the bug shows that when player connect in game u can see a person not moving but in there screen they are moving but in my screen not moving. that also happens to my players can anyone help me out pls?
Reply


Messages In This Thread
Anti Health Hack Problem - by Patrick - 10.11.2012, 21:58
AW: Anti Health Hack Problem - by Patrick - 10.11.2012, 22:07
Re: Anti Health Hack Problem - by [FAT]Klabauter[LST] - 13.11.2012, 02:18
Re: Anti Health Hack Problem - by cessil - 13.11.2012, 03:00
Re: Anti Health Hack Problem - by jueix - 13.11.2012, 11:45

Forum Jump:


Users browsing this thread: 2 Guest(s)