Garry's Mod Wiki

Revision Difference

Player:Spectate#565346

<function name="Spectate" parent="Player" type="classfunc"> <description> <warning>The player must be respawned, otherwise they will be able to walk through doors and become invincible.</warning>⤶ Starts spectate mode for given player. This will also affect the players movetype in some cases. </description> <realm>Server</realm> <args> <arg name="mode" type="number">Spectate mode, see <page>Enums/OBS_MODE</page>.</arg> </args> </function>