Garry's Mod Wiki

Revision Difference

ContentIcon:SetContentType#518253

<function name="SetContentType" parent="ContentIcon" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets the content type used to save and restore the content icon in a spawnlist.</description> <realm>Client</realm> <args> <arg name="type" type="string">The content type, for example &quot;entity&quot; or &quot;weapon&quot;</arg>⤶ <arg name="type" type="string">The content type, for example "entity" or "weapon"</arg>⤶ </args> </function>