Raised This Month: $ Target: $400
 0% 

Simple Menu Builder


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Snake.
Senior Member
Join Date: Jul 2017
Old 08-09-2018 , 23:26   Re: Simple Menu Builder
Reply With Quote #1

Best plugin i had ever used. Anyway, I have a suggestion for this plugin and i need it. Is is possible to add languages support for the settings or even items ? Example:

Code:
[New Menu = Menu Sample]

[Menu Settings]
MENU_OPEN = say /menu
MENU_ITEMS_PER_PAGE = 2
MENU_TITLE = TITLE_TRANSLATION
MENU_TITLE_PAGE = TITLE_PAGE_TRANSLATION
MENU_BACK = BACK_TRANSLATION
MENU_NEXT = NEXT_TRANSLATION
MENU_EXIT = EXIT_TRANSLATION
MENU_NOACCESS = MENU_NOACCESS_TRANSLATION
MENU_NOTEAM = MENU_NOTEAM_TRANSLATION
MENU_ALIVE = MENU_ALIVE_TRANSLATION
MENU_DEAD = MENU_DEAD_TRANSLATION
MENU_LANG_PATH = menusample.txt

[Menu Items]
"%L" "FIRST_TRANSLATION"
"%L" "SECOND_TRANSLATION"

Last edited by Snake.; 08-09-2018 at 23:34.
Snake. is offline
Send a message via Skype™ to Snake.
Porcay
Junior Member
Join Date: Sep 2018
Old 09-23-2018 , 17:13   Re: Simple Menu Builder
Reply With Quote #2

Is it possible to make a menu that opens automatically when spawn ?
Porcay is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 09-24-2018 , 07:42   Re: Simple Menu Builder
Reply With Quote #3

Quote:
Originally Posted by Porcay View Post
Is it possible to make a menu that opens automatically when spawn ?
Not at the moment without using another plugin for the job. I may add such a feature at some point.

Quote:
Originally Posted by Snake. View Post
Best plugin i had ever used. Anyway, I have a suggestion for this plugin and i need it. Is is possible to add languages support for the settings or even items ? Example:

Code:
[New Menu = Menu Sample]

[Menu Settings]
MENU_OPEN = say /menu
MENU_ITEMS_PER_PAGE = 2
MENU_TITLE = TITLE_TRANSLATION
MENU_TITLE_PAGE = TITLE_PAGE_TRANSLATION
MENU_BACK = BACK_TRANSLATION
MENU_NEXT = NEXT_TRANSLATION
MENU_EXIT = EXIT_TRANSLATION
MENU_NOACCESS = MENU_NOACCESS_TRANSLATION
MENU_NOTEAM = MENU_NOTEAM_TRANSLATION
MENU_ALIVE = MENU_ALIVE_TRANSLATION
MENU_DEAD = MENU_DEAD_TRANSLATION
MENU_LANG_PATH = menusample.txt

[Menu Items]
"%L" "FIRST_TRANSLATION"
"%L" "SECOND_TRANSLATION"
Multilingual menus will be available in AMXX 1.9/1.10 (click). I don't plan on adding such a feature earlier.
__________________

Last edited by OciXCrom; 09-24-2018 at 07:43.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
RBE sLayeR
Member
Join Date: Jul 2019
Location: Republic of Kosovo
Old 07-27-2019 , 15:34   Re: Simple Menu Builder
Reply With Quote #4

How can i make a submenu with a bunch of other commands ?
For example I want to make a submenu for trails
example title trail menu
then command
"say trail red"
"say trail green" etc etc ...

Last edited by RBE sLayeR; 07-27-2019 at 15:36.
RBE sLayeR is offline
MihailoZ
Member
Join Date: Aug 2013
Old 07-06-2016 , 21:09   Re: Simple Menu Builder
Reply With Quote #5

This plugin will be useful for me. Great job.
__________________
mhvtnns

Last edited by MihailoZ; 07-06-2016 at 21:10.
MihailoZ is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-07-2016 , 09:46   Re: Simple Menu Builder
Reply With Quote #6

Update v1.3 @ 07.07.2016

Now it is possible to make player menus by using #addplayers "command" "flags" in the Menu Items section. I also added a MENU_REOPEN setting, which reopens the menu on the same page after being used.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-14-2017 , 15:00   Re: Simple Menu Builder
Reply With Quote #7

Update @ 14.01.2017
  • Added an option to make menus or menu items available on specific maps only. You can also use map prefixes (cs_*, de_*, etc).
  • Found a way to make the plugin "more advanced", by adding an option to execute functions from other plugins - do.func(plugin_name.amxx, function_name).
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-14-2017 , 15:15   Re: Simple Menu Builder
Reply With Quote #8

PHP Code:
callfunc_begin(eItem[Function], eItem[Plugin])
callfunc_push_int(id)
callfunc_end() 
That's not really going to work. What if the target function has more than one param?
__________________
HamletEagle is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-14-2017 , 15:31   Re: Simple Menu Builder
Reply With Quote #9

Well, we're talking about client menus, so only functions with one parameter (id) should be used.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-14-2017 , 15:37   Re: Simple Menu Builder
Reply With Quote #10

A menu that sets to player x an ammount of something y. It's still a client menu. At least make this clear in the instructions.
__________________
HamletEagle is offline
Reply


Thread Tools
Display Modes

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 06:06.


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