AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Dont work Exit menu (https://forums.alliedmods.net/showthread.php?t=171915)

oei 11-12-2011 13:37

Dont work Exit menu
 
i have a menu wiht 9 option and id doo this in the end menu:

PHP Code:

menu_setprop(menuMPROP_EXITMEXIT_ALL)
menu_setpropmenuMPROP_PERPAGE);
menu_setprop(menuMPROP_NUMBER_COLOR"\w");
menu_display(idmenu0

why i the exit is dont work?
thx.

Emp` 11-12-2011 13:52

Re: Dont work Exit menu
 
Code:

menu_setprop( menu, MPROP_PERPAGE, 0 );
This removes the exit button.

oei 11-12-2011 13:53

Re: Dont work Exit menu
 
Quote:

Originally Posted by Emp` (Post 1595386)
Code:

menu_setprop( menu, MPROP_PERPAGE, 0 );
This removes the exit button.

but i need the exit button..

MyPc 11-12-2011 14:23

Re: Dont work Exit menu
 
Quote:

Originally Posted by oei (Post 1595389)
but i need the exit button..

so remove this line (?)

oei 11-12-2011 15:22

Re: Dont work Exit menu
 
i need menu like this :

[Tag] Main Menu:

1.Option 1
2.Option 2
3.Option 3
4.Option 4
5.Option 5
6.Option 6
7.Option7
8.Option8
9.Option9
(all this in one menu)

Exit

Emp` 11-12-2011 18:26

Re: Dont work Exit menu
 
Create a menu item to behave as an exit then.

oei 11-13-2011 00:35

Re: Dont work Exit menu
 
Please Help..

fysiks 11-13-2011 00:50

Re: Dont work Exit menu
 
Quote:

Originally Posted by oei (Post 1595712)
Please Help..

Emp' did help you already. Read his last post. If you are unable to understand it I will say it again: Make your own Exit option with the code from post #1.

Bugsy 11-13-2011 01:03

Re: Dont work Exit menu
 
Did you remove this?

menu_setprop( menu, MPROP_PERPAGE, 0 );

fysiks 11-13-2011 04:16

Re: Dont work Exit menu
 
Quote:

Originally Posted by Bugsy (Post 1595719)
Did you remove this?

menu_setprop( menu, MPROP_PERPAGE, 0 );

He needs that to get more that 7 items (IIRC) and that is why Emp' told him to create his own exit option.


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

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