Part of StarfallEx namespace
๐ External
hook.add("PlayerFootstep", "name", function(ply, pos, foot, sound, volume) end)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Called whenever a player steps
Parameters
| Name | Type | Description |
|---|---|---|
ply | Player | The stepping player |
pos | Vector | The position of the step |
foot | number | Foot that is stepped. 0 for left, 1 for right |
sound | string | Sound that is going to play |
volume | number | Volume of the footstep |
Returns
| Type | Description |
|---|---|
boolean | Return true to prevent default step sound (only on chip owner) |
Examples
No examples available.
Used In
No usages found in the codebase.