Raised This Month: $ Target: $400
 0% 

i want to make a menu inside a menu [solved]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Owyn
Veteran Member
Join Date: Nov 2007
Old 03-10-2009 , 11:41   i want to make a menu inside a menu [solved]
Reply With Quote #1

a menu like

Code:
menu
1. text1
     ->1. Yes ->action
     ->2. No ->return to menu
2. text2
     ->1. Yes ->action
     ->2. No ->return to menu
0. Exit
i found a few tutorials already but it will take me some hours to figure out and make it working
will apreciate any help if you have time
Owyn is offline
Send a message via ICQ to Owyn
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 03-10-2009 , 11:52   Re: i want to make a menu inside a menu
Reply With Quote #2

But. What do you need. When press 1. They Asing text1 and a new 1. They will goto the first action¡?

If you want to edits menus style use ^n
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
Owyn
Veteran Member
Join Date: Nov 2007
Old 03-10-2009 , 12:00   Re: i want to make a menu inside a menu
Reply With Quote #3

when press 1 it should show the submenu1 with yes and no
Owyn is offline
Send a message via ICQ to Owyn
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 03-10-2009 , 12:04   Re: i want to make a menu inside a menu
Reply With Quote #4

menu_additem(menu, "OTHERMENU TITLE^n^t1. Yes^n^t2. No", 0)
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
Owyn
Veteran Member
Join Date: Nov 2007
Old 03-10-2009 , 12:48   Re: i want to make a menu inside a menu
Reply With Quote #5

should i use it after menu_destroy ? else menu_additem will just an item so there will be
1. text1
2. text2
3. OTHERMENU TITLE
t1. Yes
t2. No
Owyn is offline
Send a message via ICQ to Owyn
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-10-2009 , 12:55   Re: i want to make a menu inside a menu
Reply With Quote #6

AMX_Super_Menu does this, as does many base AMXX menus. Look at the source code of some of these plugins
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 03-10-2009 , 13:37   Re: i want to make a menu inside a menu
Reply With Quote #7

i got it, i'll just make few menu and make one call another one
Owyn is offline
Send a message via ICQ to Owyn
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 08:57.


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