Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
Quote:
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. |
Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
This post ended up helping me do something.
This is kinda crappy but...I hook the VGUIMenu, if its the first appearance, I move the client to spectator to get rid of the menu, then I show a new team menu one 0.1 seconds later. The difference is the new menu doesn't have the countdown of mp_force_pick_time seconds. Also I want people to see the menu just without a countdown. Some questions:
PHP Code:
|
Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
Quote:
PHP Code:
|
Re: [CS:GO] Final and fancy solution for putting a player in a team on connect
For CS:GO:
mp_force_pick_time 0 mp_force_assign_teams 0 HookEvent: player_connect_full, then requestframe changeclientteam. This works without any bugs (like buying weapons). This is for people which don't want to use vguimenu. |
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
Quote:
GetClientAuthId works in player_connect_full. then you check the steamid and use ChangeClientTeam. |
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
Quote:
Quote:
|
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
It is working for CS:S?
|
| All times are GMT -4. The time now is 23:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.