Garry's Mod Wiki

The killicon library is used to add to and control the icons that appear in the top right of your screen when a player is killed.


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

Creates new kill icon using a texture.

void killicon.AddAlias( string new_class, string existing_class )

Creates kill icon from existing one.

void killicon.AddFont( string class, string font, string symbol, table color )

Adds kill icon for given weapon/entity class using special font.

void killicon.Draw( number x, number y, string name, number alpha )

Draws a kill icon.

boolean killicon.Exists( string class )

Checks if kill icon exists for given class.

number, number killicon.GetSize( string name )

Returns the size of a kill icon.

Page Links

Special Pages



Render Time: 24ms

Session 0
DB GetPage 3
Generate Html 2
SaveChanges 9
Render Body 0
Render Sidebar 6