From d931c733ab08f154ac6c58859a4f6ed05c7b386c Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Wed, 1 Apr 2020 16:34:08 +0400 Subject: [PATCH] Disable gunfire ambient sound --- client.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client.lua b/client.lua index 59c0962..55b8d3c 100644 --- a/client.lua +++ b/client.lua @@ -135,6 +135,7 @@ local function selectTeamAndSpawn(team, skin) end addEventHandler("onClientResourceStart", resourceRoot, function() + setAmbientSoundEnabled("gunfire", false) skinSelectionMenu = SkinSelectionMenu() skinSelectionMenu:showSkinSelectionButtons() skinSelectionMenu._showLabels = function() @@ -168,4 +169,4 @@ addEventHandler("onPlayerTeamSelectedSuccessful", root, function() unbindKey("space", "down", _selectTeamAndSpawn) removeEventHandler("onClientRender", root, skinSelectionMenu._showLabels) skinSelectionMenu:hideSkinSelectionButtons() -end) \ No newline at end of file +end)