From 540cad961268efea22b00e3fddd0c5c5b912f426 Mon Sep 17 00:00:00 2001 From: jenz Date: Sun, 5 Jul 2026 15:39:25 +0200 Subject: [PATCH] added some colouring to level up messages --- .../scripting/unloze_player_time.sp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/discord_verificiation/scripting/unloze_player_time.sp b/discord_verificiation/scripting/unloze_player_time.sp index 86029e0..56dcbec 100644 --- a/discord_verificiation/scripting/unloze_player_time.sp +++ b/discord_verificiation/scripting/unloze_player_time.sp @@ -476,31 +476,31 @@ public bool check_if_client_new_tier(int client) //called every 10 minutes to fi if (g_iRtvBoost_tier == g_iPlayerTier[client]) { Format(new_rewards, sizeof(new_rewards), "%ix Mapvote/RTV/Nomination boost", g_iPlayerRTVCapacity); - PrintToChatAll("%N Leveled up to Tier %i and unlocked: %s", client, tier, new_rewards); + PrintToChatAll("\x03%N \x01Leveled up to Tier \x04%i\x01 and unlocked: \x04%s", client, tier, new_rewards); } if (FindConVar("sm_spraymanager_tier_required").IntValue == g_iPlayerTier[client]) { Format(new_rewards, sizeof(new_rewards), "Spray access"); - PrintToChatAll("%N Leveled up to Tier %i and unlocked: %s", client, tier, new_rewards); + PrintToChatAll("\x03%N \x01Leveled up to Tier \x04%i\x01 and unlocked: \x04%s", client, tier, new_rewards); } if (FindConVar("sm_entwatch_tier_requirement").IntValue == g_iPlayerTier[client]) { Format(new_rewards, sizeof(new_rewards), "Item access"); - PrintToChatAll("%N Leveled up to Tier %i and unlocked: %s", client, tier, new_rewards); + PrintToChatAll("\x03%N \x01Leveled up to Tier \x04%i\x01 and unlocked: \x04%s", client, tier, new_rewards); } if (FindConVar("mce_multiple_nominations_tier").IntValue == g_iPlayerTier[client]) { Format(new_rewards, sizeof(new_rewards), "Multiple nominations"); - PrintToChatAll("%N Leveled up to Tier %i and unlocked: %s", client, tier, new_rewards); + PrintToChatAll("\x03%N \x01Leveled up to Tier \x04%i\x01 and unlocked: \x04%s", client, tier, new_rewards); } if (g_GroupFlags[g_iPlayerTier[client]][0] != '\0' && StrEqual(g_GroupFlags[g_iPlayerTier[client]], "aop")) { Format(new_rewards, sizeof(new_rewards), "VIP"); - PrintToChatAll("%N Leveled up to Tier %i and unlocked: %s", client, tier, new_rewards); + PrintToChatAll("\x03%N \x01Leveled up to Tier \x04%i\x01 and unlocked: \x04%s", client, tier, new_rewards); } if (g_GroupOverrides.GetString(g_GroupNames[g_iPlayerTier[client]], new_rewards, sizeof(new_rewards))) { - PrintToChatAll("%N Leveled up to Tier %i and unlocked: %s", client, tier, new_rewards); + PrintToChatAll("\x03%N \x01Leveled up to Tier \x04%i\x01 and unlocked: \x04%s", client, tier, new_rewards); } upgrade_tier = true; }