Garry's Mod Wiki

ContentIcon:SetAdminOnly

  ContentIcon:SetAdminOnly( boolean adminOnly )

Description

An AccessorFunc that 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.

Arguments

1 boolean adminOnly
Whether this content should be admin only or not