Garry's Mod Wiki

Revision Difference

Enums/OBS_MODE#516203

<cat>enum</cat> <enumeration> <description>Enumerations used by <page>Player:SetObserverMode</page>, <page>Player:GetObserverMode</page> and <page>Player:Spectate</page>.</description> <fields><item key="OBS_MODE_NONE" value="0">Not spectating</item><item key="OBS_MODE_DEATHCAM" value="1</fields>⤶ <fields>⤶ <item key="OBS_MODE_NONE" value="0">Not spectating</item>⤶ <item key="OBS_MODE_DEATHCAM" value="1⤶ </fields>⤶ </enumeration> {{EnumField">OBS_MODE_FREEZECAM|2|TF2-like freezecam</item><item key="OBS_MODE_FIXED" value="3">Same as OBS_MODE_CHASE, but you can't rotate the view</item><item key="OBS_MODE_IN_EYE" value="4">First person cam</item><item key="OBS_MODE_CHASE" value="5">Chase cam, 3rd person cam, free rotation around the spectated target</item><item key="OBS_MODE_ROAMING" value="6">Free roam/noclip-alike. Does not work from <page>GM:PlayerDeath</page></item>⤶ }} {{EnumField">OBS_MODE_FREEZECAM|2|TF2-like freezecam</item>⤶ <item key="OBS_MODE_FIXED" value="3">Same as OBS_MODE_CHASE, but you can't rotate the view</item>⤶ <item key="OBS_MODE_IN_EYE" value="4">First person cam</item>⤶ <item key="OBS_MODE_CHASE" value="5">Chase cam, 3rd person cam, free rotation around the spectated target</item>⤶ <item key="OBS_MODE_ROAMING" value="6">Free roam/noclip-alike. Does not work from <page>GM:PlayerDeath</page></item>⤶ ⤶ }}