WEAPON/SetDeploySpeed

From Garry's Mod
Revision as of 05:44, 7 September 2015 by Code gs (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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