In a gamemode I'm writing, I'm trying to give players the ability to sneak. I have it working all except for the hiding footstep sounds.
function footsteps( ply )
print("STEP")
if ply.sneaking then
print( "SNEAKING" )
return true
end
end
hook.Add("PlayerFootstep", "footsteps", footsteps )
All of the debug messages are printing so I know the logic and the hook are being called, but I still hear the footsteps.
Any ideas?