Garry's Mod Wiki

Revision Difference

Player:SetObserverMode#517984

<function name="SetObserverMode" parent="Player" type="classfunc"> <description>Sets the players observer mode. You must start the spectating first with <page>Player:Spectate</page>.</description> <realm>Shared</realm> <args> <arg name="mode" type="number">Spectator mode using &lt;page&gt;OBS_MODE&lt;/page&gt;.</arg> <arg name="mode" type="number">Spectator mode using <page>OBS_MODE</page>.</arg> </args> </function>