Revision Difference
Player:SprintDisable#551687
<function name="SprintDisable" parent="Player" type="classfunc">
<description>
Disables 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>Stops and prevents player with ID 1 from sprinting</description>
<code>Entity( 1 ):SprintDisable()</code>
</example>