/Engine/Source/Runtime/Engine/Classes/GameFramework/GameMode.h
Will remove the controller from the correct count then add them to the spectator count.
void PlayerSwitchedToSpectatorOnly ( [APlayerController](API\Runtime\Engine\GameFramework\APlayerController) * PC )