AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to delete numbers in the menu? (https://forums.alliedmods.net/showthread.php?t=292851)

Gasior 01-15-2017 18:41

How to delete numbers in the menu?
 
Hi there again!

Quick question when I make a menu, in front of the options there are numbers. How do I get rid of them? I saw that on couple of servers and it looks way much better for my plugin. How do I do that?

Code:

public Menu( id )
 {
    new menu = menu_create( "\wMenu", "menu_handler");

    menu_additem( menu, "\yA" );
    menu_additem( menu, "\yB" );
    menu_additem( menu, "\yC" );
    menu_setprop( menu, MPROP_EXIT, MEXIT_ALL );
    menu_display( id, menu, 0 );

 }


EFFx 01-15-2017 18:50

Re: How to delete numbers in the menu?
 
You need to make a menu with old format.

Gasior 01-15-2017 19:19

Re: How to delete numbers in the menu?
 
Aaaahh. So simple. Thanks


All times are GMT -4. The time now is 21:02.

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