From 131668a53d8d5b5e6c02f6ef603390ce7263aa78 Mon Sep 17 00:00:00 2001 From: jenz Date: Sun, 21 Jun 2026 12:56:06 +0200 Subject: [PATCH] having same tier features on one line --- .../scripting/unloze_player_time.sp | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/discord_verificiation/scripting/unloze_player_time.sp b/discord_verificiation/scripting/unloze_player_time.sp index 224934c..6130fe2 100644 --- a/discord_verificiation/scripting/unloze_player_time.sp +++ b/discord_verificiation/scripting/unloze_player_time.sp @@ -698,37 +698,35 @@ public void PrintClientGroupOverrides(int client) for (int i = 0; i < g_GroupNameCount; i++) { - char entry[128]; + char entry[512]; char overrides[512]; if (StrEqual(g_GroupNames[i], rtv_boost_tier)) { - Format(entry, sizeof(entry), "%s: %ix Mapvote/RTV/Nomination boost", g_GroupNames[i], g_iPlayerRTVCapacity); - menu.AddItem("-1", entry, ITEMDRAW_DISABLED); + Format(entry, sizeof(entry), "%s%s: %ix Mapvote/RTV/Nomination boost, ", entry, g_GroupNames[i], g_iPlayerRTVCapacity); } if (StrEqual(g_GroupNames[i], spray_tier)) { - Format(entry, sizeof(entry), "%s: Sprays", g_GroupNames[i]); - menu.AddItem("-1", entry, ITEMDRAW_DISABLED); + Format(entry, sizeof(entry), "%s%s: Sprays, ", entry, g_GroupNames[i]); } if (StrEqual(g_GroupNames[i], entwatch_tier)) { - Format(entry, sizeof(entry), "%s: Items", g_GroupNames[i]); - menu.AddItem("-1", entry, ITEMDRAW_DISABLED); + Format(entry, sizeof(entry), "%s%s: Items, ", entry, g_GroupNames[i]); } if (StrEqual(g_GroupNames[i], multi_nomination_tier)) { - Format(entry, sizeof(entry), "%s: Multiple nominations", g_GroupNames[i]); - menu.AddItem("-1", entry, ITEMDRAW_DISABLED); + Format(entry, sizeof(entry), "%s%s: Multiple nominations, ", entry, g_GroupNames[i]); } if (g_GroupFlags[i][0] != '\0' && StrEqual(g_GroupFlags[i], "aop")) { - Format(entry, sizeof(entry), "%s: VIP", g_GroupNames[i]); - menu.AddItem("-1", entry, ITEMDRAW_DISABLED); + Format(entry, sizeof(entry), "%s%s: VIP, ", entry, g_GroupNames[i]); } if (g_GroupOverrides.GetString(g_GroupNames[i], overrides, sizeof(overrides))) { - Format(entry, sizeof(entry), "%s: %s", g_GroupNames[i], overrides); + Format(entry, sizeof(entry), "%s%s: %s, ", entry, g_GroupNames[i], overrides); + } + if (strlen(entry) > 0) + { menu.AddItem("-1", entry, ITEMDRAW_DISABLED); } }