Garry's Mod Wiki

Revision Difference

DKillIcon:SetName#513621

<function name="SetName" parent="DKillIcon" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>⤶ Sets the killicon to be displayed. You should call <page>DKillIcon:SizeToContents</page> following this.⤶ ⤶ Killicons can be added with <page>killicon.Add</page> and <page>killicon.AddFont</page>.⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="iconName" type="string">The name of the killicon to be displayed.</arg>⤶ </args>⤶ </function>⤶ ⤶