Garry's Mod Wiki

ContentIcon:SetContentType

  ContentIcon:SetContentType( string type )

Description

An AccessorFunc that sets the content type used to save and restore the content icon in a spawnlist.

Arguments

1 string type
The content type, for example "entity" or "weapon"