forked from Simnation/Main
ed
This commit is contained in:
parent
ca9e981f63
commit
92a8a06b84
2 changed files with 0 additions and 41 deletions
|
@ -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()
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue