Garry's Mod Wiki

Revision Difference

GM:PlayerStepSoundTime#528285

<function name="PlayerStepSoundTime" parent="GM" type="hook"> <ishook>yes</ishook> <description>Allows you to override the time between footsteps.</description>⤶ <description>Allows you to override the time between footsteps. <note>This hook is only called serverside in singleplayer !</note>⤶ </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 <page>Enums/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>