Raised This Month: $32 Target: $400
 8% 

New AMXX Menu System Edit


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConorCC
Member
Join Date: Feb 2014
Old 10-25-2015 , 12:15   New AMXX Menu System Edit
Reply With Quote #1

Hi!

I want to create a new amxx menu with the newmenus.inc
So i dont want use the register_menu function in the plugin_init,
I want to use the a new funcions.

The normal menu style is it:

\yMenu Tittle^n
^n
\r1.\w Menu Option #1^n
\r2.\w Menu Option #2^n
etc...
\r8.\w Back^n
\r9.\w Next^n
^n
\r0.\w Exit^n

And i want to make it:

\rMenu Tittle^n
^n
\y(1)\w Menu Option #1^n
\y(2)\w Menu Option #2^n
etc...
\y(\w Back^n
\y(9)\w Next^n
^n
\y(0)\w Exit^n

-
-
-

new menu = menu_create("\r Menu Title","menu_handler");

menu_additem(menu, "Menu Option #1", "1");
menu_additem(menu, "Menu Option #2", "2");
menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
menu_display(id, menu, 0);

... It is understandable that I would like ?
ConorCC is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-25-2015 , 13:49   Re: New AMXX Menu System Edit
Reply With Quote #2

You might be able to change the color of the title, have you tried?
__________________

Last edited by fysiks; 10-25-2015 at 18:53.
fysiks is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-25-2015 , 14:19   Re: New AMXX Menu System Edit
Reply With Quote #3

You can change the number color:

PHP Code:
menu_setprop(menuMPROP_NUMBER_COLOR"\y"
OciXCrom is offline
Send a message via Skype™ to OciXCrom
ConorCC
Member
Join Date: Feb 2014
Old 10-25-2015 , 15:31   Re: New AMXX Menu System Edit
Reply With Quote #4

Yes, thanks. But i want to change the numbers from 1. to (1).
Can you help me?
ConorCC is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-25-2015 , 16:38   Re: New AMXX Menu System Edit
Reply With Quote #5

I don't think that's possible.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
ConorCC
Member
Join Date: Feb 2014
Old 10-26-2015 , 05:50   Re: New AMXX Menu System Edit
Reply With Quote #6

I think we need to change it in the base amxx function, but i dont know where can i edit it because it is not a plugin or include.
ConorCC is offline
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 00:21.


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