Disable fall damage sound?

Ive been looking over the Gmod Lua wiki, but had no luck finding how to disable the fall damage sound? Any ideas?

Are you using the GetFallDamage hook at all?

Sort of Ill show you the code:

[lua]
local function Breaklegs(ent, inflictor, attacker, amount, dmginfo)

if ent:IsPlayer() and dmginfo:IsFallDamage() then

ent:EmitSound("thin_wood_snapping_3.wav")

end
end
hook.Add(“EntityTakeDamage”, “Breaklegs”, Breaklegs)

[/lua]

I just simply wan to change the sound to what I have there.

[lua]function GM:GetFallDamage( ply, speed )

ply:EmitSound("thin_wood_snapping_3.wav")

return false

end[/lua]
Use that when you fall it will play the sound, when you hit the floor.

That worked perfectly thanks :smiley:

You’re welcome.