killicon.Draw

From GMod Wiki

Jump to: navigation, search
Function
Syntax killicon.Draw( Integer x, Integer y, String name, Integer alpha )
Where is this used?
Description:
Draws a death notify icon on the screen
Returns: nil
Part of Library: killicon
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Killicon.Draw]Killicon.Draw [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionDraws the killicon named "default" with alpha 50 on position (64, 64) on the screen.
Used onNewerClient.png
Code
 
function drawIcon()
   killicon.Draw( 64, 64, "default", 50 )
end
 
hook.Add( "HUDPaint", "drawicon", drawIcon )
 
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox