Player.spectator

Sets the player's gamemode.

Meta