Garry's Mod Wiki

WEAPON:SetWeaponHoldType

  WEAPON:SetWeaponHoldType( string name )

Description

Sets the hold type of the weapon. This must be called on both the server and the client to work properly.

NOTE: You should avoid calling this function and call Weapon:SetHoldType now.

Arguments

1 string name
Name of the hold type. You can find all default hold types here