Garry's Mod Wiki

ContentIcon:SetSpawnName

  ContentIcon:SetSpawnName( string name )

Description

An AccessorFunc that sets the internal "name" for the content icon, usually a class name for an entity.

Arguments

1 string name
Internal "name" to be used when user left clicks the icon.