public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart) { if(AdminProtection[playerid] == 1) // If not self-inflicted { new Float:health; GetPlayerHealth(playerid,health); SetPlayerHealth(playerid, health + amount); } return 1; }