View Single Post
Phant
Veteran Member
Join Date: Sep 2009
Location: New Jersey
Old 12-06-2014 , 03:35   Re: New AMXX Menu System
Reply With Quote #436

There is any function for check "menu is created"? Before call menu_destroy that would not get error. My current check:
PHP Code:
if(g_voting_menu != 0)
    {
           
menu_destroy(g_voting_menu)
    } 
It's correct? I think better like:
PHP Code:
if(is_menu(g_voting_menu))
    {
           
menu_destroy(g_voting_menu)
    } 
But there is "is_menu"-like function?
Phant is offline
Send a message via ICQ to Phant