Garry's Mod Wiki

killicon.Add

  killicon.Add( string class, string texture, table color )

Description

Creates new kill icon using a texture.

Arguments

1 string class
Weapon or entity class
2 string texture
Path to the texture
3 table color
Color of the kill icon

Example

Creates default killicon.

killicon.Add( "default", "HUD/killicons/default", Color( 255, 80, 0, 255 ) )