I was trying to bring the menu back to the same page after you select an item. Usual case is that you can recreate a same menu, but it never retains the page that you were on. My menu has 5+ pages and coming back to the first page after each selection is not ideal.
I came across this menu property.
https://sm.alliedmods.net/new-api/menus/Menu/Selection
I was thinking of saving this value and using it along with Menu.DisplayAt function, but can't seem to figure out the syntax.
PHP Code:
int itemnumber;
menu.Selection(itemnumber);
Above code gives me the following error.
PHP Code:
error 012: invalid function call, not a valid address
__________________