Hello && sorry about my English
I need to detect when player reaches SELECT TEAM MENU
For now, I have
Code:
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_message(get_user_msgid("VGUIMenu"), "detectTeamSelect");
}
publuic detectTeamSelect()
{
// menu id
// if(get_msg_arg_int(1) == ?)
}
Where can I find list of predefined VGUIMenu id's so I can use them with
get_msg_arg_int()?
How to do same with old style menus? I know, that I can use
ShowMenu event instead of VGUIMenu, but then where can I find all returning menu messages (If they are called like that), like
#Team_Select,
#IG_Team_Select
ty!
__________________