Garry's Mod Wiki

GM:PlayerStepSoundTime

number GM:PlayerStepSoundTime( Player ply, number type, boolean walking )
This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.

Description

Allows you to override the time between footsteps.

This hook is called on all clients.

Arguments

1 Player ply
Player who is walking
2 number type
The type of footsteps, see Enums/STEPSOUNDTIME
3 boolean walking
Is the player walking or not ( +walk? )

Returns

1 number
Time between footsteps, in ms

Page Links


Special Pages


Wikis

?

Render Time: 93ms

DB GetPage 60
Generate Html 10
SaveChanges (1) 9
Render Body 0
Render Sidebar 11