TOOL:Deploy

From GMod Wiki

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