WEAPON:SetDeploySpeed

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

Contents

Description

Sets the weapon deploy speed. This value needs to match on client and server.

Arguments

number speed

The value to set deploy speed to. Negative will slow down playback.

Examples

Example

As defined in weapon_base

function SWEP:SetDeploySpeed( speed )
	self.m_WeaponDeploySpeed = tonumber( speed )
end


Personal tools
Navigation