Garry's Mod Wiki

Revision Difference

Enums/OBS_MODE#561063

<enum> <realm>Shared</realm> <description>Enumerations used by <page>Player:SetObserverMode</page>, <page>Player:GetObserverMode</page> and <page>Player:Spectate</page>.</description> <items> <item key="OBS_MODE_NONE" value="0">Not spectating</item> <item key="OBS_MODE_DEATHCAM" value="1"></item>⤶ <item key="OBS_MODE_DEATHCAM" value="1">Camera doesn't move, but adjusts camera angles to follow the spectated target</item>⤶ <item key="OBS_MODE_FREEZECAM" value="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> </items> </enum>