Garry's Mod Wiki

TOOL:Reload

TOOL:Reload

  boolean TOOL:Reload( 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 presses the reload key with the tool out.

Arguments

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

Returns

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

Special Pages


Wikis

?

Render Time: 24ms

DB GetPage 4
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 7