Garry's Mod Wiki

Revision Difference

ContentIcon:GetContentType#561229

<function name="GetContentType" parent="ContentIcon" type="panelfunc"> <description>Returns the content type used to save and restore the content icon in a spawnlist.</description> <description>An <page>Global.AccessorFunc</page> that returns the content type used to save and restore the content icon in a spawnlist.</description> <realm>Client</realm> <file line="14">gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/contenticon.lua</file>⤶ <rets> <ret name="" type="string">The content type, for example "entity" or "weapon".</ret> </rets> </function>