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

Quote:
Originally Posted by Neuro Toxin View Post
The spawn is the very first one from connect.

It's been a while since the update that fucked with this stuff.

Im pretty sure if you block the team menu the continue screen doesn't show.
No, the continue screen always show, there's no way to hide/close it. That being said and you agreeding with me that you can't change the client's team with that screen being showed because it will bug the team menu for that client, the way to hook when that screen is gone is hooking when "team" vguimenu appears. And it's what my code does.

You could "bypass" the bugs by adding a timer to put the client in a team when the "Continue" screen (this one) was gone, but if the player minimize the game, the "Continue" screen is paused, making the timer useless, since it would trigger "ChangeClientTeam" with the "Continue" screen being showed.

Last edited by joao7yt; 09-06-2017 at 18:40.
joao7yt is offline