Raised This Month: $12 Target: $400
 3% 

Simple Menu Builder


Post New Thread Reply   
 
Thread Tools Display Modes
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 07-06-2019 , 15:08   Re: Simple Menu Builder
Reply With Quote #121

These 2 parts are exceptional.
Quote:
You can also make some menus or menu items appear on specific maps only. Use - mapname - for a specific map, - map_* - for map prefix and -#all - to use all maps again.
You can even execute a function from another plugin. You can do this by using do.func(plugin_name.amxx, function_name). Please note that you should use functions that have only one parameter, and that parameter should be the player's id.
Alias and bind is all some use while others prefer menu. The sound is a nice touch.
__________________
DJEarthQuake is offline
RBE sLayeR
Member
Join Date: Jul 2019
Location: Republic of Kosovo
Old 07-27-2019 , 15:34   Re: Simple Menu Builder
Reply With Quote #122

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
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-27-2019 , 17:22   Re: Simple Menu Builder
Reply With Quote #123

You can use the command that opens the menu in order to make a submenu, then enter the trail commands in said submenu. Here's an example:

PHP Code:
[New Menu Main Menu]

[
Menu Settings]

MENU_OPEN say /mainmenu

[Menu Items]

"Open Submenu" "say /submenu"

[New Menu Submenu]

[
Menu Settings]

MENU_OPEN say /submenu

[Menu Items]

"Red Trail" "say trail red" 
__________________

Last edited by OciXCrom; 07-27-2019 at 17:23.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Undercloacked
Member
Join Date: Jun 2012
Old 08-07-2019 , 07:22   Re: Simple Menu Builder
Reply With Quote #124

Thank you for this, great job.
__________________

Undercloacked is offline
Porcay
Junior Member
Join Date: Sep 2018
Old 04-16-2020 , 14:38   Re: Simple Menu Builder
Reply With Quote #125

Can anyone tell me how i make a sub-menu which exits to main menu ?
Porcay is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-16-2020 , 15:42   Re: Simple Menu Builder
Reply With Quote #126

Make the exit button manually and assign the command that opens the main menu to it.
I will add a MENU_EXIT_TO option in the next update. Guess I forgot about it.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 04-16-2020 , 18:41   Re: Simple Menu Builder
Reply With Quote #127

Your download link is dead because the image died: https://i.imgur.com/MYWJRLR.png

Instead of just adding an image, add some text to. Then, if the image dies (either permanently or temporarily [AdBlock?]), you can still find the download button.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-16-2020 , 19:58   Re: Simple Menu Builder
Reply With Quote #128

Oh boy. And it's the same image I use in all my threads. I'll have a look tomorrow.
__________________

Last edited by OciXCrom; 04-16-2020 at 19:59.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Lyklor
Junior Member
Join Date: Apr 2013
Location: Belgium
Old 05-21-2020 , 07:38   Re: Simple Menu Builder
Reply With Quote #129

Is it possible to make it support multilingual? Thanks for the plugin
Lyklor is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-21-2020 , 08:52   Re: Simple Menu Builder
Reply With Quote #130

Quote:
Originally Posted by Lyklor View Post
Is it possible to make it support multilingual? Thanks for the plugin
Yes. This is on my to-do list.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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:09.


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