Raised This Month: $ Target: $400
 0% 

[REQ] menu proprieties


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-13-2017 , 01:54   Re: [REQ] menu proprieties
Reply With Quote #1

https://github.com/alliedmodders/amxmodx/pull/473
klippy is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 12-13-2017 , 11:52   Re: [REQ] menu proprieties
Reply With Quote #2

Quote:
Originally Posted by KliPPy View Post
I love you man

I know i may be forcing my luck, but could we have a couple more things added to the menus ?

For example
1. A menu property to not close a menu after selecting an option ( if possible )
2. A menu property to not number the options automatically

And most important i think it would be to have some forwards on menu_display and menu_destroy/menu_select
It is impossible to hook menu open/close atm without orpheu

I.e
PHP Code:
forward_menu_display(iMenuiTotalItems)
forward_menu_select(iMenuiItemNumber)
forward_menu_destroy(iMenuiTotalItems
__________________

Last edited by Depresie; 12-13-2017 at 11:56.
Depresie is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-13-2017 , 12:44   Re: [REQ] menu proprieties
Reply With Quote #3

Quote:
Originally Posted by Depresie View Post
PHP Code:
forward_menu_display(iMenuiTotalItems)
forward_menu_select(iMenuiItemNumber)
forward_menu_destroy(iMenuiTotalItems
id is the most important parameter that will be needed in this kind of forwards. The total items number can still be retrieved using menu_getprop. Oh, wait... Guys, where is menu_getprop?!
__________________

Last edited by OciXCrom; 12-13-2017 at 12:45.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode