Player/GetTool

From Garry's Mod
Jump to: navigation, search
 Player:GetTool( )

Description

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

Arguments

string mode=nil

Classname of the tool to retrieve. ( Filename of the tool in gmod_tool/stools/ )

Returns

table

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