AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   A menu with more than 7 options? (https://forums.alliedmods.net/showthread.php?t=60736)

purple_pixie 09-11-2007 10:23

A menu with more than 7 options?
 
So, amx's show_menu is a wicked function.

Its in-built multi-page support is also pretty wicked.

That said, it is a tad retarded.

I'm sure it's great for consistency to force a max of 7 options (leaving 8,9 and 0 for the reserved ones), but I want 9 (or even 10) damned options on one page.
I don't *want* more, previous and cancel to appear, I just want the options.

Is this possible?

Alka 09-11-2007 11:10

Re: A menu with more than 7 options?
 
Yeah, ...
Code:

#define MENU_ITEMS_PP 10
...
menu_setprop(menu, MPROP_PERPAGE, MENU_ITEMS_PP);

:wink: lol i just read it today! O_O

purple_pixie 09-11-2007 11:32

Re: A menu with more than 7 options?
 
Well if that ain't the coolest thing ever ...

You, my friend, are a hero.


All times are GMT -4. The time now is 16:10.

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