diff --git a/README.md b/README.md index 6b8c1fb..62a25a6 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,7 @@ Dispatch notifications are sent containing only the alert name, omitting additio - exports['ps-dispatch']:VehicleShooting(vehicle) - exports['ps-dispatch']:VehicleTheft(vehicle) - exports['ps-dispatch']:YachtHeist() +- exports['ps-dispatch']:BobcatSecurityHeist() ``` # Steps to Create New Alert Add the following into your `alerts.lua` and change to your liking: diff --git a/client/alerts.lua b/client/alerts.lua index 5811ca7..c4affb6 100644 --- a/client/alerts.lua +++ b/client/alerts.lua @@ -786,3 +786,23 @@ local function SignRobbery() TriggerServerEvent('ps-dispatch:server:notify', dispatchData) end exports('SignRobbery', SignRobbery) + +local function BobcatSecurityHeist() + local coords = GetEntityCoords(cache.ped) + + local dispatchData = { + message = locale('bobcatsecurity'), + codeName = 'bobcatsecurityheist', + code = '10-90', + icon = 'fa-solid fa-building-shield', + priority = 2, + coords = coords, + gender = GetPlayerGender(), + street = GetStreetAndZone(coords), + alertTime = nil, + jobs = { 'leo'} + } + + TriggerServerEvent('ps-dispatch:server:notify', dispatchData) +end +exports('BobcatSecurityHeist', BobcatSecurityHeist) \ No newline at end of file diff --git a/locales/cs.json b/locales/cs.json index ef5fc12..f41d25d 100644 --- a/locales/cs.json +++ b/locales/cs.json @@ -65,6 +65,7 @@ "fleecabank": "Přepadení banky", "paletobank": "Přepadení banky", "pacificbank": "Přepadení banky", + "bobcatsecurity": "Bobcat Bezpečnostní loupež", "prisonbreak": "Probíhá útěk z vězení", "vangelico": "Loupežné přepadení klenotnictvý", "houserobbery": "Vykrádání Domu", diff --git a/locales/de.json b/locales/de.json index 154cd8e..d9a6bec 100644 --- a/locales/de.json +++ b/locales/de.json @@ -65,6 +65,7 @@ "fleecabank": "Fleeca-Bankraub", "paletobank": "Paleto-Bankraub", "pacificbank": "Pacific-Bankraub", + "bobcatsecurity": "Bobcat Security Raubüberfall", "prisonbreak": "Gefängnisausbruch im Gange", "vangelico": "Vangelico-Raubüberfall", "houserobbery": "Hauseinbruch", diff --git a/locales/en.json b/locales/en.json index 316bb7d..acc8fe5 100644 --- a/locales/en.json +++ b/locales/en.json @@ -65,6 +65,7 @@ "fleecabank": "Fleeca Bank Robbery", "paletobank": "Paleto Bank Robbery", "pacificbank": "Pacific Bank Robbery", + "bobcatsecurity": "Bobcat Security Heist", "prisonbreak": "Prison Break In Progress", "vangelico": "Vangelico Robbery", "houserobbery": "House Robbery", diff --git a/locales/es.json b/locales/es.json index 6469665..e52cfdf 100644 --- a/locales/es.json +++ b/locales/es.json @@ -65,6 +65,7 @@ "fleecabank": "Robo a Banco Fleeca", "paletobank": "Robo a Banco de Paleto", "pacificbank": "Robo a Banco Pacific", + "bobcatsecurity": "Robo en Bobcat Security", "prisonbreak": "Intento de fuga en prisión", "vangelico": "Robo a Vangelico", "houserobbery": "Robo en una casa", diff --git a/locales/fr.json b/locales/fr.json index d64a473..b05cb01 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -65,6 +65,7 @@ "fleecabank": "Braquage de la banque Fleeca", "paletobank": "Braquage de la banque Paleto", "pacificbank": "Braquage de la banque Pacific", + "bobcatsecurity": "Vol de Bobcat Security", "prisonbreak": "Évasion de prison en cours", "vangelico": "Braquage de Vangelico", "houserobbery": "Cambriolage de maison", diff --git a/locales/nl.json b/locales/nl.json index 71b2259..4e6d12d 100644 --- a/locales/nl.json +++ b/locales/nl.json @@ -66,6 +66,7 @@ "paletobank": "Paleto Bankoverval", "pacificbank": "Pacific Bankoverval", "prisonbreak": "Gevangenisuitbraak gaande", + "bobcatsecurity": "Bobcat overval word gepleegd", "vangelico": "Vangelico Overval", "houserobbery": "Huisoverval", "drugsell": "Verdachte Overdracht", @@ -92,4 +93,4 @@ "minute": "minuten geleden", "hour": "uren geleden", "day": "dagen geleden" -} \ No newline at end of file +} diff --git a/locales/pt-br.json b/locales/pt-br.json index 83a890b..238db46 100644 --- a/locales/pt-br.json +++ b/locales/pt-br.json @@ -63,6 +63,7 @@ "fleecabank": "Roubo ao Fleeca Bank", "paletobank": "Roubo ao Paleto Bank", "pacificbank": "Roubo ao Pacific Bank", + "bobcatsecurity": "Roubo ao Bobcat Security", "prisonbreak": "Fuga da Prisão", "vangelico": "Roubo a Joalheria", "houserobbery": "Assalto a casa", diff --git a/locales/tr.json b/locales/tr.json index d693481..e64f7bc 100644 --- a/locales/tr.json +++ b/locales/tr.json @@ -1,6 +1,6 @@ { - "dispatch_detach": "Çağrı Bildiriminden Ayrıl", - "dispatch_attach": "Çağrı Bildirimine Katıl", + "dispatch_detach": "Çağrıdan Ayrıl", + "dispatch_attach": "Çağrıya Katıl", "unit": "Birim", "units": "Birimler", "additionals": "Ek Birimler", @@ -26,20 +26,20 @@ "two_door": "İki kapı ", "three_door": "Üç kapı ", "four_door": "Dört kapı ", - "compact": "Compact", + "compact": "Kompakt", "sedan": "Sedan", "suv": "SUV", "coupe": "Coupe", "muscle": "Muscle Araç", - "sports_classic": "Sport Klasik", - "sports": "Sport Araç", + "sports_classic": "Spor Klasik", + "sports": "Spor Araç", "super": "Süper Araç", "motorcycle": "Motosiklet", "offroad": "Off-Road Araç", "industrial": "Endüstriyel Araç", "utility": "Kamu Aracı", "van": "Van", - "service": "Hizmet Aracı", + "service": "Kamu Aracı", "military": "Askeri Araç", "truck": "Tır", "north": "Kuzey Sınırı", @@ -60,17 +60,18 @@ "speeding": "Tehlikeli Sürüş", "autotheft": "Motor Hırsızlığı", "persondown": "Sivil Yaralandı", - "civbled": "Sivil Kan Kaybetti", + "civbled": "Sivil Kan Kaybediyor", "storerobbery": "Mağaza Soygunu", - "fleecabank": "Fleeca Banka Soygunu", - "paletobank": "Paleto Banka Soygunu", + "fleecabank": "Fleeca Bankası Soygunu", + "paletobank": "Paleto Bankası Soygunu", "pacificbank": "Pacific Merkez Bankası Soygunu", + "bobcatsecurity": "Bobcat Soygunu", "prisonbreak": "Hapishaneden Firar Ediliyor", - "vangelico": "Vangelico Soygunu", + "vangelico": "Kuyumcu Soygunu", "houserobbery": "Ev Soygunu", "drugsell": "Şüpheli Satış", "carjacking": "Araç Soygunu", - "vehicletheft": "Araç Çalma", + "vehicletheft": "Araç Hırsızlığı", "officerdown": "Memur Yaralandı", "officerdistress": "Memur Zor Durumda", "officerbackup": "Memur Yardım Talep Ediyor", @@ -79,9 +80,9 @@ "humanelabsrobbery": "Humane Laboratuvarı Soygunu", "trainrobbery": "Tren Soygunu", "vanrobbery": "Güvenlik Aracı Soygunu", - "underground": "Yeraltı Sığınak Soygunu", + "underground": "Yeraltı Sığınağı Soygunu", "drugboatrobbery": "Şüpheli Bot", - "unionrobbery": "Union Depozitosu Soygunu", + "unionrobbery": "Union Rezerv Bankası Soygunu", "carboosting": "Araç Yükseltmesi Yapıldı", "yachtheist": "Yat Soygunu", "susactivity": "Şüpheli Aktivite", diff --git a/shared/config.lua b/shared/config.lua index 4d41449..b7f560a 100644 --- a/shared/config.lua +++ b/shared/config.lua @@ -243,6 +243,16 @@ Config.Blips = { offset = false, flash = false }, + ['bobcatsecurityheist'] = { + radius = 0, + sprite = 500, + color = 5, + scale = 1.5, + length = 2, + sound = 'robberysound', + offset = false, + flash = false + }, ['prisonbreak'] = { radius = 0, sprite = 189,