TOOL:Deploy

From GMod Wiki

Revision as of 23:12, 14 August 2011 by Grocel (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Event Hook
Hook NameDeploy
SyntaxTOOL:Deploy( )
DescriptionCalled when the player pulls out the tool.
ReturnsNil
Lua StateNewerServer.png
BBCode[b][url=wiki.garrysmod.com/?title=TOOL:Deploy]TOOL:Deploy [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionPrints "Tool pulled out." when the tool gets pulled out.
Used onNewerServer.png
Code
function TOOL:Deploy()
	print("Tool pulled out.")	
end
OutputTool pulled out.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox