Garry's Mod Wiki

Tool:GetSWEP

  Weapon Tool:GetSWEP()

Description

We advise against using this. It may be changed or removed in a future update. Use Tool:GetWeapon instead.

Returns the Tool Gun (gmod_tool) Scripted Weapon.

Returns

1 Weapon
The tool gun weapon. (gmod_tool)