11.05.2014, 12:02
Anyone can give a link with anti-infinite health detector? like ******??
thanks
thanks
public OnPlayerUpdate(playerid)
{
new Float:hp;
GetPlayerHealth(playerid, hp);
if(hp >= 101) //do shit
return 1;
}
public OnPlayerUpdate(playerid)
{
if(!IsPlayerAdmin(playerid)) //or player variable if you have an admin system
{
new Float:hp;
GetPlayerHealth(playerid, hp);
if(hp >= 101) //do shit
}
return 1;
}