08.11.2013, 23:38
I haven't glanced over your code but the problem you've stated seemed more like of an TogglePLayerSpectation, if you happen to have SetSpawnInfo It will put on player spectating mode and force player to spawn you can imagine what is most likely to end up like