Raised This Month: $23 Target: $400
 5% 

Simple Menu Builder


Post New Thread Reply   
 
Thread Tools Display Modes
MihailoZ
Member
Join Date: Aug 2013
Old 07-06-2016 , 21:09   Re: Simple Menu Builder
Reply With Quote #11

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 #12

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 #13

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 #14

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 #15

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 #16

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
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-14-2017 , 15:42   Re: Simple Menu Builder
Reply With Quote #17

Yeah, but that will be far too complex to make. I edited the instructions for now.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
brlight
Senior Member
Join Date: Jun 2011
Old 01-15-2017 , 05:45   Re: Simple Menu Builder
Reply With Quote #18

Hi thanks for sharing!
Beside making some itens only accessible by flag could you make it also only accessible by Team? Only CT or T?
Thx!
brlight is offline
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 01-15-2017 , 21:06   Re: Simple Menu Builder
Reply With Quote #19

i like your plugin it's usefull for me i use it like a weapons menu :

Spoiler


but i have some suggestion like :

1. make the plugin have a fuction that can hide the exec cmd from the console so the client can't see it

2.make a message side to the cmd like :

Code:
[Menu Items]
;"Item name" "command to execute" "side message"
"Thanatos-5" "give_thn5" "Requiet Admin Access"
"Dart-Pistol" "get_dart" "requiet Vip Access"
so that the player will see :

Code:
"Thanatos-5" "Requiet Admin Access"
"Dart-Pistol" "requiet Vip Access"
3.and maybe if you could make it have a function allowed to the owner make item with money without need to change the plugin to add that ability like :

Code:
[Menu Items]
;"Item name" "command to execute" "side message" "requiet money"
"Thanatos-5" "Requiet Admin Access"
"Dart-Pistol" "requiet Vip Access"
"Watergun-Pistol" "12000$"
"Balrog-11" "16000$"
and your plugin help me alot so thanks you so much

Last edited by yas17sin; 01-15-2017 at 21:09.
yas17sin is offline
Send a message via ICQ to yas17sin
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-16-2017 , 09:45   Re: Simple Menu Builder
Reply With Quote #20

1. Not possible.
2. Why don't you add the message in the item's name?!
3. This is not a shop.

@brlight - I'll add that soon.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Old 01-16-2017, 10:44
Napoleon_be
This message has been deleted by Napoleon_be. Reason: nvm
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 09:23.


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