Revision Difference
Player:SprintEnable#512569
<function name="SprintEnable" parent="Player" type="classfunc">⤶
<description>⤶
Enables the sprint on the player.⤶
⤶
<bug issue="2390">Not working - use <page>Player:SetRunSpeed</page> or <page>CMoveData:SetMaxSpeed</page> in a <page>GM:Move</page> hook, instead.</bug>⤶
</description>⤶
<realm>Server</realm>⤶
</function>⤶
⤶
<example>⤶
<description>Allows the player with ID 1 to use the sprint (<key>SHIFT</key> by default) feature.</description>⤶
<code>player.GetByID( 1 ):SprintEnable()</code>⤶
<output>None, but Player 1's sprint is enabled.</output>⤶
⤶
</example>