menu_display doesn't works good
Im ussing formatex to change the name of a item in a menu,and ussing menu_display() to open the menu again,but don't change the name of the item...So..how I can make it?
I tried PHP Code:
|
Re: menu_display doesn't works good
You have to re-create the whole menu with the item changed. Anyway show your code.
|
Re: menu_display doesn't works good
PHP Code:
|
Re: menu_display doesn't works good
bump
|
Re: menu_display doesn't works good
http://forums.alliedmods.net/showthread.php?t=46364
You don't need to do anything for pages. Destroy the menu at the end of the handler. |
Re: menu_display doesn't works good
Yes,but I need to show the menu again when the player choice one option,just like the old mute menu.
|
Re: menu_display doesn't works good
Do this:
PHP Code:
|
Re: menu_display doesn't works good
Yes,but the menu must have more than 1 page,and when the I use menu_display in the called function,this will be show the page 1,and I want to show the current page.
|
Re: menu_display doesn't works good
menu_display(id, menu, page=0) or
player_menu_info(id, &menu, &newmenu, &menupage=0) ? |
Re: menu_display doesn't works good
Quote:
|
| All times are GMT -4. The time now is 21:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.