From GMod Wiki
Event Hook
|
Hook Name | SetDeploySpeed
|
Syntax | SWEP:SetDeploySpeed( Integer speed )
|
Description | Sets deploy speed of a weapon.
|
Returns | Nil
|
Lua State |
|
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
Description | N/A |
Used on |
|
Code |
| This 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. | |
Output | N/A |