Garry's Mod Wiki

ContentIcon:GetSpawnName

  string ContentIcon:GetSpawnName()

Description

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

Returns

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