diff --git a/Hitmarker/scripting/Hitmarker.sp b/Hitmarker/scripting/Hitmarker.sp index bd041181..f0c3a970 100644 --- a/Hitmarker/scripting/Hitmarker.sp +++ b/Hitmarker/scripting/Hitmarker.sp @@ -72,8 +72,8 @@ public void OnMapStart() AddFileToDownloadsTable("materials/overlays/nano/hitmarker.vtf"); AddFileToDownloadsTable("materials/overlays/nano/hitmarker.vmt"); - PrecacheSound("unloze/hm_v2.mp3"); - AddFileToDownloadsTable("sound/unloze/hm_v2.mp3"); + PrecacheSound("unloze/hm_v3.mp3"); + AddFileToDownloadsTable("sound/unloze/hm_v3.mp3"); } //---------------------------------------------------------------------------------------------------- @@ -106,9 +106,9 @@ public void OnClientCookiesCached(int client) GetClientCookie(client, g_hCookie_HitmarkerSoundVolume, sBuffer, sizeof(sBuffer)); if (sBuffer[0]) - g_iHitmarkerSoundVolume[client] = 100; - else g_iHitmarkerSoundVolume[client] = StringToInt(sBuffer); + else + g_iHitmarkerSoundVolume[client] = 100; } //---------------------------------------------------------------------------------------------------- @@ -364,7 +364,7 @@ public void ShowOverlay(int client) if (g_bHitmarkerSound[client]) { float fVolume = g_iHitmarkerSoundVolume[client] / 100.0; - EmitSoundToClient(client, "unloze/hm_v2.mp3", .volume=fVolume); + EmitSoundToClient(client, "unloze/hm_v3.mp3", .volume=fVolume); } if (g_hTimer[client] != null)