new Float:health; GetPlayerHealth(playerid,health); if (health > 100000) { SetPlayerHealth(playerid,100); }