I suppose I could have just posted a picture but that'd be too easy.
This script will give you a "show_me" command that, when called, will display a test menu. Page 2 of the menu has the 10 items.
Will show script and attach it.
Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("Should Be 0, Not 10", "1.0", "Brad Jones");
register_clcmd("show_me", "_cmd_show_me");
}
public _cmd_show_me(id)
{
new menu = menu_create("0 or 10? See Page 2.", "menu_handler");
new menuText[24], menuCmd[3];
for (new menuItemIdx = 1; menuItemIdx <= 21; menuItemIdx++)
{
format(menuText, 23, "Menu Item #%i", menuItemIdx);
num_to_str(menuItemIdx, menuCmd, 2);
menu_additem(menu, menuText, menuCmd, 0);
}
menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
menu_display(id, menu, 0);
}
public menu_handler(id, menu, item)
{
menu_destroy(menu)
return PLUGIN_HANDLED
}