menu keys disappears
Hey guys,
i got again a problem. I wanna do my own team select menu and it should shows like : 1. Teamname 1 2. Teamname 2 5. Auto-Select 6.Spectator Well this is no problem with menu_addblank but when i do this, key 5 and 6 just disappears and he selects nothing. Why he is doing that ? PHP Code:
|
Re: menu keys disappears
I'm not sure, but i think
Code:
menu_addblank(menu); Code:
menu_addblank(menu); |
Re: menu keys disappears
Quote:
Try this: PHP Code:
|
Re: menu keys disappears
engclient_cmd( id, "menuselect", "1" );
-> engclient_cmd( id, "menuselect 1" ); |
Re: menu keys disappears
Quote:
|
Re: menu keys disappears
How is teamselect registered ?
|
Re: menu keys disappears
PHP Code:
PHP Code:
Is it maybe a buq in addblank ? because without blank it works perfectly |
Re: menu keys disappears
May be this can help you, partially : http://forums.alliedmods.net/showthread.php?t=130708
Look only at menus that contain "Team_Select" and notive that keys are not the same in all menus, sometimes you have spec option sometimes you have not, same for exit key, and other specific vip maps. |
Re: menu keys disappears
Mhh Thanks for it and i undestood what you said but i dont know which code could help me.
Well, i tested it with menu_addblank(menu, 0) now it works but the numbers are wrong. Have now like: 1. team 1 2. team 2 3. auto-select 4. spectator But i want like in original, 5. auto-select and 6. spectator but with only menu_addblank(menu) dont work *EDIT For everyone who got the same problem. I have used now the old menu system and now it works perfectly. PHP Code:
|
| All times are GMT -4. The time now is 11:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.