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

Simple Menu Builder


Post New Thread Reply   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-13-2020 , 16:12   Re: Simple Menu Builder
Reply With Quote #141

Meaning you do have slowhacking protection. The problem is from your game, not the plugin.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Ark_Procession
Senior Member
Join Date: Jun 2020
Location: Argentina
Old 08-13-2020 , 16:29   Re: Simple Menu Builder
Reply With Quote #142

Quote:
Originally Posted by OciXCrom View Post
Meaning you do have slowhacking protection. The problem is from your game, not the plugin.
Great thanks!

if you have any ideas how to disable slowhacking protection, let me know

Thank you so much
Ark_Procession is offline
Mark.uG
AlliedModders Donor
Join Date: Oct 2014
Old 08-13-2020 , 21:59   Re: Simple Menu Builder
Reply With Quote #143

Can this show

Example
Sounds [Off] else Sound [On] on one line if the sound is on it says on if off says off?
Mark.uG is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-14-2020 , 05:43   Re: Simple Menu Builder
Reply With Quote #144

Edit the plugin that contains that command.
__________________

Last edited by OciXCrom; 08-14-2020 at 05:43.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
HowToRuski
Senior Member
Join Date: Feb 2019
Location: Hungary
Old 08-28-2020 , 06:57   Re: Simple Menu Builder
Reply With Quote #145

Is there a way i can change menus numbering style? Like \r[1]\y Menu 1 etc?
HowToRuski is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-28-2020 , 08:08   Re: Simple Menu Builder
Reply With Quote #146

Not with the new menu system. I have no intention in making the plugin use the old one.

So, before number formatting gets added in AMXX, I won't be adding this feature.
https://github.com/alliedmodders/amxmodx/pull/529
__________________

Last edited by OciXCrom; 08-28-2020 at 08:10.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
HowToRuski
Senior Member
Join Date: Feb 2019
Location: Hungary
Old 08-28-2020 , 08:20   Re: Simple Menu Builder
Reply With Quote #147

Quote:
Originally Posted by OciXCrom View Post
Not with the new menu system. I have no intention in making the plugin use the old one.

So, before number formatting gets added in AMXX, I won't be adding this feature.
https://github.com/alliedmodders/amxmodx/pull/529
Ok, but at least tell me where in the code its located? Where you put the numbering? %d.?
I just want a simple thing - /y[1]/r Menu 1. Is that very hard to get?

Last edited by HowToRuski; 08-28-2020 at 08:25.
HowToRuski is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-28-2020 , 09:54   Re: Simple Menu Builder
Reply With Quote #148

Like I said, it's not in the code. You need to use the old menu style in order to apply custom numbers, aka number the menu manually. In order to do this, the entire plugin needs to be rewritten.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Kelso
Junior Member
Join Date: Nov 2019
Old 08-28-2020 , 16:15   Re: Simple Menu Builder
Reply With Quote #149

Hello I have tried to add this menu:

https://forums.alliedmods.net/showthread.php?t=293632

But clients who use "cl_filterstuffcmd 1" get this error in console: Server tried to send invalid command /knife

So I tried what you explained here:

Quote:
Originally Posted by OciXCrom View Post

You can still use it in any game without executing the "say" command.
You'll need to execute the plugin's function directly:

PHP Code:
"Trails" "do.func(plugin_name.amxx, function_name)" 
Instead of "plugin_name.amxx", type your plugin's filename, for example "player_trail.amxx".

Instead of "function_name", you need to type the function that opens the trail menu. In order to find the correct name, you need to open the trail's plugin .sma file and find the line that registers the command. It looks like this:

PHP Code:
register_clcmd("say trail menu""some_function"
You can do the same for all other commands.
I did it like this:

"Seleccionar un Cuchillo" "do.func (crx_knife_models.amxx, Cmd_Knife)"

But it doesn't open the menu
Kelso is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-29-2020 , 16:53   Re: Simple Menu Builder
Reply With Quote #150

Remove the space between do.func and (
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply



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 15:28.


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