Revision Difference
Player:SetRunSpeed#547277
<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>.
<note>player_default class run speed is: 600</note>
</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.
Has to be 7 or above or the player won't be able to move.</arg>
</args>
</function>
⤶
⤶
⤶
⤶
<example>⤶
<description>Sets the Run Speed of the Player to 100</description>⤶
<code>⤶
player.GetAll()[1]:SetRunSpeed(100);⤶
</code>⤶
</example>⤶