Quote:
Originally Posted by CrimsonGT
Can you block the class select menu with that same method? I see your only hiding it when you kill them and change their team, but I am trying to figure out how to do it so when they first join, after they select a team, they dont get the class select screen.
|
I'm pretty sure that if you manage to block the class selection
(you could hook the cmd "jointeam" and block the class selection if
player's team is "Unassigned" = 0 on calling it)
the player would not spawn unless you'd add a
FakeClientCommand(client, "cls_*")
while cls_* should be the class that you want to give him
(i.e. cls_random)
(I couldn't get to set a players class yet, it just displays on the scoreboard when I
change it through "m_iPlayerClass", but once a player respawns,
it's changed to the class the player selected before.)
To be honest, I didn't do any research on that then as I didn't need to use it yet.
I hope that post makes any sense to you, just got out of the bed and have to go to work now