killicon.AddFont
From GMod Wiki
Function | |
Syntax |
killicon.AddFont( String name, String font, String character, Color color ) Where is this used? |
Description: | |
Adds a death notify icon to the list for display with killicon.Draw. | |
Returns: | nil |
Part of Library: | killicon |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Killicon.AddFont]Killicon.AddFont [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Adds a killicon named "blue_shotgun", with a shotgun texture and a blue color. |
---|---|
Used on | |
Code | killicon.AddFont( "blue_shotgun", "HL2MPTypeDeath", "0", Color( 0, 0, 255, 255 ) ) |
Output | N/A |
Additional Notes
- The texture is loaded from the passed font via the specified character.