Garry's Mod Wiki

killicon.GetSize

  number, number killicon.GetSize( string name, boolean dontEqualizeHeight = false )

Description

Returns the size of a kill icon.

Arguments

1 string name
Classname of the kill icon
2 boolean dontEqualizeHeight = false
If set to true, returns the real size of the kill icon, without trying to equalize the height to match the default kill icon font.

Returns

1 number
Width of the kill icon
2 number
Height of the kill icon