killicon.GetSize

From GMod Wiki

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



Examples

DescriptionSets the w and h variables to the width and height of the default killicon.
Used onNewerClient.png
Code
local w,h = killicon.GetSize("default")
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox