From: MirceaKitsune Date: Sat, 9 Jul 2011 01:33:06 +0000 (+0300) Subject: Color descriptional parts of the names X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ada169bcf6aa1b61d87a4ed296c9b7407d5b5419;p=voretournament%2Fvoretournament.git Color descriptional parts of the names --- diff --git a/data/qcsrc/client/shownames.qc b/data/qcsrc/client/shownames.qc index fe8f7684..cfadaf8b 100644 --- a/data/qcsrc/client/shownames.qc +++ b/data/qcsrc/client/shownames.qc @@ -134,13 +134,13 @@ void Draw_ShowNames(entity ent) if(sameteam && ent.healthvalue > 0) { if(ent.armorvalue) - s = strcat(s, " (", ftos(ent.healthvalue), "|", ftos(ent.armorvalue), ")"); + s = strcat(s, "^7 (^1", ftos(ent.healthvalue), "^7|^2", ftos(ent.armorvalue), "^7)"); else - s = strcat(s, " (", ftos(ent.healthvalue), ")"); + s = strcat(s, "^7 (^1", ftos(ent.healthvalue), "^7)"); // if team healing is enabled, mark the team mate as possible to heal if(ent.healthvalue < teamheal_max) - s = strcat(s, " [HEAL]"); + s = strcat(s, "^7 [^5HEAL^7]"); } float width;