Garry's Mod Wiki

Revision Difference

Player:SetRunSpeed#517985

<function name="SetRunSpeed" parent="Player" type="classfunc"> <description> Sets the player's sprint speed. See also <page>Player:GetRunSpeed</page>, <page>Player:SetWalkSpeed</page> and <page>Player:SetMaxSpeed</page>. </description> <realm>Shared</realm> <args> <arg name="runSpeed" type="number">The new sprint speed when sv_friction is below 10. Higher sv_friction values will result in slower speed.&#xA;&#xA;Has to be 7 or above or the player won&#x27;t be able to move.</arg>⤶ <arg name="runSpeed" type="number">The new sprint speed when sv_friction is below 10. Higher sv_friction values will result in slower speed.⤶ Has to be 7 or above or the player won't be able to move.</arg>⤶ </args> </function>