Garry's Mod Wiki

killicon.AddAlias

  killicon.AddAlias( string new_class, string existing_class )

Description

Creates kill icon from existing one.

Arguments

1 string new_class
New class of the kill icon
2 string existing_class
Already existing kill icon class

Example

Copies prop_physics kill icon to prop_ragdoll.

killicon.AddAlias( "prop_ragdoll", "prop_physics" )