How to destroy menu correctly, because right now the menu is still seen by players, but if they choose something, nothing happens and menu disappears. I want the menu to disappear after 10seconds.
I've got this:
PHP Code:
set_task(10.0, "DestroyMenu", id + 672)
PHP Code:
public DestroyMenu(id)
{
menu_destroy(menu)
}
Can't destroy it via player cmd like this:
client_cmd(id, "slot10"), because I've disabled EXIT option in menu