From ada169bcf6aa1b61d87a4ed296c9b7407d5b5419 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sat, 9 Jul 2011 04:33:06 +0300 Subject: [PATCH] Color descriptional parts of the names --- data/qcsrc/client/shownames.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.2