WEAPON:SetWeaponHoldType

From Garry's Mod
Jump to: navigation, search
 WEAPON:SetWeaponHoldType( )

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

string name

Name of the hold type. You can find all default hold types here
Personal tools
Navigation