Make a global bool "g_MenuActive[33];" then after menu_display put "g_MenuActive[id] = true", don't forget to put "g_MenuActive[id] = false" on Ham_Spawn and after menu is closed (menu_destroy). This can be used only when menu comes from that plugin.
So if you want to check you'd do
PHP Code:
if(g_MenuActive[id]) {
// code
}
__________________