Garry's Mod Wiki

Player:SetObserverMode

  Player:SetObserverMode( number mode )

Description

Sets the players observer mode. You must start the spectating first with Player:Spectate.

Arguments

1 number mode
Spectator mode using Enums/OBS_MODE.