added cstrike_running

This commit is contained in:
Felix Geyer 2004-07-27 16:42:59 +00:00
parent d7caf3803e
commit 6d74c31597

View File

@ -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)