Garry's Mod Wiki

Revision Difference

ContentIcon:SetAdminOnly#553540

<function name="SetAdminOnly" parent="ContentIcon" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description>Sets whether the content item is admin only. This makes the icon to display a admin icon in the top left corner of the icon.</description> <realm>Client</realm> <args> <arg name="adminOnly" type="boolean">Whether this content should be admin only or not</arg> </args> </function>