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

new menus exit not showing?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 06-27-2012 , 08:39   new menus exit not showing?
Reply With Quote #1

why isnt the exit button showing when i set
Code:
menu_setprop(nkmenu, MPROP_PERPAGE, 0)
(i have 8 items in the menu)

edit:
i found this:
http://forums.alliedmods.net/showthread.php?t=46364
Quote:
One can remove the Next, Back, and Exit buttons to show up to 10 items by using:
Code:
menu_setprop(menu, MPROP_PERPAGE, 0);
so i have to create my own exit button if i want it?

Last edited by jimaway; 06-27-2012 at 08:44.
jimaway is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 06-27-2012 , 08:52   Re: new menus exit not showing?
Reply With Quote #2

Yes that is correct. You can add more than 10 items, but I don't think there's a way to select the button for them.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 06-27-2012 , 12:39   Re: new menus exit not showing?
Reply With Quote #3

Quote:
Originally Posted by jimaway View Post
why isnt the exit button showing when i set Code:
menu_setprop(nkmenu, MPROP_PERPAGE, 0)

(i have 8 items in the menu)

edit:
i found this:
http://forums.alliedmods.net/showthread.php?t=46364


so i have to create my own exit button if i want it?
What are you trying to do?
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 06-28-2012 , 05:24   Re: new menus exit not showing?
Reply With Quote #4

i wanted to turn paginating off for my menu and still have an exit button on it
also im not trying to to it anymore, i already did it
jimaway is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 06-28-2012 , 16:46   Re: new menus exit not showing?
Reply With Quote #5

Use old style menu.
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-28-2012 , 18:43   Re: new menus exit not showing?
Reply With Quote #6

You simply need to create an exit option manually just like every other item. Then, you handle it like a normal option and destroy the menu and return handled.
__________________
fysiks is offline
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 07:57.


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