public virtual void SpawnPlayer(int clientIndex)
{
if(this.Disposed == true)
{
throw new ObjectDisposedException(this.GetType().Name);
}
bool inGame = idR.Game.PlayerStates[clientIndex].InGame;
idR.Game.PlayerStates[clientIndex].Clear();
if(idR.Game.IsClient == false)
{
idR.Game.PlayerStates[clientIndex].InGame = inGame;
}
}