Garry's Mod Wiki

Garry's Mod Wiki

  table Player:GetTool( string mode = nil )

Description

Returns TOOL table of players current tool, or of the one specified.

Arguments

1 string mode = nil
Classname of the tool to retrieve. ( Filename of the tool in gmod_tool/stools/ )

Returns

1 table
TOOL table, or nil if the table wasn't found or the player doesn't have a tool gun.

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...