[HELP] menu_item_getinfo before selection.
What i'm trying to achieve:
new g_ItemID[33]; g_ItemID[id] = 5; Before I open the menu with items in it, the code checks integer from g_ItemID[id] and will add \d in front of the menu entry with the integer in it's "info" argument. PHP Code:
|
Re: [HELP] menu_item_getinfo before selection.
How are you exactly creating a menu? Please show us your current code.
|
Re: [HELP] menu_item_getinfo before selection.
PHP Code:
|
Re: [HELP] menu_item_getinfo before selection.
I would probably go with something like this (untested):
PHP Code:
|
Re: [HELP] menu_item_getinfo before selection.
Since you are using "newmenus.inc", this should be done using a callback.
|
| All times are GMT -4. The time now is 18:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.