Garry's Mod Wiki

killicon.Add

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

Page Links


Special Pages


Wikis

?

Render Time: 25ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 11
Render Body 0
Render Sidebar 6