AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   i want to make a menu inside a menu [solved] (https://forums.alliedmods.net/showthread.php?t=87353)

Owyn 03-10-2009 11:41

i want to make a menu inside a menu [solved]
 
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 :grrr:
will apreciate any help if you have time

AntiBots 03-10-2009 11:52

Re: i want to make a menu inside a menu
 
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

Owyn 03-10-2009 12:00

Re: i want to make a menu inside a menu
 
when press 1 it should show the submenu1 with yes and no

AntiBots 03-10-2009 12:04

Re: i want to make a menu inside a menu
 
menu_additem(menu, "OTHERMENU TITLE^n^t1. Yes^n^t2. No", 0)

Owyn 03-10-2009 12:48

Re: i want to make a menu inside a menu
 
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

YamiKaitou 03-10-2009 12:55

Re: i want to make a menu inside a menu
 
AMX_Super_Menu does this, as does many base AMXX menus. Look at the source code of some of these plugins

Owyn 03-10-2009 13:37

Re: i want to make a menu inside a menu
 
i got it, i'll just make few menu and make one call another one


All times are GMT -4. The time now is 08:57.

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