// put this at the top of onplayerupdatenew Float:Health;GetPlayerHealth(playerid,Health);// replace the other GetPlayerHealth(playerid) with Health