register_event( "TeamInfo", "event_team_info", "a" ); public event_team_info() { new id = read_data( 1 ); new team[12]; read_data( 2, team, sizeof team - 1 ); switch( team[0] ) { case 'C' : // CT case 'T' : // TERRORIST case 'S' : // SPECTATOR } }