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)

OciXCrom 02-04-2017 08:21

Re: Simple Menu Builder
 
Bugfix v2.0b @ 04.02.2017

  • Fixed a bug that prevented the menu from closing when MENU_REOPEN is enabled.

Enrory 02-04-2017 09:04

Re: Simple Menu Builder
 
So i have many plugins and i want some plugins commands in one menu. (most have a default menu)
Example:
1. Trail menu
press 1 and show the default trail menu!
Is that not possible with this plugin?

OciXCrom 02-04-2017 09:10

Re: Simple Menu Builder
 
Who said it isn't possible? That's the exact purpose of this plugin - http://i.imgur.com/0Ke8wvu.jpg
Did you fix your mistakes as I said on the previous page?

Enrory 02-04-2017 09:21

Re: Simple Menu Builder
 
I have now fix this with the [New Menu]
in default now:
;MENU_OPEN = say /menu, say_team /menu,

In the picture it shows the cvars(rtv). at me not.
sry my english is bad

http://steamcommunity.com/sharedfile.../?id=856749918

OciXCrom 02-04-2017 10:22

Re: Simple Menu Builder
 
Oh, you're using it on Half-Life. I don't know really know whether it will work properly there. Could you post the full .ini file with the changes once again to see if everything is OK?

Enrory 02-04-2017 11:09

Re: Simple Menu Builder
 
Quote:

Originally Posted by OciXCrom (Post 2492793)
Oh, you're using it on Half-Life. I don't know really know whether it will work properly there. Could you post the full .ini file with the changes once again to see if everything is OK?

yeah mybe this make a problem.
normal it disable the colours but work. (cs plugins)
I test it with , and without ,

My last test .ini looks there.

PHP Code:

[Default Settings]
;
These are the default settings for each menu created.
;
You can add certain options in [Menu Settings] if you want to change them.
;
Please note that every menu needs to have a different MENU_OPEN settingstherefore there's no default one.

MENU_TITLE = Menu
MENU_TITLE_PAGE = %newline%Page:\d
MENU_BACK = \yPrevious Page
MENU_NEXT = \yNext Page
MENU_EXIT = \rClose
;MENU_OPEN = say /menu, say_team /menu,
MENU_FLAG = 0
MENU_ALIVEONLY = 0
MENU_ITEMS_PER_PAGE = 7
MENU_REOPEN = 0
MENU_ITEM_FORMAT = %item%
MENU_PREFIX = !g[ Menu ]!n
MENU_NOACCESS = You have no access to this menu.
MENU_ALIVE = You need to be alive to use this menu.
MENU_DEAD = You need to be dead to use this menu.
MENU_SOUND =

[New Menu = menu]
[Menu Settings]
;This is the command that will open the menu.
MENU_OPEN = say /menu, say_team /menu,  

[Menu Items]
"Trails" "say trail menu"
"Glow" "say glow menu"
"Hats" "say /hats" 


OciXCrom 02-04-2017 11:24

Re: Simple Menu Builder
 
I told you to remove the comma in the end:

MENU_OPEN = say /menu, say_team /menu,

Enrory 02-04-2017 11:31

Re: Simple Menu Builder
 
Quote:

Originally Posted by Enrory (Post 2492802)
I test it with , and without ,


OciXCrom 02-04-2017 12:00

Re: Simple Menu Builder
 
Then it probably doesn't work on Half-Life. I don't have the game, so i can't test it and tell you for sure.

addons_zz 02-04-2017 12:13

Re: Simple Menu Builder
 
Quote:

Originally Posted by Enrory (Post 2492412)
Hello!
I test it on my server.

I see the Item Menus with 1,2,3,... (and Name)
I press the number and the menu is close and do nothing.
Maybe I'll forget something

This is the problem?


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

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