From 82a442a1074906f274e9f780d3aa0c90e5fb2f84 Mon Sep 17 00:00:00 2001 From: L O N E <155101687+lone17k@users.noreply.github.com> Date: Fri, 24 May 2024 01:47:43 +0530 Subject: [PATCH] to fix the checkstatus this pr to fix the checkstatus --- client/evidence.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/evidence.lua b/client/evidence.lua index 14554475..1c58b7f0 100644 --- a/client/evidence.lua +++ b/client/evidence.lua @@ -220,7 +220,7 @@ CreateThread(function() -- Gunpowder Status when shooting local weapon = GetSelectedPedWeapon(ped) if not WhitelistedWeapon(weapon) then shotAmount = shotAmount + 1 - if shotAmount > 5 and (CurrentStatusList == nil or CurrentStatusList['gunpowder'] == nil) then + if shotAmount >= 5 and (CurrentStatusList == nil or CurrentStatusList['gunpowder'] == nil) then if math.random(1, 10) <= 7 then TriggerEvent('evidence:client:SetStatus', 'gunpowder', 200) end