Garry's Mod Wiki

killicon.AddFont

void 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 ) )

Page Links


Special Pages


Wikis

?

Render Time: 32ms

Session 0
DB GetPage 4
Generate Html 4
SaveChanges 9
Render Body 0
Render Sidebar 13