Garry's Mod Wiki

Revision Difference

GM:PlayerStepSoundTime#517796

<function name="PlayerStepSoundTime" parent="GM" type="hook"> <ishook>yes</ishook> <description>Allows you to override the time between footsteps.</description> <realm>Shared</realm> <args> <arg name="ply" type="Player">Player who is walking</arg> <arg name="type" type="number">The type of footsteps, see &lt;page&gt;STEPSOUNDTIME&lt;/page&gt;</arg>⤶ <arg name="walking" type="boolean">Is the player walking or not ( &#x2B;walk? )</arg> <arg name="type" type="number">The type of footsteps, see <page>STEPSOUNDTIME</page></arg>⤶ <arg name="walking" type="boolean">Is the player walking or not ( +walk? )</arg> </args> <rets> <ret name="" type="number">Time between footsteps, in ms</ret> </rets> </function>