mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-26 13:48:03 +03:00
added colored_menus()
This commit is contained in:
parent
15b12e7a55
commit
0cb1aabb90
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user