AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Simple Menu Builder (https://forums.alliedmods.net/showthread.php?t=284324)

Nicnacticback 02-21-2017 23:30

Re: Simple Menu Builder
 
it doesn't work, because when i do press the button it doesn't do anything
when pressed, it doesn't show the choose team menu. Maybe because i have MENU_OPEN = chooseteam is there a way to do both without issues?
thanks in advance

addons_zz 02-21-2017 23:42

Re: Simple Menu Builder
 
When you set `MENU_OPEN = chooseteam` it does not open the menu?

Nicnacticback 02-22-2017 01:03

Re: Simple Menu Builder
 
this opens the simple menu builder but doesn't open the actual chooseteam menu
In the list of menu building i put the option to orpn the menu "open choosetram menu" "choosemenu" but all it did was open the same menu again when ehat i really eant is the teame menu to open :/

brlight 02-22-2017 04:13

Re: Simple Menu Builder
 
You canīt use same commands to open menu and choose team (loop).
This way will work:

Solution for your problem:
MENU_OPEN = chooseteam

[Menu Items]
"Choose Team" "jointeam"

Nicnacticback 02-22-2017 11:09

Re: Simple Menu Builder
 
This worked thank you !

OciXCrom 02-25-2017 09:47

Re: Simple Menu Builder
 
Update v2.1 @ 25.02.2017
  • Added a MENU_TEAM option, which can be used to make the menu available for a certain team only, as well as MENU_NOTEAM - the message that will be shown if you don't have access.
  • Added an option to make items available for a certain team only (Yay, I finally did it!). Example:

    PHP Code:

    ;<Item Name> <Command> [Flag] [Team]
    "Terrorist Menu" "say /tmenu" "" "1"
    "CT Menu" "say /ctmenu" "" "2"
    "Spec Menu" "say /specmenu" "" "3"
    "CT Hats Menu" "say /hats" "b" "2" 


brlight 02-27-2017 13:29

Re: Simple Menu Builder
 
It took a while but itīs done! :-)
Thanks for adding that feature!

brlight 03-12-2017 06:01

Re: Simple Menu Builder
 
Is it possible with this plugin to do something like:

You type in chat /extra and a menu like this appears:

Extra menu
- drunk
- drug
- burn
After you selected an item from extra menu a menu will appear with all available players to use the commands associated with extra menu items.
Hopefully you understand what I mean.
If it is possible could you please do a small example how to achieve this?
Thanks in advance!

P.s.- Basically the same way that default options kick, ban from amxmodxmenu work

OciXCrom 03-12-2017 10:29

Re: Simple Menu Builder
 
PHP Code:

[New menu Extras]

[
Menu settings]
MENU_OPEN say /extra

[Menu items]
"drunk" "menu_drunk"
"drug" "menu_drug"
"burn" "menu_burn"

[New menu Drunk]

[
Menu settings]
MENU_OPEN menu_drunk

[Menu items]
#addplayers "amx_drunk #%userid%" "abc"

[New menu Drug]

[
Menu settings]
MENU_OPEN menu_drug

[Menu items]
#addplayers "amx_drug #%userid%" "abc"

[New menu Burn]

[
Menu settings]
MENU_OPEN menu_burn

[Menu items]
#addplayers "amx_burn #%userid%" "abc" 


brlight 03-12-2017 15:22

Re: Simple Menu Builder
 
Work like a charm!Thank you!

Edit: Perhaps is a easy solution or perhaps is not possible but Im trying to do so when you choose one of the options:
"drunk" "menu_drunk"
"drug" "menu_drug"
"burn" "menu_burn"

then you have the option to go back to the first page of the main menu ( say /extra)
I tried using reopen feature but doesnīt work, I guess itīs because the "menu_drunk", "menu_drug" and "menu_burn" are not submenus from [New menu = Extras]
Is it possible with the actual plugin to do this?


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

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