Revision Difference
WEAPON:SetDeploySpeed#550989
<function name="SetDeploySpeed" parent="WEAPON" type="hook">⤶
<ishook>yes</ishook>⤶
<function name="SetDeploySpeed" parent="Weapon" type="classfunc">⤶
<description>Sets the weapon deploy speed. This value needs to match on client and server.</description>
<realm>Shared</realm>
<predicted>No</predicted>
<args>
<arg name="speed" type="number">The value to set deploy speed to. Negative will slow down playback.</arg>
<arg name="speed" type="number">The value to set deploy speed to. Values less than `1` will slow down the animations. Minimum value is `0.1`.</arg>
</args>
</function>⤶
⤶
<example>⤶
<description>As defined in weapon_base</description>⤶
<code>⤶
function SWEP:SetDeploySpeed( speed )⤶
self.m_WeaponDeploySpeed = tonumber( speed )⤶
end⤶
</code>⤶
⤶
</example></function>