diff --git a/plugins/include/amxmisc.inc b/plugins/include/amxmisc.inc index cb7b3e3c..59dbd9d8 100755 --- a/plugins/include/amxmisc.inc +++ b/plugins/include/amxmisc.inc @@ -105,13 +105,6 @@ stock show_activity( id, const name[], {Float,_}: ... ) { } } -stock is_running(const mod[]) { - new mod_name[32] - get_modname(mod_name,31) - - return equal(mod_name,mod) -} - stock colored_menus() { new mod_name[32] get_modname(mod_name,31) @@ -119,6 +112,20 @@ stock colored_menus() { return ( equal(mod_name,"cstrike") || equal(mod_name,"czero") || equal(mod_name,"dod") ) } +stock cstrike_running() { + new mod_name[32] + get_modname(mod_name,31) + + return ( equal(mod_name,"cstrike") || equal(mod_name,"czero") || equal(mod_name,"csv15") ) +} + +stock is_running(const mod[]) { + new mod_name[32] + get_modname(mod_name,31) + + return equal(mod_name,mod) +} + stock get_basedir(name[],len) return get_localinfo("amxx_basedir",name,len)