diff --git a/client/powerstation.lua b/client/powerstation.lua index 53017ec..2d8bc79 100644 --- a/client/powerstation.lua +++ b/client/powerstation.lua @@ -39,7 +39,9 @@ end) RegisterNetEvent('thermite:UseThermite', function() local pos = GetEntityCoords(cache.ped) if closestStation ~= 0 then - if math.random(1, 100) > 85 or qbx.isWearingGloves() then return end + if math.random(1, 100) < 85 or not qbx.isWearingGloves() then + TriggerServerEvent('evidence:server:CreateFingerDrop', pos) + end TriggerServerEvent('evidence:server:CreateFingerDrop', pos) local dist = #(pos - powerStationConfig[closestStation].coords) if dist < 1.5 then @@ -60,7 +62,9 @@ RegisterNetEvent('thermite:UseThermite', function() end end elseif CurrentThermiteGate ~= 0 then - if math.random(1, 100) > 85 or qbx.isWearingGloves() then return end + if math.random(1, 100) < 85 or not qbx.isWearingGloves() then + TriggerServerEvent('evidence:server:CreateFingerDrop', pos) + end TriggerServerEvent('evidence:server:CreateFingerDrop', pos) if CurrentCops >= config.minThermitePolice then currentGate = CurrentThermiteGate