TOOL:Deploy
From GMod Wiki
| Event Hook | |
| Hook Name | Deploy |
| Syntax | TOOL:Deploy( ) |
| Description | Called when the player pulls out the tool. |
| Returns | Nil |
| Lua State | |
| BBCode | [b][url=wiki.garrysmod.com/?title=TOOL:Deploy]TOOL:Deploy [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Prints "Tool pulled out." when the tool gets pulled out. |
|---|---|
| Used on | |
| Code | function TOOL:Deploy() print("Tool pulled out.") end |
| Output | Tool pulled out. |