added colored_menus()

This commit is contained in:
Felix Geyer 2004-07-26 15:07:25 +00:00
parent 15b12e7a55
commit 0cb1aabb90

View File

@ -105,12 +105,18 @@ stock show_activity( id, const name[], {Float,_}: ... ) {
} }
} }
stock is_running(const arg[]) { stock is_running(const mod[]) {
new mod_name[32] new mod_name[32]
get_modname(mod_name,31) get_modname(mod_name,31)
if (equal(arg,"cstrike"))
return (equal(mod_name,"cstrike")||equal(mod_name,"czero")) return equal(mod_name,mod)
return equal(mod_name,arg) }
stock colored_menus() {
new mod_name[32]
get_modname(mod_name,31)
return ( equal(mod_name,"cstrike") || equal(mod_name,"czero") || equal(mod_name,"dod") )
} }
stock get_basedir(name[],len) stock get_basedir(name[],len)