Garry's Mod Wiki

Revision Difference

ContentIcon:SetSpawnName#518251

<function name="SetSpawnName" parent="ContentIcon" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets the internal "name" for the content icon, usually a class name for an entity.</description> <realm>Client</realm> <args> <arg name="name" type="string">Internal &quot;name&quot; to be used when user left clicks the icon.</arg> <arg name="name" type="string">Internal "name" to be used when user left clicks the icon.</arg> </args> </function>