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.

Using this function while spectating the player's own ragdoll will cause it to teleport it to the center of the map. You will spectate the ragdoll even after it's been teleported. This only happens on the client of the player spectating the ragdoll and is purely client-side.

Issue Tracker: 4608

Arguments

1 number mode
Spectate mode, see Enums/OBS_MODE.

Page Links


Special Pages


Wikis

?

Render Time: 39ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 19
Render Body 0
Render Sidebar 12