Quote:
Originally Posted by Austin
I created a very simple map change menu for csgo and it works but Menu.Display() uses a giant font.
Can the font size be changed to something more reasonable to show more menu items?
Here is basicially what I am doing and it's working great except for the GIANT font size...
PHP Code:
Menu menu= null;
File file = OpenFile("maplist.txt", "rt");
while (!file.EndOfFile() && file.ReadLine(mapname, sizeof(mapname)))
{
if (!IsMapValid(mapname))
continue;
menu.AddItem(mapname, mapname);
}
file.Close();
menu.SetTitle("Please select a map:");
menu.Display(client, MENU_TIME_FOREVER);
|
Hey there. As far as I know there isn't any way of changing the menu font.
Also, if you could change the font size you would not be able to add more menu items in 1 page. There is a maximum of 10 items per page in the menu:
Index 0: Menu title
Index1-6: Menu items added by the plugin
Index7: Button to go previous page (if enabled)
Index8: Go to the next page
Index 9: Exit (if enabled)
__________________