Garry's Mod Wiki

Revision Difference

Enums/OBS_MODE#516079

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