Gamemode.PlayerFootstep
From GMod Wiki
Event Hook | |
Hook Name | PlayerFootstep |
Syntax | GM:PlayerFootstep( Player Activator, Vector Position, Integer Foot, String SoundName, Float Volume, CRecipientFilter Players ) |
Description | Called whenever a player footstep is going to be played. |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.PlayerFootstep]Gamemode.PlayerFootstep [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- This hook can be used for playing footsteps and disabling them.
- The last argument is probably a CRecipientFilter of all players that would be able to hear the footsteps. (UNCONFIRMED)
- The volume argument cant seem to be changed.
- The foot argument is an integer, 0 is the left foot, 1 is the right foot.