View Single Post
joao7yt
Senior Member
Join Date: Nov 2014
Location: Brazil
Old 09-06-2017 , 17:56   Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
Reply With Quote #15

Quote:
Originally Posted by Neuro Toxin View Post
Just set show to false in the VGUIMenu hook if sv_disable_show_team_select_menu doesn't work for you.

The team menu is distributed on the first spawn call. So wait a frame and then set your team.
Oh, wait, the spawn you are saying is when the player connects? If so, I was doing it before, but as I said, if you change the client's with the "Continue" screen opened, it will bug the client, he won't be able to use the team menu to change team... I mean, if you already don't want the client to change team, it's ok, but in my case I want to let them to go to spec (then I set them as a coach for the team he was), and let coaches join to play on the team he's coaching... anyway, what I mean is that changing the client's team too soon (more specifically with the "Continue" screen opned) it will bug the team menu for that client.

Last edited by joao7yt; 09-06-2017 at 17:57.
joao7yt is offline