mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
added cstrike_running
This commit is contained in:
parent
d7caf3803e
commit
6d74c31597
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user