Hello Need small help Pros
#1

Код:
#if defined _ALS_SetPlayerHealth
	#undef SetPlayerHealth
#else
	#define _ALS_SetPlayerHealth
#endif
#define SetPlayerHealth SetPlayerHealthEx

SetPlayerHealthEx(playerid,Float:NewHealth)
{
	PlayerHealth[playerid] = NewHealth;
 	SetPlayerHealth(playerid , NewHealth) ;
	return CheckHack(playerid);
}

CheckHack(playerid)
{
	new Float:Health;
	GetPlayerHealth(playerid, Health);
	if(Health > PlayerHealth[playerid])return KickMessages(playerid, "Health Hack");
	return 1;
}
I am working on this .. is this can detect health hack i dont want to use timer..
Kindly help thanks.
Reply


Messages In This Thread
Hello Need small help Pros - by MBilal - 04.11.2015, 07:38
Re: Hello Need small help Pros - by IceBilizard - 04.11.2015, 07:41
Re: Hello Need small help Pros - by Karan007 - 04.11.2015, 07:42
Re: Hello Need small help Pros - by MBilal - 04.11.2015, 07:51
Re: Hello Need small help Pros - by Karan007 - 04.11.2015, 07:57
Re: Hello Need small help Pros - by MBilal - 04.11.2015, 11:59

Forum Jump:


Users browsing this thread: 1 Guest(s)