From 9ae0dcf3d0525844cb54271b92fd610ead742ef5 Mon Sep 17 00:00:00 2001 From: Kalle Date: Tue, 19 Nov 2024 16:37:23 +0100 Subject: [PATCH] fix: more sounds for the fake gun sounds --- src/RollTheDice+DicePlayerMakeFakeGunSoundss.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RollTheDice+DicePlayerMakeFakeGunSoundss.cs b/src/RollTheDice+DicePlayerMakeFakeGunSoundss.cs index 7626456..2b85d73 100644 --- a/src/RollTheDice+DicePlayerMakeFakeGunSoundss.cs +++ b/src/RollTheDice+DicePlayerMakeFakeGunSoundss.cs @@ -14,7 +14,7 @@ public partial class RollTheDice : BasePlugin ("Bizon", "Weapon_bizon.Single", 10, 1.5f), ("P90", "Weapon_P90.Single", 15, 1.1f), ("G3SG1", "Weapon_G3SG1.Single", 11, 1.1f), - ("Negev", "Weapon_Negev.Single", 50, 0.7f), + ("Negev", "Weapon_Negev.Single", 35, 0.7f), ("Nova", "Weapon_Nova.Single", 3, 2.5f), ("AUG", "Weapon_AUG.Single", 30, 1.1f), ("M4A1", "Weapon_M4A1.Single", 25, 0.9f) @@ -68,7 +68,7 @@ private void EventDicePlayerMakeFakeGunSoundsOnTick() .Replace("{playerName}", player.PlayerName) .Replace("{weapon}", weaponName)); // reset timer - _playersWithFakeGunSounds[player] = (int)Server.CurrentTime + _random.Next(playTotal * (int)soundLength + 5, (playTotal * (int)soundLength) + 10); + _playersWithFakeGunSounds[player] = (int)Server.CurrentTime + _random.Next(playTotal * (int)soundLength + 2, (playTotal * (int)soundLength)); } catch (Exception e) {