Hooking team_select - the old menu
Hello,
My server mod is GunGame (respawn). I use this to hook all possible team menus (I know that only 2-3 of them are usable in case of not using VIP, but just to be sure): Code:
register_menucmd(register_menuid("#IG_Team_Select_Spect", true), MENU_KEY_1|MENU_KEY_2|MENU_KEY_5|MENU_KEY_6, "select_team_old");The problem is that in some cases (let's say 1 / 10), the menu appears, the key is pressed (1, 2, 5, 6 - doesn't matter) but the function isn't called. Under what circumstances the function ("select_team_old") is not hooked to the menu ? Thank you! LE: I remember that I've done some tests some time ago and the problem doesn't exist if the server is empty (me being the only player). |
| All times are GMT -4. The time now is 05:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.