TOOL:Holster

From GMod Wiki

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