killicon.AddFont

From Garry's Mod
Jump to: navigation, search
 killicon.AddFont( )

Contents

Description

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

Arguments

string class

Weapon or entity class

Arguments

string font

Font to be used

Arguments

string symbol

The symbol to be used

Arguments

table color

Color of the killicon

Examples

Example

Example of using the function. Adds pistol kill icon.

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


Personal tools
Navigation