Garry's Mod Wiki


  killicon.Draw( number x, number y, string name, number alpha = 255 )


Draws a kill icon.

We advise against using this. It may be changed or removed in a future update. This function applies unpredictable vertical offsets, you should use killicon.Render instead, which does not suffer from this issue.


1 number x
X coordinate of the icon
2 number y
Y coordinate of the icon
3 string name
Classname of the kill icon
4 number alpha = 255
Alpha/transparency value ( 0 - 255 ) of the icon