TOOL:Holster

From Garry's Mod
Jump to: navigation, search
 TOOL:Holster( )

Description

Called when WEAPON:Holster of the toolgun is called, as well as when switching between different toolguns.

NOTE This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.

Examples

Example

Clears any objects set by Tool:SetObject.

function TOOL:Holster()

	self:ClearObjects()

end


Personal tools
Navigation