Garry's Mod Wiki

Revision Difference

ContentIcon:SetSpawnName#561238

<function name="SetSpawnName" parent="ContentIcon" type="panelfunc"> <description>Sets the internal "name" for the content icon, usually a class name for an entity.</description> <description>An <page>Global.AccessorFunc</page> that sets the internal "name" for the content icon, usually a class name for an entity.</description> <realm>Client</realm> <file line="15">gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/contenticon.lua</file>⤶ <args> <arg name="name" type="string">Internal "name" to be used when user left clicks the icon.</arg> </args> </function>