From 3953db97cd48fcdc9cc6d2bd3c5df8a1fe373ae6 Mon Sep 17 00:00:00 2001 From: HttrckCldHKS Date: Sat, 18 Oct 2014 11:11:10 -0700 Subject: [PATCH] Improving Code --- plugins/include/amxmisc.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/include/amxmisc.inc b/plugins/include/amxmisc.inc index 99e7aa8d..a4314f2f 100755 --- a/plugins/include/amxmisc.inc +++ b/plugins/include/amxmisc.inc @@ -422,12 +422,13 @@ stock show_activity_key(const KeyWithoutName[], const KeyWithName[], const ___Ad stock colored_menus() { - static const ModNames[][] = { "cstrike", "czero", "dmc", "dod", "tfc", "valve" }; static ColoredMenus = -1; if (ColoredMenus == -1) { + new const ModNames[][] = { "cstrike", "czero", "dmc", "dod", "tfc", "valve" }; new ModName[32]; + get_modname(ModName, charsmax(ModName)); for (new Iterator = 0; Iterator < sizeof(ModNames); Iterator++)