Temerity
07-24-2007, 01:04 AM
I did both the team and class menu tutorials off the gneu wiki, I got them both working right but I wanted to tweak it a little bit.
Basically I don't want the player to spawn until they have a class. So after the player chooses their team, they get taken to the class selection menu, and only after they choose their class will they spawn. Same thing if they change teams. I don't want the player to be able to press cancel on the class selection screen and be in the game with no weapons etc...
I suppose though if the player wanted to change their class midway through a game and bring up the classmenu, as long as they have a class, then they can press cancel and get out of the menu.
I tried a bunch of stuff but I couldn't get it to work right, I think I could maybe get it working if I put a bunch of the code on the server side, but it seems to me that it would be much more efficient to do it client side.
Hopefully everyone is following me! If you played TFC, that is basically what I want, thanks!
Basically I don't want the player to spawn until they have a class. So after the player chooses their team, they get taken to the class selection menu, and only after they choose their class will they spawn. Same thing if they change teams. I don't want the player to be able to press cancel on the class selection screen and be in the game with no weapons etc...
I suppose though if the player wanted to change their class midway through a game and bring up the classmenu, as long as they have a class, then they can press cancel and get out of the menu.
I tried a bunch of stuff but I couldn't get it to work right, I think I could maybe get it working if I put a bunch of the code on the server side, but it seems to me that it would be much more efficient to do it client side.
Hopefully everyone is following me! If you played TFC, that is basically what I want, thanks!