View Single Post
xtance
Junior Member
Join Date: Feb 2018
Old 11-21-2020 , 18:53   Re: [CS:GO] surpressing event "player_team" will lead to not closing the teamselect p
Reply With Quote #16

Quote:
Originally Posted by FAQU View Post
Make sure you DON'T return Plugin_Handled.
Yes, it finally worked, just forgot to edit post
PHP Code:
public Action Event_PlayerTeam(Event event, const char[] namebool dontBroadcast) {
    if (
dontBroadcast || event.GetBool("disconnect")) return Plugin_Continue;
    
event.SetBool("silent"true);
    return 
Plugin_Changed;

xtance is offline