now having 3 map nominations as a tier perk
This commit is contained in:
parent
edf047c0fc
commit
d062b04353
@ -825,6 +825,9 @@ public void PrintClientGroupOverrides(int client)
|
|||||||
char entwatch_tier[32];
|
char entwatch_tier[32];
|
||||||
Format(entwatch_tier, sizeof(entwatch_tier), "tier%i", FindConVar("sm_entwatch_tier_requirement").IntValue);
|
Format(entwatch_tier, sizeof(entwatch_tier), "tier%i", FindConVar("sm_entwatch_tier_requirement").IntValue);
|
||||||
|
|
||||||
|
char multi_nomination_tier[32];
|
||||||
|
Format(multi_nomination_tier, sizeof(multi_nomination_tier), "tier%i", FindConVar("mce_multiple_nominations_tier").IntValue);
|
||||||
|
|
||||||
for (int i = 0; i < g_GroupNameCount; i++)
|
for (int i = 0; i < g_GroupNameCount; i++)
|
||||||
{
|
{
|
||||||
char entry[128];
|
char entry[128];
|
||||||
@ -832,17 +835,22 @@ public void PrintClientGroupOverrides(int client)
|
|||||||
|
|
||||||
if (StrEqual(g_GroupNames[i], rtv_boost_tier))
|
if (StrEqual(g_GroupNames[i], rtv_boost_tier))
|
||||||
{
|
{
|
||||||
Format(entry, sizeof(entry), "%s: %ix mapvote/rtv/nomination boost", g_GroupNames[i], g_iPlayerRTVCapacity);
|
Format(entry, sizeof(entry), "%s: %ix Mapvote/RTV/Nomination boost", g_GroupNames[i], g_iPlayerRTVCapacity);
|
||||||
menu.AddItem("-1", entry, ITEMDRAW_DISABLED);
|
menu.AddItem("-1", entry, ITEMDRAW_DISABLED);
|
||||||
}
|
}
|
||||||
if (StrEqual(g_GroupNames[i], spray_tier))
|
if (StrEqual(g_GroupNames[i], spray_tier))
|
||||||
{
|
{
|
||||||
Format(entry, sizeof(entry), "%s: sprays", g_GroupNames[i]);
|
Format(entry, sizeof(entry), "%s: Sprays", g_GroupNames[i]);
|
||||||
menu.AddItem("-1", entry, ITEMDRAW_DISABLED);
|
menu.AddItem("-1", entry, ITEMDRAW_DISABLED);
|
||||||
}
|
}
|
||||||
if (StrEqual(g_GroupNames[i], entwatch_tier))
|
if (StrEqual(g_GroupNames[i], entwatch_tier))
|
||||||
{
|
{
|
||||||
Format(entry, sizeof(entry), "%s: items", g_GroupNames[i]);
|
Format(entry, sizeof(entry), "%s: Items", g_GroupNames[i]);
|
||||||
|
menu.AddItem("-1", entry, ITEMDRAW_DISABLED);
|
||||||
|
}
|
||||||
|
if (StrEqual(g_GroupNames[i], multi_nomination_tier))
|
||||||
|
{
|
||||||
|
Format(entry, sizeof(entry), "%s: Multiple nominations", g_GroupNames[i]);
|
||||||
menu.AddItem("-1", entry, ITEMDRAW_DISABLED);
|
menu.AddItem("-1", entry, ITEMDRAW_DISABLED);
|
||||||
}
|
}
|
||||||
if (g_GroupFlags[i][0] != '\0' && StrEqual(g_GroupFlags[i], "aop"))
|
if (g_GroupFlags[i][0] != '\0' && StrEqual(g_GroupFlags[i], "aop"))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user