WEAPON:Initialize

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

Description

Called when the weapon entity is created.

Examples

Example

Sets the weapon hold type to SWEP.HoldType.

function SWEP:Initialize()

	self:SetHoldType( self.HoldType )

end


Personal tools
Navigation