Open OsweRRR opened 2 years ago
I seek to store the value returned by menu_create.. to check it later and destroy with menu_destroy
function my_function(menuIndex)
{
if(menuIndex) // menu_exists( )
{
menu_destroy(menuIndex)
}
}
There is no native like menu_exists, and menu_create returns nothing
the first menu is always 0 create 2 menus and read there ids to see the difference Keep in mind that the second u close or choose smt from the meny it gets destroyed. so u have to create 2 menus in the test function
Hi all, native menu_create really return any value?
The only thing that server_print prints is 0
amxx 1.9 5241 metamod p37 last rehlds release mp original hlds