Garry's Mod Wiki

Revision Difference

spawnmenu.CreateContentIcon#512860

<function name="CreateContentIcon" parent="spawnmenu" type="libraryfunc">⤶ <description>Creates a new content icon.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="type" type="string">The type of the content icon.</arg>⤶ <arg name="parent" type="Panel">The parent to add the content icon to.</arg>⤶ <arg name="data" type="table">The data to send to the content icon in &lt;page&gt;spawnmenu.AddContentType&lt;/page&gt;</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="Panel">The created content icon, if it was returned by <page>spawnmenu.AddContentType</page></ret>⤶ </rets>⤶ </function>⤶ ⤶