Garry's Mod Wiki

GM:PlayerStepSoundTime

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

Special Pages


Wikis

?

Render Time: 71ms

DB GetPage 4
Generate Html 8
SaveChanges (1) 48
Render Body 0
Render Sidebar 8