Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ricochet source
#4
Well I was looking at one of the arena source files and I came across this cute little thing.


void CDiscArena::Reset( void )
{
// Remove all clients in the queue
for ( int i = 1; i <= gpGlobals->maxClients; i++ )
{
CBasePlayer *pPlayer = (CBasePlayer *)UTIL_PlayerByIndex( i );

if (pPlayer && (pPlayer->m_pCurrentArena == this) && pPlayer->m_bHasDisconnected != TRUE )
{
RemoveClient( pPlayer );

// Move her into spectator mode
//MoveToSpectator( pPlayer );
}


So this is a command to move people into spec. mode. Maybe we can force this command through admin and have people constantly spec?
Reply


Messages In This Thread
ricochet source - by Pique - 02-19-2003, 10:05 PM
ricochet source - by Guest - 02-20-2003, 12:12 PM
ricochet source - by CloudFuel - 02-26-2003, 07:07 PM
ricochet source - by CloudFuel - 03-02-2003, 09:27 PM
ricochet source - by Guest - 03-03-2003, 03:32 AM
ricochet source - by noxious - 03-03-2003, 08:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)