I read topic on getting classmenu to pop up after team choose.
The only difference is I have two different classmenus, and chooseclass checks team and pops up the correct one depending on what team you are on.
In the code OnTeamButton is commented out and when I uncomment it (and MakeTeamButtons) and uncomment declarations in the header file, it won't compile because of a missing array. (m_pTeamButtons) I searched the entire project for "m_pTeamButtons" but the only thing it found was where it is being used, in MakeTeamButtons. (It was never defined)
So I am using CTeamMenu::OnCommand, the only problem is it seems to be called before their team is switched, so it is popping up the classmenu for the team they are switching from Is there any way to get around this?
Thanks