death beep

how do i remove the death beep sound?

[lua]
local function NoSound()
return true
end
hook.Add(“PlayerDeathSound”, “NoSound”, NoSound)
[/lua]

thanks , im trying it out :wink: