Garry's Mod Wiki

Revision Difference

Entity:PlayFootstepSound#568071

<function name="PlayFootstepSound" parent="Entity" type="classfunc"> <description> Plays a sound of a step depending on the surface below. Plays a sound of a step depending on the surface below. If the entity has attachments "RightFoot" or "LeftFoot" the surface check will be performed below them. </description> <realm>Client</realm> <added>2026.07.01</added>⤶ <args> <arg name="isLeftFoot" type="boolean">Determines whether the step is a right foot or a left foot.</arg> <arg name="volume" type="number">The volume, from 0 to 1.</arg> </args> </function>