View Single Post
xtance
Junior Member
Join Date: Feb 2018
Old 10-31-2020 , 07:19   Re: [CS:GO] surpressing event "player_team" will lead to not closing the teamselect p
Reply With Quote #14

Quote:
Originally Posted by Ilusion9 View Post
PHP Code:

HookEvent
("player_team"Event_PlayerTeamEventHookMode_Pre);

public 
Action Event_PlayerTeam(Event event, const char[] namebool dontBroadcast
{
    if(!
event.GetBool("disconnect"))
        
event.SetBool("silent"true);

Weird, teamselect menu is still bugged after this and team needs to be selected twice
xtance is offline