Garry's Mod Wiki

Player:GetTool

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.

Page Links


Special Pages


Wikis

?

Render Time: 33ms

DB GetPage 4
Generate Html 4
SaveChanges (1) 9
Render Body 0
Render Sidebar 13