From 1f2f558aa148e77b7bc411d8704673239b2d7de2 Mon Sep 17 00:00:00 2001 From: jenz Date: Sun, 28 Apr 2024 22:03:32 +0200 Subject: [PATCH] stupid of me to forget still to assign the actual tag --- RaceTimer/scripting/racetimer_rank.sp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RaceTimer/scripting/racetimer_rank.sp b/RaceTimer/scripting/racetimer_rank.sp index f17e9a83..ca018717 100644 --- a/RaceTimer/scripting/racetimer_rank.sp +++ b/RaceTimer/scripting/racetimer_rank.sp @@ -273,6 +273,9 @@ public void set_level_tag(int client, int lvl, int I_rank) Format(hexadecimals, sizeof(hexadecimals), "%02X%02X%02X", red, green, blue); if (I_rank > 250) { + char tag[64]; + Format(tag, sizeof(tag), "[LVL %i] ", lvl); + CCC_SetTag(client, tag); CCC_SetColor(client, CCC_TagColor, StringToInt(hexadecimals, 16), false); return; }