Garry's Mod Wiki

Player:Spectate

  Player:Spectate( number mode )

Description

Starts spectate mode for given player. This will also affect the players movetype in some cases.

Arguments

1 number mode
Spectate mode, see OBS_MODE enum.