Skip to content

Commit 0d6b700

Browse files
committed
Add new tier colors and bump version to 1.4
support more tier colors in the message
1 parent 5621530 commit 0d6b700

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

plugins/maptiersinfo.smx

71 Bytes
Binary file not shown.

scripting/maptiersinfo.sp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#pragma semicolon 1
66
#pragma newdecls required
77

8-
#define PLUGIN_VERSION "1.3"
8+
#define PLUGIN_VERSION "1.4"
99

1010
enum struct MapInfo {
1111
char Name[64];
@@ -31,13 +31,17 @@ public void OnPluginStart() {
3131
LoadTranslations("maptiersinfo.phrases");
3232

3333
g_TierColors = new StringMap();
34+
g_TierColors.SetString("0", "{grey}");
3435
g_TierColors.SetString("1", "{limegreen}");
3536
g_TierColors.SetString("2", "{forestgreen}");
3637
g_TierColors.SetString("3", "{goldenrod}");
3738
g_TierColors.SetString("4", "{darkorange}");
3839
g_TierColors.SetString("5", "{orangered}");
3940
g_TierColors.SetString("6", "{fullred}");
40-
g_TierColors.SetString("7", "{fullred}"); // Added for tier 7
41+
g_TierColors.SetString("7", "{fullred}");
42+
g_TierColors.SetString("8", "{purple}");
43+
g_TierColors.SetString("9", "{darkviolet}");
44+
g_TierColors.SetString("10", "{magenta}");
4145

4246
RegConsoleCmd("sm_tier", CMD_GetTier);
4347
}

0 commit comments

Comments
 (0)