1
0
Fork 0
forked from Simnation/Main

Update cl_dynamitefishing.lua

This commit is contained in:
Nordi98 2025-07-12 00:07:08 +02:00
parent 7fdcc8610d
commit a0621d7ef1

View file

@ -62,8 +62,8 @@ local function StartDynamiteFishing()
end
-- Wurf-Animation
local throwDict = "weapons@projectile@"
local throwAnim = "throw_m_fb"
local throwDict = "melee@unarmed@streamed_variations"
local throwAnim = "plyr_takedown_front_slap"
RequestAnimDict(throwDict)
while not HasAnimDictLoaded(throwDict) do
@ -92,10 +92,6 @@ local function StartDynamiteFishing()
-- EXPLOSION DIREKT NACH ERFOLGREICHEM SKILL CHECK
AddExplosion(explosionX, explosionY, explosionZ, Config.Explosion.type, Config.Explosion.volume, true, false, Config.Explosion.cameraShake)
-- PS-DISPATCH ALERT mit dem Format aus alerts.lua
if Config.Police.enable and math.random(1, 100) <= Config.Police.alertChance then
DynamiteFishingAlert(coords)
end
-- Item entfernen (nach erfolgreicher Explosion)
TriggerServerEvent('dynamitefishing:removeItem')