TOOL:Holster

From GMod Wiki

Revision as of 12:19, 15 August 2011 by TheFreeman193 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Event Hook
Hook NameHolster
SyntaxTOOL:Holster( )
DescriptionCalled when the player put the tool away.
ReturnsNil
Lua StateNewerShared.png
BBCode[b][url=wiki.garrysmod.com/?title=TOOL:Holster]TOOL:Holster [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionPrints "Tool put away." when the tool gets put away.
Used onNewerShared.png
Code
function TOOL:Holster()
	print("Tool put away.")	
end
OutputTool put away.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox