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

Change/hide buttons on menu?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
supertrio17
Senior Member
Join Date: May 2020
Location: Serbia
Old 07-05-2020 , 21:37   Change/hide buttons on menu?
Reply With Quote #1

Hey, so I came across one server where they have this kind of menu, I'm not really sure how to replicate it, can anyone help?
__________________
Contact! || Discord:
Mr_Boopsy_#2066
supertrio17 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-05-2020 , 21:56   Re: Change/hide buttons on menu?
Reply With Quote #2

Code:
menu_setprop(menu, MPROP_NUMBER_COLOR, "\r|>\y")
__________________

Last edited by OciXCrom; 07-05-2020 at 21:56.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
supertrio17
Senior Member
Join Date: May 2020
Location: Serbia
Old 07-05-2020 , 22:03   Re: Change/hide buttons on menu?
Reply With Quote #3

Quote:
Originally Posted by OciXCrom View Post
Code:
menu_setprop(menu, MPROP_NUMBER_COLOR, "\r|>\y")
Now I get this
__________________
Contact! || Discord:
Mr_Boopsy_#2066
supertrio17 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-06-2020 , 01:40   Re: Change/hide buttons on menu?
Reply With Quote #4

You're using the "new menu" system which is is built around a particular format which is not capable of doing what you show in the image. You have to use original menu system (register_menucmd(), etc.) which is more flexible.
__________________
fysiks is offline
alferd
Veteran Member
Join Date: Dec 2019
Location: Iran is Always Eternal
Old 07-06-2020 , 03:49   Re: Change/hide buttons on menu?
Reply With Quote #5

https://wiki.alliedmods.net/Advanced...X_Mod_X)#Menus
__________________
Jailbreak AD 2.0

The greatest civilization of 🇮🇷IRAN🇮🇷
alferd is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-06-2020 , 08:53   Re: Change/hide buttons on menu?
Reply With Quote #6

Either use the old menu system or simply settle with a different format. With the new menus you can achieve "|> 1. <|". The period after the number cannot be removed. Be creative or use the old style.
__________________

Last edited by OciXCrom; 07-06-2020 at 08:54.
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 19:53.


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