1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-07-12 00:01:12 +02:00
parent ca9e981f63
commit 92a8a06b84
2 changed files with 0 additions and 41 deletions

View file

@ -38,41 +38,6 @@ local function IsPlayerFacingWater()
return false
end
-- Funktion für den Polizei-Alarm (ähnlich wie MagnetFishing)
local function DynamiteFishingAlert(coords)
local gender = GetPlayerGender()
local streetName = GetStreetAndZone(coords)
local message = "^3Illegale Aktivität^7: Person beim Dynamitfischen"
local description = "Eine " .. gender .. " Person wurde beim Dynamitfischen gesehen. Explosion im Wasser gemeldet!"
local priority = 2
local blipSprite = 436 -- Explosion Blip
local blipColour = 1 -- Rot
local icon = 'fas fa-bomb'
local dispatchData = {
message = message,
codeName = 'dynamitefishing',
code = '10-67',
icon = icon,
priority = priority,
coords = coords,
gender = gender,
street = streetName,
alertTime = 5000,
blipSprite = blipSprite,
blipColour = blipColour,
blipScale = 1.0,
blipLength = 2 * 60000, -- 2 Minuten
sound = 'Lose_1st',
soundName = 'GTAO_FM_Events_Soundset',
infoM = description,
jobs = { 'police' }
}
TriggerServerEvent('ps-dispatch:server:notify', dispatchData)
end
-- Hauptfunktion
local function StartDynamiteFishing()
local ped = PlayerPedId()

View file

@ -17,12 +17,6 @@ Config.Explosion = {
cameraShake = true
}
-- POLICE ALERT (PS-DISPATCH)
Config.Police = {
enable = true,
alertChance = 80 -- % Chance für Alarm
}
-- REWARDS
Config.FishRewards = {