SWEP.SetDeploySpeed

From GMod Wiki

Jump to: navigation, search
Event Hook
Hook NameSetDeploySpeed
SyntaxSWEP:SetDeploySpeed( Integer speed )
DescriptionSets deploy speed of a weapon.
ReturnsNil
Lua StateNewerShared.png
BBCode[b][url=wiki.garrysmod.com/?title=SWEP.SetDeploySpeed]SWEP.SetDeploySpeed [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]

Definition of the function

Because it is a convenience function, it is defined by Lua.

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

Examples

DescriptionN/A
Used onNewerMissing.png
Code
LuaIco3.pngThis page needs an example to demonstrate the item detailed on this page. See how to make one here.
See more articles that need examples here.
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox