//-----------------------------------------------------------------------------
// Purpose: Respawn all the players
//-----------------------------------------------------------------------------
void CInfoInputRespawnPlayers::InputRespawnAll( inputdata_t &inputdata )
{
	for ( int i = 0; i < MAX_TF_TEAMS; i++ )
	{
		RespawnTeam( GetGlobalTFTeam(i+1) );
	}
}
//-----------------------------------------------------------------------------
// Spawn!
//-----------------------------------------------------------------------------
void CSensorTFTeam::Spawn( void )
{
	// Hook us up to a team...
	m_pTeam = GetGlobalTFTeam( m_nTeam );

	// Gets us thinkin!
	SetNextThink( gpGlobals->curtime + 0.1f );

	// Force an output message on our first think
	m_nRespawnCount = -1;
	m_nResourceCount = -1;
}
//-----------------------------------------------------------------------------
// Purpose: Respawn all of team 2's players
//-----------------------------------------------------------------------------
void CInfoInputRespawnPlayers::InputRespawnTeam2( inputdata_t &inputdata )
{
	RespawnTeam( GetGlobalTFTeam(2) );
}
//-----------------------------------------------------------------------------
// Purpose: Play sound to all players on team 2
//-----------------------------------------------------------------------------
void CInfoInputPlaySound::InputPlaySoundToTeam2( inputdata_t &inputdata )
{
	PlaySoundToTeam( GetGlobalTFTeam(2) );
}
//-----------------------------------------------------------------------------
// Purpose: Reset all of team 2's player's resource banks
//-----------------------------------------------------------------------------
void CInfoInputResetBanks::InputResetTeam2( inputdata_t &inputdata )
{
	ResetTeamsBanks( GetGlobalTFTeam(2) );
}