- if(ent.armorvalue)
- s = strcat(s, " (", ftos(ent.healthvalue), "|", ftos(ent.armorvalue), ")");
- else
- s = strcat(s, " (", ftos(ent.healthvalue), ")");
+ if(cvar("hud_shownames_status") > 2 && ent.armorvalue)
+ s = strcat(s, "^7 (^1+", ftos(ent.healthvalue), "^7|^2*", ftos(ent.armorvalue), "^7)");
+ else if(cvar("hud_shownames_status") > 1)
+ s = strcat(s, "^7 (^1+", ftos(ent.healthvalue), "^7)");
+
+ // if team healing is enabled, mark the team mate as possible to heal
+ if(cvar("hud_shownames_status") && ent.healthvalue < teamheal_max)
+ s = strcat(s, "^7 [^5HEAL^7]");