View Single Post
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 08-25-2018 , 07:18   Re: [CS:GO] surpressing event "player_team" will lead to not closing the teamselect p
Reply With Quote #4

PHP Code:

#Cstrike_game_join_spectators
#Cstrike_game_join_terrorist
#Cstrike_game_join_ct 
PHP Code:

    
if(StrContains(Text"Cstrike_game_join_") != -1)
    {
        return 
Plugin_Handled;
    } 
or

PHP Code:

    
if(StrEqual(Text"#Cstrike_game_join_ct") != -1)
    {
        return 
Plugin_Handled;
    }

    if(
StrEqual(Text"#Cstrike_game_join_terrorist") != -1)
    {
        return 
Plugin_Handled;
    }

    if(
StrEqual(Text"#Cstrike_game_join_spectators") != -1)
    {
        return 
Plugin_Handled;
    } 
Ilusion9 is offline