Garry's Mod Wiki

Garry's Mod Wiki

  boolean TOOL:RightClick( table tr )
This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.

Description

Called when the user right clicks with the tool.

Arguments

1 table tr
A trace from user's eyes to wherever they aim at. See TraceResult structure

Returns

1 boolean
Return true to draw the tool gun beam and play fire animations, false otherwise

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...