From c3d5516aa817a7a77e3830e034d5b5b24b712484 Mon Sep 17 00:00:00 2001 From: Fesiug Date: Mon, 6 Nov 2023 14:03:24 -0500 Subject: [PATCH] Disable GMod death sound --- gamemodes/benny/gamemode/modules/player/sh_basic.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gamemodes/benny/gamemode/modules/player/sh_basic.lua b/gamemodes/benny/gamemode/modules/player/sh_basic.lua index f285013..0929cb5 100644 --- a/gamemodes/benny/gamemode/modules/player/sh_basic.lua +++ b/gamemodes/benny/gamemode/modules/player/sh_basic.lua @@ -143,6 +143,10 @@ if CLIENT then end) end +hook.Add( "PlayerDeathSound", "Benny_PlayerDeathSound", function( ply ) + return true -- we don't want the default sound! +end ) + function GM:ShowHelp( ply ) if SERVER then ply:SendLua( [[OpenSMenu()]] )