Quote:
Originally Posted by edon1337
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.
So if you want to check you'd do
PHP Code:
if(g_MenuActive[id]) { // code }
|
That's not what he is asking for. What if the menu comes from other plugin?
Also resetting on spawn is wrong, you should reset as soon as the menu is closed.
__________________