Revision Difference
killicon.Add#511431
<function name="Add" parent="killicon" type="libraryfunc">⤶
<description>Creates new kill icon using a texture.</description>⤶
<realm>Client</realm>⤶
<args>⤶
<arg name="class" type="string">Weapon or entity class</arg>⤶
<arg name="texture" type="string">Path to the texture</arg>⤶
<arg name="color" type="table">Color of the kill icon</arg>⤶
</args>⤶
</function>⤶
⤶
<example>⤶
<description>Creates default killicon.</description>⤶
<code>killicon.Add( "default", "HUD/killicons/default", Color( 255, 80, 0, 255 ) )</code>⤶
⤶
</example>