menu_create and outside ids?
Hello there,
PHP Code:
sake |
Re: menu_create and outside ids?
Save it in a global variable, like:
Code:
Edit: You don't need to create 33 cells and save the menu for everyone, that's just a solution if you want custom menus for every player out there Code:
|
Re: menu_create and outside ids?
I already do that (Look at the variable name).
But the menus are saved internally with ids (0,1,2) and not with the outside ids. Code:
|
Re: menu_create and outside ids?
Explain what you are trying to do.
|
Re: menu_create and outside ids?
I want to check if a player has a menu opened and if yes (and not the menu i want to show him) then I want to tell him he has to use a command for the menu.
|
Re: menu_create and outside ids?
Then compare the menu id you get from get_user_menu() to the id of the menu that you want and if not equal then they are not looking at your menu.
|
Re: menu_create and outside ids?
-.-
I already know that and told you this. But I can't figure out a way to find the menuids of my menus which are registered via menu_create because menu_create just returns internal ids and no global ones... |
Re: menu_create and outside ids?
|
Re: menu_create and outside ids?
Which id of the menu does this return? The outside or the inside id?
|
Re: menu_create and outside ids?
Quote:
|
| All times are GMT -4. The time now is 14:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.