Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
Quote:
|
Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
Spawn calls for spec.
If you dont want a team menu. Wait a frame from the first spawn call during join and set your team and cs respawn if you want to. |
Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
Quote:
|
Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
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. |
Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
Quote:
|
Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
On connect set a flag to set show to false in the vgui to block the team menu.
On first spawn use request frame and set the team in the callback. On first team vgui set show to false and clear your flag. |
Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
Quote:
If so, just try to change team after being spawned. You won't be able to use the menu. |
Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
The order will be.
OnSpawn > Request Frame VGUI > hide Set Team after VGUI is hidden You are right. If u play with teams during the vgui you're screwed after an update a while back. I wrote a whole thread on this then made the motd changer plugin. |
Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
Quote:
Which spawn is that? the client full connected? or the client being spawned in a team? Which vgui? The vgui which shows the "Continue" screen? because I think there's no vgui for that screen. Because I said, using ChangeClientTeam with that screen being showed, will bug the team menu... Why don't you simply post the code here lol |
Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
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. |
| All times are GMT -4. The time now is 23:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.