TOOL:RightClick
From GMod Wiki
Event Hook | |
Hook Name | RightClick |
Syntax | TOOL:RightClick( TraceRes tr ) |
Description | Called when the user right clicks. |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=TOOL:RightClick]TOOL:RightClick [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Returning true shows the tracer beam, returning false hides it.
- Doesn't seem to be called on the client side in single-player mode, for whatever reason.