killicon.Exists

From GMod Wiki

Jump to: navigation, search
Function
Syntax killicon.Exists( String name )
Where is this used?
Description:
Returns true if the killicon with the given name exists, false if not.
Returns: Boolean Exists
Part of Library: killicon
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Killicon.Exists]Killicon.Exists [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionAdds a killicon named "green", with the same texture as the default one, but with a green color.
Used onNewerClient.png
Code
 
print(killicon.Exists("prop_physics"))--will return true )
 
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox