Garry's Mod Wiki

killicon.AddFont

killicon.AddFont

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

Description

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

Arguments

1 string class
Weapon or entity class
2 string font
Font to be used
3 string symbol
The symbol to be used
4 table color
Color of the killicon

Example

Example of using the function. Adds pistol kill icon.

killicon.AddFont( "weapon_pistol", "HL2MPTypeDeath", "-", Color( 255, 80, 0, 255 ) )

Special Pages


Wikis

?

Render Time: 71ms

DB GetPage 46
Generate Html 5
SaveChanges (1) 8
Render Body 0
Render Sidebar 10