diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/.fxap b/resources/[Developer]/[Nordi]/brutal_policejob/.fxap deleted file mode 100644 index d93cb2d4f..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/.fxap and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/README.md b/resources/[Developer]/[Nordi]/brutal_policejob/README.md deleted file mode 100644 index cecf3b394..000000000 --- a/resources/[Developer]/[Nordi]/brutal_policejob/README.md +++ /dev/null @@ -1 +0,0 @@ -Please follow the instructions: https://docs.brutalscripts.com \ No newline at end of file diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/cl_utils.lua b/resources/[Developer]/[Nordi]/brutal_policejob/cl_utils.lua deleted file mode 100644 index c15106462..000000000 --- a/resources/[Developer]/[Nordi]/brutal_policejob/cl_utils.lua +++ /dev/null @@ -1,384 +0,0 @@ -ESX = Core -QBCore = Core - --- Buy here: (4€+VAT) https://store.brutalscripts.com -function notification(title, text, time, type) - if Config.BrutalNotify then - exports['brutal_notify']:SendAlert(title, text, time, type) - else - -- Put here your own notify and set the Config.BrutalNotify to false - SetNotificationTextEntry("STRING") - AddTextComponentString(text) - DrawNotification(0,1) - - -- Default ESX Notify: - --TriggerEvent('esx:showNotification', text) - - -- Default QB Notify: - --TriggerEvent('QBCore:Notify', text, 'info', 5000) - - -- OKOK Notify: - -- exports['okokNotify']:Alert(title, text, time, type, false) - - end -end - -function TextUIFunction(type, text) - if Config.TextUI ~= false then - if type == 'open' then - if Config.TextUI:lower() == 'ox_lib' then - lib.showTextUI(text) - elseif Config.TextUI:lower() == 'okoktextui' then - exports['okokTextUI']:Open(text, 'darkblue', 'right') - elseif Config.TextUI:lower() == 'esxtextui' then - ESX.TextUI(text) - elseif Config.TextUI:lower() == 'qbdrawtext' then - exports['qb-core']:DrawText(text,'left') - elseif Config.TextUI:lower() == 'brutal_textui' then - exports['brutal_textui']:Open(text, "blue") - end - elseif type == 'hide' then - if Config.TextUI:lower() == 'ox_lib' then - lib.hideTextUI() - elseif Config.TextUI:lower() == 'okoktextui' then - exports['okokTextUI']:Close() - elseif Config.TextUI:lower() == 'esxtextui' then - ESX.HideUI() - elseif Config.TextUI:lower() == 'qbdrawtext' then - exports['qb-core']:HideText() - elseif Config.TextUI:lower() == 'brutal_textui' then - exports['brutal_textui']:Close() - end - end - end -end - -function InventoryOpenFunction(type, data) - if type == 'society' then - local job = data - local label = job:sub(1, 1):upper() .. job:sub(2):lower().." Stash" - - if Config.Inventory:lower() == 'ox_inventory' then - exports.ox_inventory:openInventory('stash', {id = "stash_"..job}) - elseif Config.Inventory:lower() == 'qb_inventory' then - if GetResourceState('qb-inventory') == "started" then - TriggerServerEvent("qb-inventory:server:OpenInventory", "stash_"..job, {label = label, maxweight = 100000, slots = 100}) - else - TriggerServerEvent("inventory:server:OpenInventory", "stash", "stash_"..job, {label = label, maxweight = 100000, slots = 100}) - TriggerEvent("inventory:client:SetCurrentStash", "stash_"..job) - end - elseif Config.Inventory:lower() == 'quasar_inventory' then - TriggerServerEvent("inventory:server:OpenInventory", "stash", "stash_"..job, {label = label, maxweight = 100000, slots = 100}) - TriggerEvent("inventory:client:SetCurrentStash", "stash_"..job) - elseif Config.Inventory:lower() == 'chezza_inventory' then - TriggerEvent("inventory:openInventory", {type = "stash", id = "stash_"..job, title = label, weight = 100000, delay = 100, save = true}) - elseif Config.Inventory:lower() == 'core_inventory' then - TriggerServerEvent("core_inventory:server:openInventory", "stash_"..job, "big_storage") - elseif Config.Inventory:lower() == 'codem_inventory' then - TriggerServerEvent("inventory:server:OpenInventory", "stash", "stash_"..job, {label = label, maxweight = 100000, slots = 100}) - elseif Config.Inventory:lower() == 'origen_inventory' then - exports.origen_inventory:openInventory("stash", "stash_"..job, {label = label, maxweight = 100000, slots = 100}) - elseif Config.Inventory:lower() == 'ps-inventory' then - if GetResourceState('ps-inventory') == "started" then - TriggerServerEvent("ps-inventory:server:OpenInventory", "stash_"..job, {label = label, maxweight = 100000, slots = 100}) - TriggerEvent("ps-inventory:client:SetCurrentStash", "stash_"..job) - else - TriggerServerEvent("inventory:server:OpenInventory", "stash", "stash_"..job, {label = label, maxweight = 100000, slots = 100}) - TriggerEvent("inventory:client:SetCurrentStash", "stash_"..job) - end - end - elseif type == 'search_player' then - local target = data - - if Config.Inventory:lower() == 'ox_inventory' then - exports.ox_inventory:openInventory('player', target) - elseif Config.Inventory:lower() == 'qb_inventory' then - if GetResourceState('qb-inventory') == "started" then - TriggerServerEvent("qb-inventory:server:OpenPlayerInventory", target) - else - TriggerServerEvent("inventory:server:OpenInventory", "otherplayer", target) - end - elseif Config.Inventory:lower() == 'quasar_inventory' then - TriggerServerEvent("inventory:server:OpenInventory", "otherplayer", target) - elseif Config.Inventory:lower() == 'chezza_inventory' then - TriggerEvent("inventory:openPlayerInventory", target, true) - elseif Config.Inventory:lower() == 'core_inventory' then - TriggerServerEvent('core_inventory:server:openInventory', target, 'otherplayer', nil, nil, false) - elseif Config.Inventory:lower() == 'codem_inventory' then - TriggerServerEvent('codem-inventory:server:robplayer', target) - elseif Config.Inventory:lower() == 'origen_inventory' then - exports.origen_inventory:openInventory('player', target) - elseif Config.Inventory:lower() == 'ps-inventory' then - if GetResourceState('ps-inventory') == "started" then - TriggerServerEvent('ps-inventory:server:OpenInventory', 'otherplayer', target) - else - TriggerServerEvent('inventory:server:OpenInventory', 'otherplayer', target) - end - end - elseif type == 'search_vehicle_trunk' then - local vehicle = data - local plate = GetVehicleNumberPlateText(vehicle) - - if Config.Inventory:lower() == 'ox_inventory' then - exports.ox_inventory:openInventory('trunk', {id='trunk'..plate, netid = NetworkGetNetworkIdFromEntity(vehicle)}) - elseif Config.Inventory:lower() == 'qb_inventory' then - if GetResourceState('qb-inventory') == "started" then - TriggerServerEvent("qb-inventory:server:OpenInventory", nil, 'trunk-'..plate) - else - TriggerServerEvent("inventory:server:OpenInventory", "trunk", plate, {maxweight = 1000000, slots = 50}) - end - elseif Config.Inventory:lower() == 'quasar_inventory' then - TriggerServerEvent("inventory:server:OpenInventory", "trunk", plate, {maxweight = 1000000, slots = 50}) - elseif Config.Inventory:lower() == 'chezza_inventory' then - TriggerEvent('inventory:openInventory', {type = "trunk", id = plate, title = "Vehicle Trunk", weight = false, delay = 300, save = true}) - elseif Config.Inventory:lower() == 'core_inventory' then - -- no data - elseif Config.Inventory:lower() == 'codem_inventory' then - TriggerEvent('codem-inventory:openInventory', 'trunk', plate) - elseif Config.Inventory:lower() == 'origen_inventory' then - exports.origen_inventory:openInventory('trunk', plate, {maxweight = 1000000, slots = 50}) - elseif Config.Inventory:lower() == 'ps-inventory' then - if GetResourceState('ps-inventory') == "started" then - TriggerServerEvent("ps-inventory:server:OpenInventory", "trunk", plate, {maxweight = 1000000, slots = 50}) - else - TriggerServerEvent("inventory:server:OpenInventory", "trunk", plate, {maxweight = 1000000, slots = 50}) - end - end - elseif type == 'search_vehicle_glovebox' then - local vehicle = data - local plate = GetVehicleNumberPlateText(vehicle) - - if Config.Inventory:lower() == 'ox_inventory' then - exports.ox_inventory:openInventory('glovebox', {id='glovebox'..plate, netid = NetworkGetNetworkIdFromEntity(vehicle)}) - elseif Config.Inventory:lower() == 'qb_inventory' then - if GetResourceState('qb-inventory') == "started" then - TriggerServerEvent("qb-inventory:server:OpenInventory", nil, 'glovebox-'..plate) - else - TriggerServerEvent("inventory:server:OpenInventory", "glovebox", plate) - end - elseif Config.Inventory:lower() == 'quasar_inventory' then - TriggerServerEvent("inventory:server:OpenInventory", "glovebox", plate) - elseif Config.Inventory:lower() == 'chezza_inventory' then - TriggerEvent('inventory:openInventory', {type = "glovebox", id = plate, title = "Vehicle Glove Box", weight = false, delay = 300, save = true}) - elseif Config.Inventory:lower() == 'core_inventory' then - -- no data - elseif Config.Inventory:lower() == 'codem_inventory' then - TriggerEvent('codem-inventory:openInventory', 'glovebox', plate) - elseif Config.Inventory:lower() == 'origen_inventory' then - exports.origen_inventory:openInventory('glovebox', plate, {maxweight = 1000000, slots = 50}) - elseif Config.Inventory:lower() == 'ps-inventory' then - if GetResourceState('ps-inventory') == "started" then - TriggerServerEvent("ps-inventory:server:OpenInventory", "glovebox", plate) - else - TriggerServerEvent("inventory:server:OpenInventory", "glovebox", plate) - end - end - end -end - -function ProgressBarFunction(time, text) - if Config.ProgressBar:lower() == 'progressbars' then --LINK: https://github.com/EthanPeacock/progressBars/releases/tag/1.0 - exports['progressBars']:startUI(time, text) - elseif Config.ProgressBar:lower() == 'mythic_progbar' then -- LINK: https://github.com/HarryElSuzio/mythic_progbar - TriggerEvent("mythic_progbar:client:progress", {name = "policejobduty", duration = time, label = text, useWhileDead = false, canCancel = false}) - elseif Config.ProgressBar:lower() == 'pogressbar' then -- LINK: https://github.com/SWRP-PUBLIC/pogressBar - exports['pogressBar']:drawBar(time, text) - end -end - -function BossMenuFunction(job) - if Config['Core']:upper() == 'ESX' then - TriggerEvent('esx_society:openBossMenu', job, function(data) end, { wash = false }) - elseif Config['Core']:upper() == 'QBCORE' then - TriggerEvent('qb-bossmenu:client:OpenMenu') - end -end - -function PlayerReviveFunction() - if Config['Core']:upper() == 'ESX' then - TriggerEvent('esx_ambulancejob:revive') - elseif Config['Core']:upper() == 'QBCORE' then - TriggerEvent('hospital:client:Revive') - end -end - -function ImpoundDeleteVehicle(vehicle) - local plate = GetVehicleNumberPlateText(vehicle) - DeleteEntity(vehicle) -end - -function HandCuffedEvent(cuffed) - if cuffed then - --exports['qs-smartphone']:canUsePhone(false) - --exports["lb-phone"]:ToggleDisabled(true) - else - --exports['qs-smartphone']:canUsePhone(true) - --exports["lb-phone"]:ToggleDisabled(false) - end -end - -function CustomMDT() - -- You can open another MDT here -end - -function BulletProofVest() - local playerPed = PlayerPedId() - - AddArmourToPed(playerPed, 100) - SetPedArmour(playerPed, 100) - SetPedComponentVariation(playerPed, 9, 27, 9, 2) -end - -function OpenCloakroomMenuEvent() - TriggerEvent('qb-clothing:client:openOutfitMenu') -end - -function CitizenWear() - if Config['Core']:upper() == 'ESX' then - Core.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin) - TriggerEvent('skinchanger:loadSkin', skin) - end) - elseif Config['Core']:upper() == 'QBCORE' then - TriggerServerEvent('qb-clothes:loadPlayerSkin') - end -end - -function setUniform(uniformTable) - if Config['Core']:upper() == 'ESX' then - TriggerEvent('skinchanger:getSkin', function(skin) - local uniform - if skin.sex == 0 then - uniform = uniformTable.male - else - uniform = uniformTable.female - end - - local table = {} - - for k,v in pairs(uniform) do - if k == 't-shirt' then - table.tshirt_1 = uniform['t-shirt'].item - table.tshirt_2 = uniform['t-shirt'].texture - elseif k == 'torso2' then - table.torso_1 = uniform['torso2'].item - table.torso_2 = uniform['torso2'].texture - elseif k == 'decals' then - table.decals_1 = uniform['decals'].item - table.decals_2 = uniform['decals'].texture - elseif k == 'arms' then - table.arms = uniform['arms'].item - elseif k == 'pants' then - table.pants_1 = uniform['pants'].item - table.pants_2 = uniform['pants'].texture - elseif k == 'shoes' then - table.shoes_1 = uniform['shoes'].item - table.shoes_2 = uniform['shoes'].texture - elseif k == 'hat' then - table.helmet_1 = uniform['hat'].item - table.helmet_2 = uniform['hat'].texture - elseif k == 'accessory' then - table.chain_1 = uniform['accessory'].item - table.chain_2 = uniform['accessory'].texture - elseif k == 'ear' then - table.ears_1 = uniform['ear'].item - table.ears_2 = uniform['ear'].texture - elseif k == 'mask' then - table.mask_1 = uniform['mask'].item - table.mask_2 = uniform['mask'].texture - end - end - - TriggerEvent('skinchanger:loadClothes', skin, table) - end) - elseif Config['Core']:upper() == 'QBCORE' then - local table = {} - local gender = QBCore.Functions.GetPlayerData().charinfo.gender - if gender == 0 then - table.outfitData = uniformTable.male - else - table.outfitData = uniformTable.female - end - - TriggerEvent('qb-clothing:client:loadOutfit', table) - end -end - -function LockPick(vehicle) - if Config['Core']:upper() == 'ESX' then - local playerPed = PlayerPedId() - TaskStartScenarioInPlace(playerPed, 'WORLD_HUMAN_WELDING', 0, true) - Wait(1000*10) - ClearPedTasksImmediately(playerPed) - - NetworkRegisterEntityAsNetworked(vehicle) - NetworkRequestControlOfEntity(vehicle) - SetEntityAsMissionEntity(vehicle) - - SetVehicleDoorsLocked(vehicle, 1) - SetVehicleDoorsLockedForAllPlayers(vehicle, false) - elseif Config['Core']:upper() == 'QBCORE' then - TriggerEvent('lockpicks:UseLockpick') - end -end - -function DisableMinimap() - DisplayRadar(false) -end - -function EnableMinimap() - DisplayRadar(true) -end - -function OpenMenuUtil() - InMenu = true - SetNuiFocus(true, true) - - Citizen.CreateThread(function() - while InMenu do - N_0xf4f2c0d4ee209e20() -- it's disable the AFK camera zoom - Citizen.Wait(15000) - end - end) - - DisplayRadar(false) -end - -function CloseMenuUtil() - Citizen.CreateThread(function() - Citizen.Wait(1000) - InMenu = false - end) - - SetNuiFocus(false, false) - - DisplayRadar(true) -end - -function GeneratePolicePlace() - return string.sub(PlayerData.job.label, 1, 4)..''..math.random(0001, 9999) -end - -function IsTargetDead(playerPed) - local dead = false - if IsEntityPlayingAnim(playerPed, 'dead', 'dead_a', 3) or IsEntityPlayingAnim(playerPed, 'combat@damage@writhe', 'writhe_loop', 3) then - dead = true - end - return dead -end - ------------------------| UTILS TRIGGERS |----------------------- - -RegisterNetEvent('brutal_policejob:client:utils:CreateVehicle') -AddEventHandler('brutal_policejob:client:utils:CreateVehicle', function(Vehicle) - SetVehicleFuelLevel(Vehicle, 100.0) - DecorSetFloat(Vehicle, "_FUEL_LEVEL", GetVehicleFuelLevel(Vehicle)) - - if Config['Core']:upper() == 'QBCORE' then - TriggerEvent("vehiclekeys:client:SetOwner", GetVehicleNumberPlateText(Vehicle)) - end -end) - -RegisterNetEvent('brutal_policejob:client:utils:DeleteVehicle') -AddEventHandler('brutal_policejob:client:utils:DeleteVehicle', function(Vehicle) - -end) diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/client/client.lua b/resources/[Developer]/[Nordi]/brutal_policejob/client/client.lua deleted file mode 100644 index 6eee645e4..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/client/client.lua and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/client/errors.lua b/resources/[Developer]/[Nordi]/brutal_policejob/client/errors.lua deleted file mode 100644 index 70489dbab..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/client/errors.lua and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/client/nui.lua b/resources/[Developer]/[Nordi]/brutal_policejob/client/nui.lua deleted file mode 100644 index efa3a6254..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/client/nui.lua and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/config.lua b/resources/[Developer]/[Nordi]/brutal_policejob/config.lua deleted file mode 100644 index 27fae7ee0..000000000 --- a/resources/[Developer]/[Nordi]/brutal_policejob/config.lua +++ /dev/null @@ -1,587 +0,0 @@ ----------------------------------------------------------------------------------------------- ------------------------------------| BRUTAL POLICE JOB :) |----------------------------------- ----------------------------------------------------------------------------------------------- - ---[[ -Hi, thank you for buying our script, We are very grateful! - -For help join our Discord server: https://discord.gg/85u2u5c8q9 -More informations about the script: https://docs.brutalscripts.com ---]] - -Config = { - Core = 'QBCORE', -- 'ESX' / 'QBCORE' | Other core setting on the 'core' folder. - Inventory = 'qs-inventory', -- 'ox_inventory' / 'qb_inventory' / 'quasar_inventory' / 'chezza_inventory' / 'codem_inventory' / 'core_inventory' / 'origen_inventory' / 'ps-inventory' // Custom can be add in the cl_utils.lua!!! - Billing = 'brutal_billing', -- 'brutal_billing' / 'esx_billing' / 'okokBilling' / 'jaksam_billing' / 'codem_billing' / 'quasar_billing' | false = immediate deduction from the player's bank account - TextUI = 'ox_lib', -- false / 'brutal_textui' / 'ox_lib' / 'okokTextUI' / 'ESXTextUI' / 'QBDrawText' // Custom can be add in the cl_utils.lua!!! - Target = 'qb-target', -- 'oxtarget' / 'qb-target' // if the TextUI is set to false target will step its place. | The Target cannot be false. - ProgressBar = 'pogressBar', -- 'progressBars' / 'pogressBar' / 'mythic_progbar' // Custom can be add in the cl_utils.lua!!! - Metric = 'kmh', -- 'kmh' / 'mph' - BrutalNotify = true, -- Buy here: (4€+VAT) https://store.brutalscripts.com | Or set up your own notify >> cl_utils.lua - SteamName = false, -- true = Steam name | false = character name - DateFormat = '%d/%m/%Y', -- Date format - CustomOutfitMenu = false, -- If it's true, it will open a custom outfit menu, what you can edit in the cl_utils.lua line 103. - ClosestDistanceIssue = false, -- DO NOT EDIT IT. - DutyOffOnDeath = true, -- If you are on duty and die, you will be taken off duty. (does nothing if DutySystem = false) - DutySystem = true, -- Do you want to use the Duty System? true / false - - PoliceStations = { - ['Police Department'] = { - Job = 'police', - MenuColors = {'rgb(15, 100, 210)', 'rgb(9, 43, 88)'}, - Blip = {use = false, color = 38, sprite = 60, size = 1.0}, - Marker = {use = false, marker = 20, rgb = {15, 100, 210}, bobUpAndDown = true, rotate = false}, - Duty = vector3(450.7325, -972.9617, 30.6547), - DutyBlips = { - use = true, - updatetime = 5000, - }, - NoteDeleteRank = 2, - GiveLicenseRank = 2, - CitizenCallDeleteRank = 2, - Licenses = {}, - Cloakrooms = { - vector3(472.7700, -1013.5255, 32.9868), - vector3(478.0511, -1011.7962, 32.9868), - }, - BossMenu = { - grades = {7}, - coords = { - vector3(430.7693, -989.8458, 35.8398), - } - } - }, - - ['Marshals'] = { - Job = 'marshal', - MenuColors = {'rgb(235, 164, 52)', 'rgb(181, 116, 13)'}, - Blip = {use = true, color = 22, sprite = 60, size = 1.0}, - Marker = {use = true, marker = 20, rgb = {15, 100, 210}, bobUpAndDown = true, rotate = false}, - Duty = vector3(-446.5832, 6012.8979, 32.2887), - DutyBlips = { - use = true, - updatetime = 5000, - }, - NoteDeleteRank = 2, - GiveLicenseRank = 2, - CitizenCallDeleteRank = 2, - Licenses = {}, - Cloakrooms = { - vector3(-440.2871, 6010.4814, 36.9957), - }, - Armorys = { - vector3(-449.4388, 6015.1021, 36.9956), - }, - BossMenu = { - grades = {3}, - coords = { - vector3(-432.8335, 6005.9185, 36.9957), - } - } - } - }, - Commands = { - -- For cops - - Duty = { - Use = true, - Command = 'pduty', - Suggestion = 'Entering/Exiting duty' - }, - - JobMenu = { - Command = 'jobmenu', - Control = '', -- Controls list: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/ - Suggestion = 'Open Job Menu' - }, - - MDT = { - Use = true, -- if false here you can add your custom MDT >> cl_utils - Command = 'mdt', - Control = '', -- Controls list: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/ - Suggestion = 'Open MDT Menu' - }, - - VehiclePanel = { - Use = true, - Command = 'vehiclepanel', - Control = '', -- Controls list: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/ - Suggestion = 'Vehicle Panel Position edit' - }, - - PlateReader = { - Use = true, -- If true, VehiclePanel also needs to be set to true. - WhitelistedVehicles = {'police', 'police2', 'police3', 'police4', 'fbi', 'fbi2', 'sheriff', 'sheriff2'}, -- false = not in use - Command = 'platereader', - Control = '', -- Controls list: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/ - Suggestion = 'Plate Reader Menu' - }, - - AreaLock = { - Use = true, - DeleteNPC = false, - Command = 'arealock', - Control = '', -- Controls list: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/ - Suggestion = 'Area Lock Menu' - }, - - CameraRepair = { - Command = 'camera_repair', - Suggestion = 'Repair the Camera' - }, - - Drag = { - Command = 'drag', - Suggestion = 'Drag Animation' - }, - - RemoveObjects = { - Command = 'removeobjects', - Suggestion = 'Remove Objects', - Objects = { - -- prop = objects props/models, icon = objects icons in the jobmenu. (for example use icons from here: https://fontawesome.com/search?m=free&o=r), freeze = freeze the objects position: true / false - [1] = {prop = 'prop_roadcone02a', icon = 'fa-solid fa-play fa-rotate-270', freeze = false}, - [2] = {prop = 'prop_barrier_work06a', icon = 'fa-solid fa-road-barrier', freeze = false}, - [3] = {prop = 'p_ld_stinger_s', icon = 'fa-solid fa-road-spikes', freeze = false}, - [4] = {prop = 'prop_gazebo_03', icon = 'fa-solid fa-tent', freeze = false}, - [5] = {prop = 'prop_worklight_03b', icon = 'fa-solid fa-lightbulb', freeze = false}, - -- You can't add more or use less!!! - } - }, - - RobPlayer = { - Use = true, - HandUpAnimation = {use = true, animDictionary = 'missminuteman_1ig_2', animName = 'handsup_base'}, -- If you use a different hands up animation on your server change these | Anim Dict, Anim Name - CanRobDeadPlayer = true, -- You can rob dead players? true / false - Command = 'rob', - Suggestion = 'Rob Player' - }, - - -- For Civils - - CitizenCall = { - Use = true, - Command = 'citizencall', - Control = '', -- Controls list: https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/ - Suggestion = 'Citizen Call Menu', - Cooldown = 0, -- in minutes while a player can not send a citizencall again - }, - }, - - HandCuff = { - Freeze = false, -- Do you want to freeze the player while he is cuffed? true / false - CuffObject = true, -- Do you want to use Cuff Object on the player's hand? true / false - FastCuff = {Command = 'cuff', Control = '', Suggestion = 'To cuff a player faster'}, - -- More controls: https://docs.fivem.net/docs/game-references/controls/ - DisableControls = {24,257,25,263,32,34,31,30,45,22,44,37,23,288,289,170,167,73,199,59,71,72,36,47,264,257,140,141,142,143,75}, -- Disabled controls while the player is cuffed. - - HandcuffItem = 'handcuff', -- Usable item, what everyone can use to cuff someone. - RemoveHandcuffItem = false, -- Wether the script should remove the cuff item after the player used it once or not - HandcuffKeyItem = 'handcuff_key', -- Usable item, what everyone can use to open the handcuff. - RemoveHandcuffKeyItem = false, -- Wether the script should remove the key item after the player used it once or not - DragBlacklistedVehicles = {'bf400', 'sanchez'}, - VehicleEnterType = 'walk', -- walk / teleport | the way how people will get in the vehicle when you put them into one with the jobmenu - }, - - BulletProofs = { - Use = false, -- true = false - Items = { - -- Job = who can use, onlyjob = Only the job members can use? true / fase, item = ITEM - {job = 'police', onlyjob = true, item = 'police_bulletproof'}, - {job = 'sheriff', onlyjob = true, item = 'sheriff_bulletproof'}, - } - }, - - SpeedCameras = { - Use = false, -- Do you want to use Speedcameras? true / false - Blips = {sprite = 184, color = 82, size = 0.5}, -- Speedcameras Blips - OtherWhitelistedJobs = {'ambulance', 'sheriff', ''}, -- Other Whitelisted jobs - Flash = true, -- Do you want a flash effect for Speedcameras? true / false - FlashSound = true, -- Do you want a flash sound for Speedcameras? true / false - Positions = { - -- Coords, job = which job will get the money from the speedcameras, limit = speed limit, price = price (Proportional fine value), radius = radius, blip = true / false - {coords = vector3(2076.3738, 2718.7109, 47.6280), job = 'police', limit = 50, price = 1000, radius = 5.0, blip = true}, - {coords = vector3(1320.0201, 610.4359, 80.1452), job = 'police', limit = 130, price = 3000, radius = 15.0, blip = true}, - {coords = vector3(-2686.5913, 2442.6104, 16.6781), job = 'police', limit = 130, price = 3000, radius = 15.0, blip = true}, - {coords = vector3(-1057.4922, -607.0911, 17.9110), job = 'police', limit = 110, price = 2000, radius = 25.0, blip = true}, - {coords = vector3(229.3872, -662.6493, 38.2247), job = 'police', limit = 50, price = 1000, radius = 15.0, blip = true}, - {coords = vector3(120.5341, -1378.1332, 28.8197), job = 'police', limit = 50, price = 1000, radius = 25.0, blip = true}, - } - }, - - CityAlarms = { -- When shooting or car jacking happens the script can place a blip for some time or send a citizencall to the mdt - Shooting = { - Use = true, - SendCitizenCall = false, - - Blips = {sprite = 110, sprite2 = 229, size = 0.70, color = 1, label = 'Shooting'}, - RemoveTime = 15, -- in second | Remove the blip after this time - JobWhitelist = {"fbi"}, -- if someone from these jobs shoot it wont be triggered - ZoneWhitelists = { -- in this zone it wont be triggered - {size = 30.0, coords = vector3(133.8319, -481.2803, 43.1305)}, - }, - WeaponWhitelist = { -- these weapons wont trigger the script - 'WEAPON_GRENADE', - 'WEAPON_BZGAS', - 'WEAPON_MOLOTOV', - 'WEAPON_STICKYBOMB', - 'WEAPON_PROXMINE', - 'WEAPON_SNOWBALL', - 'WEAPON_PIPEBOMB', - 'WEAPON_BALL', - 'WEAPON_SMOKEGRENADE', - 'WEAPON_FLARE', - 'WEAPON_PETROLCAN', - 'WEAPON_FIREEXTINGUISHER', - 'WEAPON_HAZARDCAN', - 'WEAPON_RAYCARBINE', - 'WEAPON_STUNGUN' - } - }, - - CarJack = { - Use = true, - - Blips = {sprite = 326, size = 0.70, color = 43, label = 'Car Jacking'}, - RemoveTime = 15, -- in second | Remove the blip after this time - SendCitizenCall = true, - UseShockingCarAlarm = true, - - ZoneWhitelists = { - {size = 30.0, coords = vector3(133.8319, -481.2803, 43.1305)}, - }, - }, - }, - - Prison = { - Use = true, -- Do you want to use the Prison? true / false - SaveInventory = true, -- true / false | If set to true, the player's inventory is saved to the database when jailed. (Cannot be true if ClearInventory is also true.) - ClearInventory = false, -- true / false | If set to true, the player's inventory is cleared when jailed. (Cannot be true if SaveInventory is also true.) - SaveFrequency = 5, - Blip = {use = true, label = 'Prison', color = 3, sprite = 188, size = 1.25}, - Marker = {use = true, marker = 20, rgb = {15, 100, 210}, bobUpAndDown = true, rotate = false}, - Coords = vector3(1765.2253, 2560.2373, 45.5651), - SendPlayerToJail = vector3(1840.3468, 2579.6252, 46.0143), - FinishCoords = vector4(1847.0192, 2585.8787, 45.6726, 267.4373), - - Hospital = { - Blip = {label = 'Prison Hospital', coords = vector3(1767.7861, 2570.3118, 45.7299), color = 2, sprite = 61, size = 0.8}, - ReviveTime = 15, -- in sec - ClearInventory = true, -- true / false - Beds = { - {coords = vector3(1772.00, 2597.9272, 45.6585), heading = 90.0}, - {coords = vector3(1772.00, 2594.9656, 45.6586), heading = 90.0}, - {coords = vector3(1772.00, 2591.8428, 45.6586), heading = 90.0}, - }, - }, - - Escape = { - CanEscape = true, -- Do you want to let the players to escape from the Prison? true / false - EscapeDistance = 500.0, -- Escape Distance - - EscapeByTunnel = { - Use = true, -- If it's true, you have to have this required mlo: https://ed-johnsonscripts.tebex.io/package/5303552 - Price = 5000, -- Price to can use - TimeToEscape = 30000, -- Escaping time - - Model = 's_m_y_prismuscl_01', - Coords = vector4(1628.2682, 2584.9957, 44.5652, 1.0618), - DoorCoords = vector4(1628.185, 2584.76, 45.5583, 1.0618), - WalkCoords = vector4(1626.5833, 2585.4402, 45.5648, 2.9932), - DoorObject = -904036698, - }, - }, - - Shop = { - Blip = {label = 'Prison Shop', color = 69, sprite = 59, size = 0.8}, - Coords = vector3(1770.1625, 2551.2397, 45.5650), - Items = { - -- In ESX - {item = 'burger', label = 'Burger', price = 1}, - {item = 'water', label = 'Water', price = 1}, - - -- In QB - --{item = 'sandwich', label = 'Sandwich', price = 1}, - --{item = 'water_bottle', label = 'Water', price = 1}, - } - }, - - Jobs = { - Use = true, - Blip = {label = 'Prison Job', color = 17, sprite = 66, size = 0.7}, - StartJob = vector3(1616.6893, 2576.9800, 45.8556), - - Works = { - -- Welding - { - Time = 10, -- Time in sec - Money = {min = 100, max = 200}, -- Mimimum, Maximum random money amount - Blip = {label = 'Work Possition', color = 26, sprite = 354, size = 0.8}, - Animation = 'WORLD_HUMAN_WELDING', - RemoveProp = 'prop_weld_torch', - Positions = { - {Coords = vector3(1624.7623, 2575.7261, 45.5649), Heading = 270.0}, - {Coords = vector3(1610.1010, 2568.1750, 45.5649), Heading = 45.0}, - }, - }, - - -- Hammering - { - Time = 10, - Money = {min = 100, max = 200}, - Blip = {label = 'Work Possition', color = 26, sprite = 402, size = 1.0}, - Animation = 'WORLD_HUMAN_HAMMERING', - RemoveProp = 'prop_tool_hammer', - Positions = { - {Coords = vector3(1630.2081, 2527.3784, 45.5649), Heading = 235.0}, - {Coords = vector3(1624.8821, 2513.2861, 45.5648), Heading = 100.0}, - }, - }, - - -- Planting - { - Time = 10, - Money = {min = 100, max = 200}, - Blip = {label = 'Work Possition', color = 2, sprite = 1, size = 0.75}, - Animation = 'WORLD_HUMAN_GARDENER_PLANT', - RemoveProp = 'prop_cs_trowel', - Positions = { - {Coords = vector3(1771.3270, 2546.0410, 45.5871), Heading = 275.0}, - {Coords = vector3(1757.6355, 2550.0220, 45.5651), Heading = 130.0}, - {Coords = vector3(1700.1659, 2536.5183, 45.5595), Heading = 150.0}, - }, - }, - - -- Cleaning - { - Time = 10, - Money = {min = 100, max = 200}, - Blip = {label = 'Work Possition', color = 5, sprite = 1, size = 0.75}, - Animation = 'WORLD_HUMAN_MAID_CLEAN', - RemoveProp = 'prop_rag_01', - Positions = { - {Coords = vector3(1781.9982, 2558.9646, 45.6732), Heading = 0.0}, - {Coords = vector3(1784.3669, 2563.7920, 45.6731), Heading = 0.0}, - {Coords = vector3(1784.2422, 2552.7314, 45.6731), Heading = 0.0}, - }, - }, - - -- You can add more... - }, - }, - - PrisonGuards = { - {Model = 'mp_m_securoguard_01', Coords = vector4(1759.9581, 2413.7534, 45.3684, 28.3456), Distance = 10.0}, - {Model = 'mp_m_securoguard_01', Coords = vector4(1820.5490, 2477.2603, 45.3775, 58.4353), Distance = 10.0}, - {Model = 'mp_m_securoguard_01', Coords = vector4(1659.2534, 2398.5969, 45.4038, 1.3208), Distance = 10.0}, - {Model = 'mp_m_securoguard_01', Coords = vector4(1544.2542, 2470.9983, 45.3487, 291.0606), Distance = 10.0}, - {Model = 'mp_m_securoguard_01', Coords = vector4(1538.5869, 2585.3689, 45.3398, 276.2064), Distance = 10.0}, - {Model = 'mp_m_securoguard_01', Coords = vector4(1572.9132, 2678.1006, 45.3943, 241.9367), Distance = 10.0}, - {Model = 'mp_m_securoguard_01', Coords = vector4(1650.8765, 2754.4700, 45.4991, 204.2366), Distance = 10.0}, - {Model = 'mp_m_securoguard_01', Coords = vector4(1772.0437, 2758.9846, 45.5022, 158.1188), Distance = 10.0}, - {Model = 'mp_m_securoguard_01', Coords = vector4(1844.9613, 2699.1370, 45.5318, 91.8540), Distance = 10.0}, - {Model = 'mp_m_securoguard_01', Coords = vector4(1819.9763, 2621.6011, 45.5227, 84.6645), Distance = 10.0}, - {Model = 'mp_m_securoguard_01', Coords = vector4(1796.1647, 2620.0349, 45.5651, 357.4224), Distance = 10.0}, - {Model = 'mp_m_securoguard_01', Coords = vector4(1797.2832, 2590.6509, 45.6206, 190.7684), Distance = 10.0}, - {Model = 'mp_m_securoguard_01', Coords = vector4(1822.2632, 2608.7876, 45.5931, 92.6341), Distance = 20.0}, - }, - }, - - SecurityCameras = { - hack = { - enable = true, -- Camera Hacking | true = false - time = 30, -- Hacking time - removeItem = false, -- Remove the item? | true = false - item = 'cam_hacking', -- Camera Hacking item - distance = 15.0 -- The player should be at this distance from camera object - }, - - cameras = { - [1] = {label = "Prison CAM#1", coords = vector3(1768.84, 2530.96, 50.06), r = {x = -15.0, y = 0.0, z = 42.78}, img = 'https://i.ibb.co/L1V2ypj/image.png'}, - [2] = {label = "Prison CAM#2", coords = vector3(1616.35, 2522.01, 50.12), r = {x = -15.0, y = 0.0, z = 300.78}, img = 'https://i.ibb.co/ggPmDzF/image.png'}, - [3] = {label = "Prison CAM#3", coords = vector3(1694.99, 2529.18, 59.00), r = {x = -15.0, y = 0.0, z = 300.78}, img = 'https://i.ibb.co/ZfQ8Rbk/image.png'}, - [4] = {label = "Pacific Bank CAM#1", coords = vector3(235.35, 227.76, 113.83), r = {x = -35.0, y = 0.0, z = 220.05}, img = 'https://i.ibb.co/RzW3BG6/image.png'}, - [5] = {label = "Pacific Bank CAM#2", coords = vector3(232.64, 221.82, 108.47), r = {x = -25.0, y = 0.0, z = -140.91}, img = 'https://i.ibb.co/YZZ5BXG/image.png'}, - [6] = {label = "Pacific Bank CAM#3", coords = vector3(251.83, 225.38, 104.50), r = {x = -35.0, y = 0.0, z = -74.87}, img = 'https://i.ibb.co/bW8qhqx/image.png'}, - [7] = {label = "Jewelery CAM#1", coords = vector3(-620.28, -224.15, 40.32), r = {x = -25.0, y = 0.0, z = 165.78}, img = 'https://i.ibb.co/WgSKLwZ/image.png'}, - [8] = {label = "Jewelery CAM#2", coords = vector3(-627.47, -239.98, 40.30), r = {x = -25.0, y = 0.0, z = -10.78}, img = 'https://i.ibb.co/dtZzrWp/image.png'}, - [9] = {label = "Paleto Bank #1", coords = vector3(-115.40, 6472.91, 33.00), r = {x = -25.0, y = 0.0, z = 200.1595}, img = 'https://i.ibb.co/8ryd2wF/image.png'}, - [10] = {label = "Paleto Bank #2", coords = vector3(-108.02, 6462.61, 33.40), r = {x = -25.0, y = 0.0, z = 360.00}, img = 'https://i.ibb.co/SRtZtBx/image.png'}, - [11] = {label = "Paleto Bank #3", coords = vector3(-104.62, 6479.42, 33.38), r = {x = -25.0, y = 0.0, z = 182.00}, img = 'https://i.ibb.co/J2XSjT4/image.png'}, - [12] = {label = "Paleto Bank #4", coords = vector3(-107.89, 6468.54, 33.90), r = {x = -25.0, y = 0.0, z = 216.00}, img = 'https://i.ibb.co/1QvW9GD/image.png'}, - [13] = {label = "Fleeca Bank #1", coords = vector3(146.52, -1038.20, 30.72), r = {x = -25.0, y = 0.0, z = 250.1595}, img = 'https://i.ibb.co/Z2M2x5N/image.png'}, - [14] = {label = "Fleeca Bank #1", coords = vector3(150.01, -1051.31, 31.10), r = {x = -25.0, y = 0.0, z = 25.1595}, img = 'https://i.ibb.co/0nDx3P5/image.png'}, - [15] = {label = "Fleeca Bank #2", coords = vector3(1179.08, 2705.60, 39.40), r = {x = -25.0, y = 0.0, z = 90.1595}, img = 'https://i.ibb.co/Z2M2x5N/image.png'}, - [16] = {label = "Fleeca Bank #2", coords = vector3(1171.28, 2716.70, 39.82), r = {x = -25.0, y = 0.0, z = 225.1595}, img = 'https://i.ibb.co/0nDx3P5/image.png'}, - [17] = {label = "Fleeca Bank #3", coords = vector3(-1216.80, -331.46, 39.0), r = {x = -25.0, y = 0.0, z = 290.1595}, img = 'https://i.ibb.co/Z2M2x5N/image.png'}, - [18] = {label = "Fleeca Bank #3", coords = vector3(-1204.83, -337.83, 39.51), r = {x = -25.0, y = 0.0, z = 80.1595}, img = 'https://i.ibb.co/0nDx3P5/image.png'}, - [19] = {label = "Fleeca Bank #4", coords = vector3(-2963.95, 478.96, 17.06), r = {x = -25.0, y = 0.0, z = 350.1595}, img = 'https://i.ibb.co/Z2M2x5N/image.png'}, - [20] = {label = "Fleeca Bank #4", coords = vector3(-2952.67, 486.13, 17.47), r = {x = -25.0, y = 0.0, z = 140.1595}, img = 'https://i.ibb.co/0nDx3P5/image.png'}, - [21] = {label = "Fleeca Bank #5", coords = vector3(310.85, -276.56, 55.47), r = {x = -25.0, y = 0.0, z = 250.1595}, img = 'https://i.ibb.co/Z2M2x5N/image.png'}, - [22] = {label = "Fleeca Bank #5", coords = vector3(314.34, -289.67, 56.23), r = {x = -25.0, y = 0.0, z = 25.1595}, img = 'https://i.ibb.co/0nDx3P5/image.png'}, - [23] = {label = "Fleeca Bank #6", coords = vector3(-354.35, -47.43, 50.69), r = {x = -25.0, y = 0.0, z = 250.1595}, img = 'https://i.ibb.co/Z2M2x5N/image.png'}, - [24] = {label = "Fleeca Bank #6", coords = vector3(-350.62, -60.48, 50.76), r = {x = -25.0, y = 0.0, z = 25.1595}, img = 'https://i.ibb.co/0nDx3P5/image.png'}, - }, - }, - - ----------------------------------------------------------- - -----------------------| TRANSLATE |----------------------- - ----------------------------------------------------------- - - MoneyForm = '$', -- Money form - - -- All Licences Label - Licences = { - ['weapon'] = 'Weapon Licence', - ['dmv'] = 'DMV Licence', - ['drive'] = 'Drive Licence', - ['driver'] = 'Drive Licence', - ['bike'] = 'Bike Licence', - ['hunting'] = 'Hunting Licence', - ['business'] = 'Business Licence', - }, - - Locales = { - CameraLabel = 'Left ~INPUT_CELLPHONE_LEFT~ Right ~INPUT_CELLPHONE_RIGHT~\nUp ~INPUT_CELLPHONE_UP~ Down ~INPUT_CELLPHONE_DOWN~\n~r~Cancel ~INPUT_CELLPHONE_CANCEL~', - ObjectLabel = 'Rotate Object ~INPUT_CELLPHONE_LEFT~ & ~INPUT_CELLPHONE_RIGHT~\n~b~Place Object~w~ ~INPUT_FRONTEND_RDOWN~', - Male = 'Male', - Female = 'Female', - SpeedCameraFine = 'Speed Camera - Speed:', - SpeedCameraBlipLabel = 'Speed Camera', - None = 'None', - Jail = 'Jail', - Reason = 'Reason', - Time = 'Time', - VehicleJacking = 'Vehicle Jacking', - Shooting = 'Shooting', - - -- Job Menu Locales - - CitizenInteractions = 'Citizen Interactions', - Search = 'Search', - Cuff = 'Cuff', - Uncuff = 'Uncuff', - Drag = 'Drag', - InOutOfVehicle = 'In/out of vehicle', - - VehicleInteractions = 'Vehicle Interactions', - Lockpick = 'Lockpick', - WheelClamp = 'Wheel clamp', - Impound = 'Impound', - VehicleSearch = 'Search', - - Objects = 'Objects', - Cone = 'Cone', - Barrier = 'Barrier', - Spikestrips = 'Spikestrips', - Tent = 'Tent', - Light = 'Light', - - MDT = 'MDT', - Colleague = 'Colleague', - }, - - Texts = { - [1] = {'[E] - To open the dress menu', 38, 'Open the dress menu', 'fa-solid fa-person-half-dress'}, - [2] = {'[E] - To open the armory menu', 38, 'Open the armory menu', 'fa-solid fa-shield-halved'}, - [3] = {'[E] - To open the garage menu', 38, 'Open the garage menu', 'fa-solid fa-warehouse'}, - [4] = {'[E] - To deposit the vehicle', 38, 'Deposit the vehicle', 'fa-solid fa-car'}, - [5] = {'[E] - To Duty ON', '[E] - To Duty OFF', 38, 'To Duty', 'fa-solid fa-newspaper'}, - [6] = {'[E] - Search Vehicle Trunk', 38}, - [7] = {'[E] - Search Vehicle Glovebox', 38}, - [8] = {'[E] - To remove Object', 38, 'Remove Object', 'fa-solid fa-trash'}, - [9] = {'[E] - To start job', 38, 'Start job', 'fa-solid fa-play'}, - [10] = {'[E] - To finish job', 38, 'Finish job', 'fa-solid fa-stop'}, - [11] = {'[E] - To start working', 38, 'Start working', 'fa-solid fa-hammer'}, - [12] = {'[E] - To escape By Tunnel', 38, 'Escape By Tunnel', 'fa-solid fa-archway'}, - [13] = {'[E] - To open shop', 38, 'Open shop', 'fa-solid fa-shop'}, - [14] = {'[E] - To send Player To Jail', 38, 'Send Player To Jail', 'fa-solid fa-handcuffs'}, - [15] = {'[E] - To open the boss menu', 38, 'Open the boss menu', 'fa-solid fa-users-gear'}, - }, - - -- Notify function EDITABLE >> cl_utils.lua - Notify = { - [1] = {"POLICE JOB", "No vehicle available for your rank.", 5000, "error"}, - [2] = {"POLICE JOB", "You can't deposit this Vehicle.", 5000, "error"}, - [3] = {"POLICE JOB", "Duty status: ON", 5000, "info"}, - [4] = {"POLICE JOB", "Duty status: OFF", 5000, "info"}, - [5] = {"POLICE JOB", "Something is in the way!", 5000, "error"}, - [6] = {"POLICE JOB", "There isn't free seat in the Vehicle!", 5000, "error"}, - [7] = {"POLICE JOB", "You got:", 5000, "info"}, - [8] = {"POLICE JOB", "
You spent:", 5000, "info"}, - [9] = {"POLICE JOB", "You can't use it.", 5000, "error"}, - [10] = {"POLICE JOB", "You don't have enough money!", 5000, "error"}, - [11] = {"POLICE JOB", "You have started Work! Go to the Point, marked on the map! You will receive Money when you finish the Job.", 10000, "info"}, - [12] = {"POLICE JOB", "Go to the Next Point, marked on the map!", 5000, "info"}, - [13] = {"POLICE JOB", "The Prison Guard bringed you back!", 5000, "info"}, - [14] = {"POLICE JOB", "You do not have enough cash:", 5000, "error"}, - [15] = {"POLICE JOB", "The door is opening, escape!", 5000, "success"}, - [16] = {"POLICE JOB", "Please DO NOT SPAM!", 8000, "error"}, - [17] = {"POLICE JOB", "You aren't near to a Camera Object!", 5000, "error"}, - [18] = {"POLICE JOB", "Hack FAILED!", 5000, "error"}, - [19] = {"POLICE JOB", "Hack SUCCESS! The camera has been deactivated.", 5000, "success"}, - [20] = {"POLICE JOB", "You have successfully repaired the Camera!", 6000, "success"}, - [21] = {"POLICE JOB", "You have successfully submitted!", 6000, "success"}, - [22] = {"POLICE JOB", "You have successfully created a fine!", 6000, "success"}, - [23] = {"POLICE JOB", "There are no players near you!", 6000, "error"}, - [24] = {"POLICE JOB", "Jail time is over!", 6000, "success"}, - [25] = {"POLICE JOB", "You have successfully escaped!", 6000, "success"}, - [26] = {"POLICE JOB", "You can't escape!", 6000, "error"}, - [27] = {"POLICE JOB", "Citizen Call
Street: ", 6000, "info"}, - [28] = {"POLICE JOB", "No one nearby to drag!", 6000, "error"}, - [29] = {"POLICE JOB", "Someone is in the Vehicle!", 6000, "error"}, - [30] = {"POLICE JOB", "You have to put a Wheel Clamp to the Wheel first.", 6000, "error"}, - [31] = {"POLICE JOB", "You paid a police fine:", 5000, "info"}, - [32] = {"POLICE JOB", "The player isn't available!", 5000, "info"}, - [33] = {"POLICE JOB", "The player have to put up their hands!", 5000, "error"}, - [34] = {"POLICE JOB", "You have to wait to send again.", 5000, "error"}, - [35] = {"POLICE JOB", "You have to duty in!", 5000, "error"}, - }, - - Progressbar = { - DutyOFF = 'Duty OFF...', - DutyON = 'Duty ON...', - Working = 'Working...', - WheelClampPlacing = 'Placing Wheel Clamp...', - Impound = 'Impound...', - Rob = 'Player Robbing...' - }, - - Webhooks = { - Use = true, -- Use webhooks? true / false - Locale = { - ['ItemBought'] = 'Item Bought', - ['CitizenCallOpen'] = 'Citizen Call - Open', - ['CitizenCallClose'] = 'Citizen Call - Close', - ['CitizenCallDelete'] = 'Citizen Call - Delete', - ['FineCreated'] = 'Fine Created', - ['Jail'] = 'Jail', - ['Unjail'] = 'Unjail', - - ['PlayerName'] = 'Player Name', - ['Identifier'] = 'Identifier', - ['Items'] = 'Items', - ['Text'] = 'Text', - ['Callid'] = 'Call ID', - ['Coords'] = 'Coords', - ['Assistant'] = 'Assistant', - ['CloseReason'] = 'Close Reason', - ['Receiver'] = 'Receiver', - ['Amount'] = 'Amount', - ['Job'] = 'Job', - ['Reason'] = 'Reason', - - ['Time'] = 'Time ⏲️' - }, - - -- To change a webhook color you need to set the decimal value of a color, you can use this website to do that - https://www.mathsisfun.com/hexadecimal-decimal-colors.html - Colors = { - ['FineCreated'] = 3145631, - ['CitizenCallOpen'] = 3145631, - ['CitizenCallClose'] = 3145631, - ['ItemBought'] = 3145631, - ['Jail'] = 3145631, - ['Unjail'] = 3145631, - } - } -} -- diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/core/client-core.lua b/resources/[Developer]/[Nordi]/brutal_policejob/core/client-core.lua deleted file mode 100644 index 80d4eaf0a..000000000 --- a/resources/[Developer]/[Nordi]/brutal_policejob/core/client-core.lua +++ /dev/null @@ -1,73 +0,0 @@ -Core = nil - -if Config['Core']:upper() == 'ESX' then - local _esx_ = 'new' -- 'new' / 'old' - - if _esx_ then - Core = exports['es_extended']:getSharedObject() - else - while Core == nil do - TriggerEvent('esx:getSharedObject', function(obj) Core = obj end) - Citizen.Wait(0) - end - end - - LoadedEvent = 'esx:playerLoaded' - onPlayerDeath = 'esx:onPlayerDeath' - JobUpdateEvent = 'esx:setJob' - TSCB = Core.TriggerServerCallback - - function GetPlayerJobDatas() - return Core.GetPlayerData().job - end - - function GetClosestPlayerFunction() - if not Config.ClosestDistanceIssue then - return Core.Game.GetClosestPlayer() - else - local pedCoords = GetEntityCoords(PlayerPedId()) - local closestPlayer, _, targetCoords = lib.getClosestPlayer(pedCoords, 100.0) - local distance = 100.0 - if closestPlayer ~= nil then - distance = #(pedCoords - targetCoords) - end - - return closestPlayer, distance - end - end - - function GetClosestVehicleFunction(coords, modelFilter) - if not Config.ClosestDistanceIssue then - return Core.Game.GetClosestVehicle(coords, modelFilter) - else - local pedCoords = GetEntityCoords(PlayerPedId()) - local closestVehicle, targetCoords = lib.getClosestVehicle(pedCoords, 100.0, false) - local distance = 100.0 - if closestVehicle ~= nil then - distance = #(pedCoords - targetCoords) - end - - return closestVehicle, distance - end - end - -elseif Config['Core']:upper() == 'QBCORE' then - Core = exports['qb-core']:GetCoreObject() - - LoadedEvent = 'QBCore:Client:OnPlayerLoaded' - JobUpdateEvent = 'QBCore:Client:OnJobUpdate' - TSCB = Core.Functions.TriggerCallback - - function GetPlayerJobDatas() - return Core.Functions.GetPlayerData().job - end - - function GetClosestPlayerFunction() - return Core.Functions.GetClosestPlayer() - end - - function GetClosestVehicleFunction(coords, modelFilter) - return Core.Functions.GetClosestVehicle(coords, modelFilter) - end - -end \ No newline at end of file diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/core/server-core.lua b/resources/[Developer]/[Nordi]/brutal_policejob/core/server-core.lua deleted file mode 100644 index e177cfe2f..000000000 --- a/resources/[Developer]/[Nordi]/brutal_policejob/core/server-core.lua +++ /dev/null @@ -1,317 +0,0 @@ -Core = nil - -if Config['Core']:upper() == 'ESX' then - local _esx_ = 'new' -- 'new' / 'old' - - if _esx_ == 'new' then - Core = exports['es_extended']:getSharedObject() - else - Core = nil - TriggerEvent('esx:getSharedObject', function(obj) Core = obj end) - while Core == nil do - Citizen.Wait(0) - end - end - - RESCB = Core.RegisterServerCallback - GETPFI = Core.GetPlayerFromId - RUI = Core.RegisterUsableItem - UsersDataTable = 'users' - UserIdentifierValue = 'identifier' - VehiclesDataTable = 'owned_vehicles' - - function GetIdentifier(source) - local xPlayer = GETPFI(source) - while xPlayer == nil do - Citizen.Wait(1000) - xPlayer = GETPFI(source) - end - return xPlayer.identifier - end - - function GetPlayersFunction() - return Core.GetPlayers() - end - - function GetPlayerJobFunction(source) - if source ~= nil then - local xPlayer = GETPFI(source) - PlayerJob = xPlayer.job.name - return PlayerJob - else - return "" - end - end - - function GetPlayerByIdentifier(identifier) - return Core.GetPlayerFromIdentifier(identifier) - end - - function GetAccountMoney(source,account) - local xPlayer = GETPFI(source) - if account == 'bank' then - return xPlayer.getAccount(account).money - elseif account == 'money' then - return xPlayer.getMoney() - end - end - - function AddMoneyFunction(source, account, amount) - local xPlayer = GETPFI(source) - if account == 'bank' then - xPlayer.addAccountMoney('bank', amount) - elseif account == 'money' then - xPlayer.addMoney(amount) - end - end - - function RemoveAccountMoney(source, account, amount) - local xPlayer = GETPFI(source) - if account == 'bank' then - xPlayer.removeAccountMoney('bank', amount) - elseif account == 'money' then - xPlayer.removeMoney(amount) - end - end - - function GetItemCount(source, item) - local xPlayer = GETPFI(source) - - if xPlayer.getInventoryItem(item) ~= nil then - if _esx_ == 'new' then - return xPlayer.getInventoryItem(item).count - else - if string.sub(item, 0, 6):lower() == 'weapon' then - local loadoutNum, weapon = xPlayer.getWeapon(item:upper()) - - if weapon then - return true - else - return false - end - else - return xPlayer.getInventoryItem(item).count - end - end - else - print("^1PROBLEM!^3 The ^7items ^3are not created. Create them from our documentation. https://docs.brutalscripts.com/site/scripts/police-job/installation-guide") - end - end - - function RemoveItem(source, item, amount) - local xPlayer = GETPFI(source) - if _esx_ == 'new' then - xPlayer.removeInventoryItem(item, amount) - else - if string.sub(item, 0, 6):lower() == 'weapon' then - xPlayer.removeWeapon(item) - else - xPlayer.removeInventoryItem(item, amount) - end - end - end - - function AddItem(source, item, count) - local xPlayer = GETPFI(source) - if _esx_ == 'new' then - xPlayer.addInventoryItem(item, count) - else - if string.sub(item, 0, 6):lower() == 'weapon' then - xPlayer.addWeapon(item, 90) - else - xPlayer.addInventoryItem(item, count) - end - end - end - - function GetPlayerNameFunction(source) - local name - if Config.SteamName then - name = GetPlayerName(source) - else - local xPlayer = GETPFI(source) - name = xPlayer.getName() or 'No Data' - end - return name - end - - function GetPlayerSex(source) - local xPlayer = GETPFI(source) - return xPlayer.get("sex") - end - - function ClearInventory(source) - local xPlayer = GETPFI(source) - local src = source - - if InventorySaves[src] == nil then - InventorySaves[src] = {} - end - - for i=1, #xPlayer.inventory, 1 do - if xPlayer.inventory[i] ~= nil and xPlayer.inventory[i].name ~= nil then - - local amount = 0 - if xPlayer.inventory[i].count ~= nil then - amount = xPlayer.inventory[i].count - elseif xPlayer.inventory[i].amount ~= nil then - amount = xPlayer.inventory[i].amount - end - - table.insert(InventorySaves[src], {item = xPlayer.inventory[i].name, amount = amount}) - xPlayer.setInventoryItem(xPlayer.inventory[i].name, 0) - end - end - end - -elseif Config['Core']:upper() == 'QBCORE' then - - Core = exports['qb-core']:GetCoreObject() - - RESCB = Core.Functions.CreateCallback - GETPFI = Core.Functions.GetPlayer - RUI = Core.Functions.CreateUseableItem - UsersDataTable = 'players' - UserIdentifierValue = 'citizenid' - VehiclesDataTable = 'player_vehicles' - - function GetIdentifier(source) - local xPlayer = GETPFI(source) - while xPlayer == nil do - Citizen.Wait(1000) - xPlayer = GETPFI(source) - end - return xPlayer.PlayerData.citizenid - end - - function GetPlayerByIdentifier(identifier) - return Core.Functions.GetPlayerByCitizenId(identifier) - end - - function GetPlayersFunction() - return Core.Functions.GetPlayers() - end - - function GetPlayerJobFunction(source) - local xPlayer = GETPFI(source) - PlayerJob = xPlayer.PlayerData.job.name - return PlayerJob - end - - function GetAccountMoney(source, account) - local xPlayer = GETPFI(source) - if account == 'bank' then - return xPlayer.PlayerData.money.bank - elseif account == 'money' then - return xPlayer.PlayerData.money.cash - end - end - - function AddMoneyFunction(source, account, amount) - local xPlayer = GETPFI(source) - if account == 'bank' then - xPlayer.Functions.AddMoney('bank', amount) - elseif account == 'money' then - xPlayer.Functions.AddMoney('cash', amount) - end - end - - function GetItemCount(source, item) - local xPlayer = GETPFI(source) - local items = xPlayer.Functions.GetItemByName(item) - local item_count = 0 - if items ~= nil then - item_count = items.amount - else - item_count = 0 - end - return item_count - end - - function RemoveAccountMoney(source, account, amount) - local xPlayer = GETPFI(source) - if account == 'bank' then - xPlayer.Functions.RemoveMoney('bank', amount) - elseif account == 'money' then - xPlayer.Functions.RemoveMoney('cash', amount) - end - end - - function RemoveItem(source, item, amount) - local xPlayer = GETPFI(source) - xPlayer.Functions.RemoveItem(item, amount) - end - - function AddItem(source, item, count, info) - local xPlayer = GETPFI(source) - info = info or nil - - xPlayer.Functions.AddItem(item, count, nil, info) - end - - function GetPlayerNameFunction(source) - local name - if Config.SteamName then - name = GetPlayerName(source) - else - local xPlayer = GETPFI(source) - name = xPlayer.PlayerData.charinfo.firstname..' '..xPlayer.PlayerData.charinfo.lastname - end - return name - end - - function GetPlayerSex(source) - local xPlayer = GETPFI(source) - local sex = xPlayer.PlayerData.charinfo.gender - - if sex == 0 then - sex = 'm' - else - sex = 'f' - end - - return sex - end - - function SetHandCuffMetadata(source, isHandcuffed) - local xPlayer = GETPFI(source) - xPlayer.Functions.SetMetaData('ishandcuffed', isHandcuffed) - end - - function GetPlayerDeathMetaData(source) - local xPlayer = GETPFI(source) - return xPlayer.PlayerData.metadata['isdead'] - end - - function ClearInventory(source) - local xPlayer = GETPFI(source) - local src = source - - if InventorySaves[src] == nil then - InventorySaves[src] = {} - end - - local playerItems = xPlayer.PlayerData.items - for _, item in pairs(playerItems) do - if item ~= nil and item.name ~= nil then - - local amount = 0 - if item.amount ~= nil then - amount = item.amount - elseif item.count ~= nil then - amount = item.count - end - - local info = nil - if item.info ~= nil then - info = item.info - elseif item.metadata ~= nil then - info = item.metadata - end - - table.insert(InventorySaves[src], {item = item.name, amount = amount, info = info}) - xPlayer.Functions.RemoveItem(item.name, amount) - end - end - end -end \ No newline at end of file diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/fxmanifest.lua b/resources/[Developer]/[Nordi]/brutal_policejob/fxmanifest.lua deleted file mode 100644 index c90bc8b8e..000000000 --- a/resources/[Developer]/[Nordi]/brutal_policejob/fxmanifest.lua +++ /dev/null @@ -1,77 +0,0 @@ -fx_version 'cerulean' -games { 'gta5' } -lua54 'yes' - -author 'Keres & Dév' -description 'Brutal Police Job - store.brutalscripts.com' -version '1.5.6' - -data_file 'DLC_ITYP_REQUEST' 'stream/clamp.ytyp' - -client_scripts { - 'config.lua', - 'core/client-core.lua', - 'cl_utils.lua', - 'client/*.lua' -} - -server_scripts { - '@mysql-async/lib/MySQL.lua', - 'config.lua', - 'core/server-core.lua', - 'sv_utils.lua', - 'server/*.lua' -} - -shared_script { - '@ox_lib/init.lua' -} - -export 'getAvailableCopsCount' -export 'IsHandcuffed' - -ui_page "html/index.html" -files { - "html/index.html", - "html/style.css", - "html/script.js", - "html/assets/*.png", -} - -provides { 'esx_policejob', 'qb-policejob' } - -dependencies { - '/server:5181', -- ⚠️PLEASE READ⚠️; Requires at least SERVER build 5181 - '/gameBuild:2189', -- ⚠️PLEASE READ⚠️; Requires at least GAME build 2189. -} - -escrow_ignore { - 'config.lua', - 'sv_utils.lua', - 'cl_utils.lua', - 'core/client-core.lua', - 'core/server-core.lua', -} - ---[[ --- locked -escrow_ignore { - 'config.lua', - 'sv_utils.lua', - 'cl_utils.lua', - 'core/client-core.lua', - 'core/server-core.lua', -} - --- open -escrow_ignore { - 'config.lua', - 'sv_utils.lua', - 'cl_utils.lua', - 'core/client-core.lua', - 'core/server-core.lua', - 'client/client.lua', - 'server/server.lua', -} ---]] -dependency '/assetpacks' \ No newline at end of file diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/across_line.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/across_line.png deleted file mode 100644 index f78924203..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/across_line.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/ammo-9.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/ammo-9.png deleted file mode 100644 index 7e8fc2db7..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/ammo-9.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/ammo-rifle.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/ammo-rifle.png deleted file mode 100644 index 81aa8af0e..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/ammo-rifle.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/ammo-shotgun.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/ammo-shotgun.png deleted file mode 100644 index 031eb2f0a..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/ammo-shotgun.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/blip_1.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/blip_1.png deleted file mode 100644 index 88555ddd9..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/blip_1.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/blip_2.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/blip_2.png deleted file mode 100644 index 1106bac20..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/blip_2.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/blip_3.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/blip_3.png deleted file mode 100644 index 37f3a41e1..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/blip_3.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/burger.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/burger.png deleted file mode 100644 index 2d3f07e0d..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/burger.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/pistol_ammo.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/pistol_ammo.png deleted file mode 100644 index 89c0d9dfb..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/pistol_ammo.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/police.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/police.png deleted file mode 100644 index 545566382..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/police.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/police_bulletproof.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/police_bulletproof.png deleted file mode 100644 index bf1c60dec..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/police_bulletproof.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/radio.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/radio.png deleted file mode 100644 index 47aeae9e2..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/radio.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/rifle_ammo.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/rifle_ammo.png deleted file mode 100644 index 639677857..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/rifle_ammo.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/sandwich.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/sandwich.png deleted file mode 100644 index a658f3270..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/sandwich.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/sheriff.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/sheriff.png deleted file mode 100644 index df7f11cbb..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/sheriff.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/sheriff_bulletproof.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/sheriff_bulletproof.png deleted file mode 100644 index bf1c60dec..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/sheriff_bulletproof.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/shotgun_ammo.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/shotgun_ammo.png deleted file mode 100644 index 1442893bb..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/shotgun_ammo.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/smg_ammo.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/smg_ammo.png deleted file mode 100644 index e3f110bae..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/smg_ammo.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/water.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/water.png deleted file mode 100644 index e5da16353..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/water.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/water_bottle.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/water_bottle.png deleted file mode 100644 index 2608bf12b..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/water_bottle.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_carbinerifle.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_carbinerifle.png deleted file mode 100644 index 2580ee920..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_carbinerifle.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_flashlight.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_flashlight.png deleted file mode 100644 index cd76ed105..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_flashlight.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_nightstick.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_nightstick.png deleted file mode 100644 index 145db2d40..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_nightstick.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_pistol.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_pistol.png deleted file mode 100644 index dae40b7c3..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_pistol.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_pumpshotgun.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_pumpshotgun.png deleted file mode 100644 index a7125166f..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_pumpshotgun.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_smg.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_smg.png deleted file mode 100644 index 1aafb4d42..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_smg.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_stungun.png b/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_stungun.png deleted file mode 100644 index 4bf7f4b22..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/html/assets/weapon_stungun.png and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/index.html b/resources/[Developer]/[Nordi]/brutal_policejob/html/index.html deleted file mode 100644 index ae18a2e3a..000000000 --- a/resources/[Developer]/[Nordi]/brutal_policejob/html/index.html +++ /dev/null @@ -1,456 +0,0 @@ - - - - - - - - - - - - - Brutal Police Job - - - - -
-
-
-
-
- -
-
-

Interactions

-
-
-
-
-
-
-
-
-
- -
- -

SHOP

-
-
-
-
-

TOTAL: 0$

- -
-
-
-
-
-
-
-
-
- -
- -
-
-
- -
-
-
- -
-
- -
-
- -
-
- -
-
-
-
-
-
-
-
-
date 213 23
-
-
-
- -
-
-
-
Cops
-
0
-
-
-
-
-
Rank
-
-
-
-
-
-
Salary
-
100$
-
-
-
- -
Welcome,
Name
-
-
-
- -
-
online
-
Cam name
-
- -
-
-
-
-
- -

PLT

-
-
-
-
- -

SRN

-
-
-
-
- -

HORN

-
-
-
-
- -

LGHT

-
-
-
-
- -
-
-
-

FRONT

-
-
-
0
-
-
-
None
-
-
-

REAR

-
-
-
0
-
-
-
None
-
-
- - -
-
- -
-
SPEEDING
-
-
-
- -
-

Remained time:

-
- -
-
Citizen Call -
-
-
- -
- -
- -
-
Lock Area -
-
-
- -
- -
-

Minutes

- -
1min
-
- -
-

Range

- -
20m
-
- -
-

Blip

-
-
-
-
-
-
- - -
- -
-
-
You can change the livery with the ⬅️ and ➡️
-
- -
-
Deleting objects
-
-
- - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/script.js b/resources/[Developer]/[Nordi]/brutal_policejob/html/script.js deleted file mode 100644 index a8c953f44..000000000 --- a/resources/[Developer]/[Nordi]/brutal_policejob/html/script.js +++ /dev/null @@ -1,2216 +0,0 @@ -ChoosedButton = 0 -InSubMenu = false -InSearchMenu = "people" -OpenFromJail = false -InPanelPos = false -PressedLicence = [0,0] -OpenedMDT = false -MenuColors = ["",""] -Involveds = [[],[],[]] -AddInvolved = "" -Job = undefined - -if (localStorage.getItem("VehControlTop") != "null"){ - let vc = document.getElementById("vehicle_control") - let vp = document.getElementById("plate_reader") - - vc.style.top = localStorage.getItem("VehControlTop") - vc.style.left = localStorage.getItem("VehControlLeft") - vp.style.top = localStorage.getItem("VehPlateTop") - vp.style.left = localStorage.getItem("VehPlateLeft") -} - -window.addEventListener('message', function(event) { - let data = event.data - - if (data.action === "OpenPoliceMenu"){ - InteractionsTable = data.interactionstable - CreatePoliceMenu() - MenuColors = data.menucolors - RefreshColors() - } - else if (data.action === "OpenCloakRoom"){ - Outfits = data.outfits - CreateDressMenu() - MenuColors = data.menucolors - RefreshColors() - } - else if (data.action === "OpenArmory"){ - CreateArmoryMenu() - MenuColors = data.menucolors - RefreshColors() - } - else if (data.action === "OpenGarage"){ - Vehicles = data.vehicles - CreateGarageMenu() - MenuColors = data.menucolors - RefreshColors() - } - else if (data.action === "OpenMDTMenu"){ - OpenedMDT = true - Cameras = data.cameras - CamStatus = data.status - MoneyForm = data.moneyform - OpenFromJail = false - Job = data.job - Cops = data.cops - Street = data.street - PlayerName = data.name - MenuColors = data.menucolors - NoteRank = data.rank - Incidents = data.incidents - Licenses = data.licenses - LicenseRank = data.licenserank - CitizenCallRank = data.citizencallrank - AllNames = data.names - AllPlates = data.plates - JailStatus = data.jailstatus - RefreshColors() - document.getElementById("MDT").style.animation = "Show_panel 0.5s ease"; - $(".MDT").css("display","block") - $("#jail_back_btn").css("display", "block") - $(".LSDP_logo_img").attr('src', "assets/"+Job.job+".png") - InsertHomeData() - RefreshTime() - } - else if(data.action === "RefreshMDTMenu"){ - MDTTable = data.table - if (data.value == 'search'){ - CreateSearchElements() - } - else if(data.value == 'incident'){ - if (MDTTable.length > 0){ - if (AddInvolved == 'add_vehicle'){ - if (Involveds[0].includes(MDTTable[0].plate) == false){ - Involveds[0].push(MDTTable[0].plate) - } - } - else if (AddInvolved == 'add_people'){ - if (Involveds[1].includes(MDTTable[0].firstname+' '+MDTTable[0].lastname) == false){ - Involveds[1].push(MDTTable[0].firstname+' '+MDTTable[0].lastname) - } - } - } - RefreshInvolveds() - } - } - else if(data.action === "MDTRefreshIncidents"){ - Incidents = data.table - CreateIncidents() - CreateTypeahead(".typeahead", Incidents, 'title') - CreateTypeahead(".people_typeahead", AllNames, false) - CreateTypeahead(".vehicle_typeahead", AllPlates, false) - } - else if(data.action === "MDTRefreshNotes"){ - Notes = data.table - CreateNotes(false) - } - else if (data.action === "OpenShopMenu"){ - ShopItems = data.items - MoneyForm = data.moneyform - Card = data.card - CreateShop(Card) - } - else if (data.action === "EnableCam"){ - CamLabel = data.label - Connected = data.connected - ShowCamMenu() - } - else if (data.action === "DisableCam"){ - HideCamMenu() - } - else if (data.action === "MDTShowLicences"){ - PlayerLicences = data.table - CreateLicences() - } - else if (data.action === "MDTShowFines"){ - PlayerFines = data.table - CreateFines() - } - else if (data.action === "OpenSendToJailMenu"){ - Player_target = data.target - MenuColors = data.menucolors - RefreshColors() - $("#jail_back_btn").css("display", "none") - $('#jail_reason_modal').modal('show') - OpenFromJail = true - } - else if (data.action === "SpeedNotify"){ - PlayerSpeed = data.speed - SpeedLimit = data.limit - SpeedFine = data.amount - Metric = data.metric - MoneyForm = data.moneyform - SpeedNotify() - } - else if (data.action === "JailHud"){ - JailMinute = data.jailminute - $(".jail_hud h3").html(`${JailMinute} minutes left`) - $(".jail_hud").css("display", "block") - } - else if (data.action === "HideJailHud"){ - $(".jail_hud").css("display", "none") - } - else if (data.action === "PlateReaderStatus"){ - if (data.enable == true){ - document.getElementById("plate").classList.add("vehicle_btn_active") - $(".plate_reader").css("display", "block") - } - else{ - document.getElementById("plate").classList.remove("vehicle_btn_active") - $(".plate_reader").css("display", "none") - } - } - else if (data.action === "VehiclePanel"){ - $(".vehicle_menu").css("display", "block") - MenuColors = data.menucolors - RefreshColors() - } - else if (data.action === "HideVehiclePanel"){ - $(".vehicle_menu").css("display", "none") - } - else if (data.action === "VehicleSystem"){ - FrontVehicle = data.frontvehicle - RearVehicle = data.rearvehicle - Horn = data.horn - Siren = data.siren - Light = data.vehiclelight - - if (Horn == true){ - document.getElementById("horn").classList.add("vehicle_btn_active") - } - else{ - document.getElementById("horn").classList.remove("vehicle_btn_active") - } - - if (Siren == true){ - document.getElementById("siren").classList.add("vehicle_btn_active") - } - else{ - document.getElementById("siren").classList.remove("vehicle_btn_active") - } - - if (Light == true){ - document.getElementById("light").classList.add("vehicle_btn_active") - } - else{ - document.getElementById("light").classList.remove("vehicle_btn_active") - } - - if (FrontVehicle.plate != ""){ - document.getElementById("front_speed").innerHTML = FrontVehicle.speed - document.getElementById("front_plate").innerHTML = FrontVehicle.plate - $(".plate_reader #top").css("background-color","rgb(59, 196, 28)") - } - else{ - $(".plate_reader #top").css("background-color","rgb(196, 28, 28)") - } - if (RearVehicle.plate != ""){ - document.getElementById("rear_speed").innerHTML = RearVehicle.speed - document.getElementById("rear_plate").innerHTML = RearVehicle.plate - $(".plate_reader #bottom").css("background-color","rgb(59, 196, 28)") - } - else{ - $(".plate_reader #bottom").css("background-color","rgb(196, 28, 28)") - } - } - else if (data.action === "VehiclePanelEdit"){ - InPanelPos = true - dragElement(document.getElementById("vehicle_control")) - dragElement(document.getElementById("plate_reader")) - } - else if(data.action === "CitizenCallMenu"){ - document.getElementById("create_citizen_call").style.animation = "Appear_Menu 0.5s ease"; - $("#create_citizen_call").css("display", "block") - } - else if(data.action === "MDTGetCitizenCalls"){ - CitizenCalls = data.table - PlayerId = data.myid - CurrentTime = data.time - CreateCitizenCalls() - } - else if(data.action === "LiveryMenu"){ - Livery = data.livery - document.getElementById("vehicle_livery").style.animation = "Appear_Menu 0.5s ease"; - $(".vehicle_livery").css("display", "block") - $("#livery").html("Livery: "+Livery) - } - else if(data.action === "HideLiveryMenu"){ - document.getElementById("vehicle_livery").style.animation = "Hide_panel 0.5s ease"; - setTimeout(function(){ - $(".vehicle_livery").css("display","none") - }, 400) - } - else if(data.action === "AreaLockMenu"){ - MenuColors = data.menucolors - RefreshColors() - document.getElementById("area_lock").style.animation = "Appear_Menu 0.5s ease"; - $("#area_lock").css("display", "block") - } - else if(data.action === "RemoveObjects"){ - document.getElementById("delete_object").style.animation = "Appear_Menu 0.5s ease"; - $(".delete_object").css("display", "block") - } - else if(data.action === "HideRemoveObjects"){ - document.getElementById("delete_object").style.animation = "Hide_panel 0.5s ease"; - setTimeout(function(){ - $(".delete_object").css("display","none") - }, 400) - } - else if (data.action === "ControlReleased"){ - Control = data.control - if(Control === "up" || Control === "down" ){ - ChangeFocus(Control) - } - else if(Control === "enter"){ - document.getElementById("circle_"+ChoosedButton).click() - } - else if(Control === "backspace"){ - if(InSubMenu){ - BackPoliceMenu() - } - else{ - Close() - } - } - } -}) - -document.onkeydown = function(data) { - if (event.key == 'Escape') { - Close() - } -} - -function Close(){ - HideInteractionMenu() - HidePoliceMenu() - CloseShop() - CloseMDT() - CloseCitizenCall() - CloseAreaLock() - setTimeout(function(){ - $('.modal').modal('hide') - },500) - if (InPanelPos == true){ - let vc = document.getElementById("vehicle_control") - let vp = document.getElementById("plate_reader") - - localStorage.setItem("VehControlTop", vc.style.top) - localStorage.setItem("VehControlLeft", vc.style.left) - localStorage.setItem("VehPlateTop", vp.style.top) - localStorage.setItem("VehPlateLeft", vp.style.left) - } - InPanelPos = false - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"close"})) -} - -function RefreshColors(){ - var r = document.querySelector(':root') - r.style.setProperty('--main_color', MenuColors[0]) - r.style.setProperty('--main_color_darker', MenuColors[1]) -} - -function RefreshTime(){ - if (OpenedMDT){ - setTimeout(function(){ - RefreshTime() - },100) - } - - var date=new Date(); - var day=date.getDate(); - var month=date.getMonth()+1; - var year=date.getFullYear(); - $("#home_date").html(day+"/"+month+"/"+year+"
"+date.toLocaleTimeString()); -} - -function InsertHomeData(){ - $("#available_cops").html(Cops) - $("#player_rang").html(Job.label) - $("#salary").html(Job.salary+MoneyForm) - $("#job_name").html(Job.name+" - Database") - $("#street").html(` `+Street[0]+",
"+Street[1]) - $(".welcome_text .hand_written").html(PlayerName) -} - -function ChangeFocus(direction){ - if(direction === "up"){ - if(InSubMenu === false){ - if(InteractionsTable.length >= ChoosedButton +2){ - ChoosedButton++ - } - else if(InteractionsTable.length === ChoosedButton +1){ - ChoosedButton = 0 - } - } - else{ - if(InteractionsTable[SubNumber].table.length > ChoosedButton + 1){ - ChoosedButton++ - } - else if(InteractionsTable[SubNumber].table.length === ChoosedButton +1){ - ChoosedButton = 0 - } - } - } - else{ - if(InSubMenu === false){ - if(ChoosedButton === 0){ - ChoosedButton = InteractionsTable.length -1 - } - else{ - ChoosedButton = ChoosedButton -1 - } - } - else{ - if(ChoosedButton === 0){ - ChoosedButton = InteractionsTable[SubNumber].table.length -1 - } - else{ - ChoosedButton = ChoosedButton -1 - } - } - } - - if(InSubMenu){ - for(let i=0; i${InteractionsTable[i].icon} - `) - } - else{ - $(".circle_container").append(` - - `) - } - - $(".police_menu #circle_"+i).css("transform", "rotate("+Rot+"deg) translate(150px) rotate("+Rot*(-1)+"deg)") - Rot = Rot - Angle - } - document.getElementById("circle_"+ChoosedButton).classList.add("hovered_circle") - $(".circles_label").html(InteractionsTable[0].label) -} - -function HidePoliceMenu(){ - document.getElementById("police_menu").style.animation = "HidePoliceMenu 1s ease"; - setTimeout(function(){ - $(".police_menu").css("display","none") - },900) -} - -function ChangePoliceButtons(id){ - InSubMenu = true - document.getElementById("police_menu").style.animation = "ChangePoliceMenu 0.8s ease"; - - SubNumber = id.split('_').pop(); - let Num_elements = InteractionsTable[SubNumber].table.length - let Angle = 144/(Num_elements-1) - let Rot = -108 - - setTimeout(function(){ - $(".circle_container").html("") - for(let i=0; i${InteractionsTable[SubNumber].table[i].icon} - `) - $(".police_menu #circle_"+i).css("transform", "rotate("+Rot+"deg) translate(150px) rotate("+Rot*(-1)+"deg)") - Rot = Rot - Angle - } - ChoosedButton = 0 - document.getElementById("circle_"+ChoosedButton).classList.add("hovered_circle") - $(".circles_label").html(InteractionsTable[SubNumber].table[0].label) - },400) - - if (SubNumber == 2){ - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"PoliceMenuObject"})) - } -} - -function BackPoliceMenu(){ - InSubMenu = false - let Num_elements = InteractionsTable.length - let Angle = 144/(Num_elements-1) - let Rot = -108 - - document.getElementById("police_menu").style.animation = "BackPoliceMenu 0.8s ease"; - - setTimeout(function(){ - $(".circle_container").html("") - for(let i=0; i${InteractionsTable[i].icon} - `) - } - else{ - $(".circle_container").append(` - - `) - } - $(".police_menu #circle_"+i).css("transform", "rotate("+Rot+"deg) translate(150px) rotate("+Rot*(-1)+"deg)") - Rot = Rot - Angle - } - ChoosedButton = 0 - document.getElementById("circle_"+ChoosedButton).classList.add("hovered_circle") - $(".circles_label").html(InteractionsTable[0].label) - },400) -} - -function SendBackIntButton(id, value){ - let idnumber = id.split('_').pop() - - if (value == true){ - let number = +SubNumber + 1 - for(let i=0; i -
- -
- - `) - if (Outfits[i].label.length > 17){ - $("#"+Outfits[i].id).css("font-size", "15px") - } - } - document.getElementById("interactions").style.animation = "ShowIneractionMenu 0.7s ease"; - $(".interactions").css("display","block") -} - -function HideInteractionMenu(){ - document.getElementById("interactions").style.animation = "HideInteractionMenu 0.7s ease"; - setTimeout(function(){ - $(".interactions").css("display","none") - },680) -} - -function SetDress(id){ - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"SetDress", id})) -} - -function CreateArmoryMenu(){ - $(".interactions h2").html("Storage") - - $(".int_con_sec").html("") - $(".int_con_sec").html(` -
-
- -
-
-
-
- -
-
- `) - - document.getElementById("interactions").style.animation = "ShowIneractionMenu 0.7s ease"; - $(".interactions").css("display","block") -} - -function Armory(){ - Close() - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"Armory"})) -} - -function Buy(){ - HideInteractionMenu() - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"Buy"})) -} - -function CreateGarageMenu(){ - $(".interactions h2").html("Garage") - - $(".int_con_sec").html("") - for(let i=0; i -
- -
- - `) - if (Vehicles[i].label.length > 17){ - $("#"+Vehicles[i].model+"-"+Vehicles[i].livery).css("font-size", "15px") - } - } - document.getElementById("interactions").style.animation = "ShowIneractionMenu 0.7s ease"; - $(".interactions").css("display","block") -} - -function SpawnVehicle(id){ - model = id.split('-')[0] - livery = id.split('-')[1] - Close() - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"SpawnVehicle", model, livery})) -} - -function RefreshSearchBTN(){ - if (InSearchMenu == "people"){ - let first_name = document.getElementById("in_first_name").value - let last_name = document.getElementById("in_last_name").value - - if (first_name.length > 0 || last_name.length > 0 ){ - document.getElementById("search_btn").disabled = false - } - else{ - document.getElementById("search_btn").disabled = true - } - } - else{ - let plate = document.getElementById("in_plate").value - - if (plate.length > 0){ - document.getElementById("search_btn").disabled = false - } - else{ - document.getElementById("search_btn").disabled = true - } - - } -} - -function ChangeSearch(id){ - $(".table_container").html(` -
-

No results found

-
- `) - if (id === "people"){ - InSearchMenu = "people" - $("#title_text").html("Person details") - $(".search_in_container").html(` -
-
-
- -
-
-
-
- -
-
-
- `) - $("#fcell").html("First name") - $("#scell").html("Last name") - $("#tcell").html("Sex") - document.getElementById("search_btn").disabled = true - } - else{ - InSearchMenu = "vehicle" - $("#title_text").html("Vehicle details") - $(".search_in_container").html(` -
- -
- `) - $("#fcell").html("Plate") - $("#scell").html("Model") - $("#tcell").html("Type") - document.getElementById("search_btn").disabled = true - } -} - -function RefreshDetailsModal(id){ - MDTTableNum = id - if (InSearchMenu == "people"){ - if (JailStatus === false){ - $("#details_modal .datas_container").html(` -
-
-
- -
-
-

Name: ${MDTTable[id].firstname} ${MDTTable[id].lastname}

-

Sex: ${MDTTable[id].sex}

-

Birth: ${MDTTable[id].dateofbirth}

-
-
-
-

Licences

-
- -
-

Actions

- - - -
- - -
-
- `) - } - else if (MDTTable[id].jail_time > 0){ - $("#details_modal .datas_container").html(` -
-
-
- -
-
-

Name: ${MDTTable[id].firstname} ${MDTTable[id].lastname}

-

Sex: ${MDTTable[id].sex}

-

Birth: ${MDTTable[id].dateofbirth}

-
-
-
-

Licences

-
- -
-

Actions

- - - -
- - -
-
- `) - } - else{ - $("#details_modal .datas_container").html(` -
-
-
- -
-
-

Name: ${MDTTable[id].firstname} ${MDTTable[id].lastname}

-

Sex: ${MDTTable[id].sex}

-

Birth: ${MDTTable[id].dateofbirth}

-
-
-
-

Licences

-
- -
-

Actions

- - - -
- - -
-
- `) - } - CreateNotes(true) - - let TargetIdentifier = MDTTable[MDTTableNum].identifier - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTUserAction", type:"getlicences", TargetIdentifier})) - } - else{ - $("#details_modal .datas_container").html(` -
-
-
-

Plate: ${MDTTable[id].plate}

-

Model: ${MDTTable[id].model}

-

Type: ${MDTTable[id].class}

-

Owner: ${MDTTable[id].owner}

-
- -
-
- -
-
- `) - CreateNotes(true) - } - CreateIMG() -} - -function CreateIMG(){ - if (MDTTable[MDTTableNum].photo != null && MDTTable[MDTTableNum].photo.length > 0){ - $(".img_container").html(` - - - `) - } - else{ - $(".img_container").html(` - - `) - } -} - -function AddIMG(){ - let Plate = MDTTable[MDTTableNum].plate - let Url = document.getElementById("in_add_img").value - - $(".img_container").html(` - - - `) - - if (InSearchMenu == "people"){ - let TargetIdentifier = MDTTable[MDTTableNum].identifier - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTUserAction", type:"edit_photo", TargetIdentifier, Url})) - } - else{ - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTVehicleAction", type:"edit_photo", Plate, Url})) - } - - document.getElementById("in_add_img").value = "" - - setTimeout(function(){ - DoSearch() - }, 1000) -} - -function CreateSearchElements(){ - $(".table_container").html("") - if (MDTTable.length > 0){ - if (InSearchMenu == "people"){ - for(let i=0; i -
- - - - - - - - - -
${MDTTable[i].firstname}${MDTTable[i].lastname}${MDTTable[i].sex}
- - `) - } - } - else{ - for(let i=0; i - - - - - - - - - -
${MDTTable[i].plate}${MDTTable[i].model}${MDTTable[i].class}
- - `) - } - } - } - else{ - $(".table_container").append(` -
-

No results found

-
- `) - } -} - -function CreateLicences(){ - $(".licences_container").html("") - - if (PlayerLicences == "false"){ - $(".licences_container").html(` -
-

The player in not online

-
- `) - } - else if(PlayerLicences == "none"){ - $(".licences_container").html(` -
-

No licences found

-
- `) - } - else{ - if (PlayerLicences.length != 0){ - for(let i=0; i${PlayerLicences[i].label} - `) - } - } - else{ - $(".licences_container").html(` -
-

No licences found

-
- `) - } - } - - if (Licenses.length != 0){ - for(let i=0; i= LicenseRank){ - $(".licences_container").append(` -
${Licenses[i][1]}
- `) - } - } - } - - PressedLicence[0] = 0 - PressedLicence[1] = 0 -} - -function AddLicence(id, license, label){ - let TargetIdentifier = MDTTable[MDTTableNum].identifier - let LicenceType = license - - for(let i=0; i 0 && value2.length === 0){ - SearchType = "firstname" - } - else if(value1.length === 0 && value2.length > 0){ - SearchType = "lastname" - } - else if(value1.length > 0 && value2.length > 0){ - SearchType = "fullname" - } - - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTGetData", type:SearchType, value1, value2, value3:'search'})) - } - else{ - SearchType = "plate" - value1 = document.getElementById("in_plate").value - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTGetData", type:SearchType, value1, value3:'search'})) - } -} - -function CreateShop(value){ - $(".shop").css("display", "block") - setTimeout(function(){ - $(".shop").css("scale", "1") - }, 50) - - if (value == true){ - $(".slider_btn").css("display", "block") - $("#shop_back").css("display", "block") - } - else{ - $(".slider_btn").css("display", "none") - $("#shop_back").css("display", "none") - } - - $(".shop_elements_container").html("") - for(let i=0; i -
-
-
${ShopItems[i].price+MoneyForm}
- -

${ShopItems[i].label}

-
-
- -
-
-
-
- - `) - } -} - -function CloseShop(){ - $(".shop").css("scale", "0") - setTimeout(function(){ - $(".shop").css("display", "none") - }, 600) -} - -function changemoney(){ - let AllMoney = 0 - for (let i = 0; i < ShopItems.length; i++) { - AllMoney += ShopItems[i].price * document.getElementById(ShopItems[i].item).value - } - $('.checkout_container h3').html('TOTAL: '+AllMoney+''+MoneyForm+'') -} - -function BuyInShop(){ - BuyItems = [] - for (let i = 0; i < ShopItems.length; i++) { - if (document.getElementById(ShopItems[i].item).value > 0){ - BuyItems.push([ShopItems[i].item, document.getElementById(ShopItems[i].item).value, ShopItems[i].price, ShopItems[i].label]) - } - } - - if (BuyItems.length > 0){ - let Element = document.getElementById("slider_shop") - let Left = Element.offsetLeft - if (Left == 0){ - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"BuyInShop", BuyItems, paytype:"money"})) - } - else{ - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"BuyInShop", BuyItems, paytype:"bank"})) - } - } - - setTimeout(function(){ - for (let i = 0; i < ShopItems.length; i++) { - document.getElementById(ShopItems[i].item).value = 0 - } - changemoney() - }, 200) -} - -function ChangeSliderbtn(id){ - if (id == "shop_slider"){ - let Element = document.getElementById("slider_shop") - let Left = Element.offsetLeft - if (Left == 0){ - Element.style.left = "50%" - } - else{ - Element.style.left = "0%" - } - } - else if (id == "MDT_slider"){ - let Element = document.getElementById("slider_MDT") - let Left = Element.offsetLeft - if (Left == 0){ - Element.style.left = "50%" - ChangeSearch("vehicles") - } - else{ - Element.style.left = "0%" - ChangeSearch("people") - } - } -} - -function isNumber(evt) { - evt = (evt) ? evt : window.event - var charCode = (evt.which) ? evt.which : evt.keyCode - if (charCode > 31 && (charCode < 48 || charCode > 57)) { - return false - } - return true -} - -function setlenght(id) { - if (document.getElementById(id).value.length === 2 && document.getElementById(id).value[0] == 0){ - document.getElementById(id).value = document.getElementById(id).value.substring(1) - } - if (document.getElementById(id).value.length === 4){ - document.getElementById(id).value = document.getElementById(id).value.substring(1) - } - if (document.getElementById(id).value.length === 0){ - document.getElementById(id).value = 0 - } - changemoney() - return true -} - -function SwitchPage(id){ - $("#camera").css("border", "none") - $("#search").css("border", "none") - $("#sos_alert").css("border", "none") - $("#home").css("border", "none") - $("#incidents").css("border", "none") - $("#"+id).css("border-bottom", "solid 3px var(--main_color)") - - if (id == "home"){ - MoveBackLogo() - $(".page_data_container").html(` -
-
-
-
date 213 23
-
-
-
- -
-
-
-
Cops
-
0
-
-
-
-
-
Rank
-
-
-
-
-
-
Salary
-
100$
-
-
-
- -
Welcome,
Name
- - `) - InsertHomeData() - } - else if (id == "search"){ - MoveLogo() - $(".page_data_container").html(` -
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
- - - - - - - - - -
First nameLast nameSexAction
-
-
-
-

No results found

-
-
-
-
- `) - } - else if (id == "camera"){ - MoveLogo() - $(".page_data_container").html(` -
-
-
-
- `) - CreateCameraElements() - } - else if (id == "sos_alert"){ - MoveLogo() - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTCitizenCall", type:"getcalls"})) - $(".page_data_container").html(` -
-
-
-
- -
-
- `) - } - else if (id == "incidents"){ - MoveLogo() - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTIncident"})) - $(".page_data_container").html(` -
INCIDENTS
- -
-
INCIDENTS
-
- -
-
- -
-
- -
-
-
CREATE
- -
-
-
TITLE
-
- -
- -
VEHICLE INVOLVED
-
-
-
- -
-
-
- -
-
-
- -
-
-
-
PEOPLE INVOLVED
-
-
-
- -
-
-
- -
-
-
- -
- -
SOCIETY INVOLVED
-
-
-
- -
-
-
- -
-
-
- -
-
-
- -
CONTENT
-
- -
-
-
- -
-
-
- `) - Involveds = [[],[],[]] - RefreshInvolveds() - $(".MDT .big_con .light").css("background-color", "#94969e") - } -} - -function MoveLogo(){ - $(".LSDP_logo_img").css({ - "height": "80px", - "left": "15.2px", - }) -} - -function MoveBackLogo(){ - $(".LSDP_logo_img").css({ - "height": "200px", - "left": "870px", - }) -} - -function CreateCameraElements(){ - $(".cam_container").html("") - for (let i = 0; i < Cameras.length; i++) { - if (CamStatus[i] == true){ - $(".cam_container").append(` -
-
-
- -

${Cameras[i].label}

- -
-
- `) - } - else{ - $(".cam_container").append(` -
-
-
- -

${Cameras[i].label}

- -
-
- `) - } - - } -} - -function SendCameraBack(id){ - Close() - cameraid = +id.split('_').pop() + +1 - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"ActivateCamera", cameraid})) -} - -function CloseMDT(){ - OpenedMDT = false - document.getElementById("MDT").style.animation = "Hide_panel 0.5s ease"; - setTimeout(function(){ - $(".MDT").css("display","none") - }, 400) -} - -function CloseCitizenCall(){ - document.getElementById("create_citizen_call").style.animation = "Hide_panel 0.5s ease"; - setTimeout(function(){ - $("#create_citizen_call").css("display","none") - }, 400) -} - -function CloseAreaLock(){ - document.getElementById("area_lock").style.animation = "Hide_panel 0.5s ease"; - setTimeout(function(){ - $("#area_lock").css("display","none") - }, 400) -} - -function ShowCamMenu(){ - $(".cam_label").html(CamLabel) - $(".cam_menu").css("display", "block") -} - -function HideCamMenu(){ - $(".cam_menu").css("display", "none") -} - -function RefreshJailBTN(){ - let time = document.getElementById("in_jail_time").value - let reason = document.getElementById("in_jail_reason").value - - if (time.length > 0 && reason.length > 0){ - document.getElementById("jail_btn").disabled = false - } - else{ - document.getElementById("jail_btn").disabled = true - } -} - -function SendJail(){ - let time = document.getElementById("in_jail_time").value - let reason = document.getElementById("in_jail_reason").value - - if (OpenFromJail == false){ - let TargetIdentifier = MDTTable[MDTTableNum].identifier - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTUserAction", type:"jail_mdt", TargetIdentifier, time, reason})) - SwitchPage("search") - } - else{ - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTUserAction", type:"jail_marker", TargetIdentifier:Player_target, time, reason})) - } - - document.getElementById("in_jail_time").value = "" - document.getElementById("in_jail_reason").value = "" -} - -function SendUnjail(){ - let TargetIdentifier = MDTTable[MDTTableNum].identifier - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTUserAction", type:"unjail", TargetIdentifier})) - SwitchPage("search") -} - - -// Get players incidents - -function GetIncidents(Name, value){ - $(".incidents_container").html("") - if (Incidents.length > 0){ - let helptable = [] - for (let i = 0; i < Incidents.length; i++) { - let LocalInvolveds = JSON.parse(Incidents[i].involveds) - if (value){ - for (let _i = 0; _i < LocalInvolveds[1].length; _i++) { - if (LocalInvolveds[1][_i] == Name){ - helptable.push(i) - } - } - } - else{ - for (let _i = 0; _i < LocalInvolveds[0].length; _i++) { - if (LocalInvolveds[0][_i] == Name){ - helptable.push(i) - } - } - } - } - - if (helptable.length > 0){ - for (let i = 0; i < helptable.length; i++) { - $(".incidents_container").append(` -
-
-
${Incidents[helptable[i]].title}
-
${Incidents[helptable[i]].date}
-
- `) - } - } - else{ - $(".incidents_container").html(` -

No incidents have found

- `) - } - - } - else{ - $(".incidents_container").html(` -

No incidents have found

- `) - } -} - -function CreateTypeahead(Class, Table, data){ - let TypeAheadList = [] - - for(let i = 0; i < Table.length; i++){ - if (data == false){ - TypeAheadList.push(Table[i].toString()) - } - else{ - TypeAheadList.push(Table[i][data].toString()) - } - } - - var $input = $(Class); - - $input.typeahead('destroy'); - - $input.typeahead({ - autocomplete: true, - source: TypeAheadList, - }); - - $input.change(function() { - var current = $input.typeahead("getActive"); - matches = []; - - if (current) { - if (current.name == $input.val()) { - matches.push(current.name); - } - } - }); -} - -// Incident menu - -function RefreshAddToInvolvedBTN(id){ - if (id == "incident_title"){ - if (document.getElementById(id).value.length > 0){ - document.getElementById('create_incident').disabled = false - } - else{ - document.getElementById('create_incident').disabled = true - } - } - else if (id == "add_involved_vehicle"){ - if (document.getElementById(id).value.length > 0){ - document.getElementById('add_vehicle').disabled = false - } - else{ - document.getElementById('add_vehicle').disabled = true - } - } - else if (id == "add_involved_people"){ - if (document.getElementById(id).value.length > 0){ - document.getElementById('add_people').disabled = false - } - else{ - document.getElementById('add_people').disabled = true - } - } - else if (id == "add_involved_society"){ - if (document.getElementById(id).value.length > 0){ - document.getElementById('add_society').disabled = false - } - else{ - document.getElementById('add_society').disabled = true - } - } -} - -function CreateIncidents(){ - $(".incidents_con").html("") - if (Incidents.length > 0){ - for (let i = Incidents.length-1; i > -1; i=i-1) { - $(".incidents_con").append(` - - `) - } - } - else{ - $(".incidents_con").html(` -

No incidents have found

- `) - } -} - -function SearchIncidents(id){ - $(".incidents_con").html("") - let filter = document.getElementById(id).value.toUpperCase() - for (let i = 0; i < Incidents.length; i++) { - if (Incidents[i].title.toUpperCase().indexOf(filter) > -1){ - $(".incidents_con").append(` - - `) - } - } -} - -function OpenIncident(Num){ - SwitchPage('incidents') - $('.modal').modal('hide') - setTimeout(function(){ - LoadIncident(Num) - }, 500) -} - -function LoadIncident(Num){ - for (let i = 0; i < Incidents.length; i++) { - if (document.getElementById('incident_'+Incidents[i].id) != undefined){ - document.getElementById('incident_'+Incidents[i].id).classList.remove("choosed") - } - } - - document.getElementById('incident_'+Incidents[Num].id).classList.add("choosed") - - $(".MDT .big_con .light").css("background-color", "var(--main_color)") - - Involveds = JSON.parse(Incidents[Num].involveds) - RefreshInvolveds() - - $("#incident_main_label").html("EDIT") - document.getElementById("incident_main_label").classList.add("edit") - document.getElementById("incident_title").value = Incidents[Num].title - document.getElementById("incident_content").value = Incidents[Num].content - - $(".bottom_btn_con").html(` -
- -
-
- -
- `) -} - -function AddToInvolved(id){ - AddInvolved = id - if (id == 'add_vehicle'){ - let value1 = document.getElementById('add_involved_vehicle').value - document.getElementById('add_involved_vehicle').value = '' - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTGetData", type:'plate', value1, value3:'incident'})) - } - else if (id == 'add_people'){ - let input = document.getElementById('add_involved_people').value - if (input.indexOf(' ') >= 0){ - let value1 = input.split(' ')[0] - let value2 = input.split(' ')[1] - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTGetData", type:'fullname', value1, value2, value3:'incident'})) - } - else{ - let value1 = input - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTGetData", type:'firstname', value1, value3:'incident'})) - } - document.getElementById('add_involved_people').value = '' - } - else if (id == 'add_society'){ - let value1 = document.getElementById('add_involved_society').value - document.getElementById('add_involved_society').value = '' - Involveds[2].push(value1) - RefreshInvolveds() - } - document.getElementById(id).disabled = true -} - -function RefreshInvolveds(){ - for (let i = 0; i < 3; i++) { - $('#involvedcon_'+i).html('') - if (Involveds[i].length > 0){ - for (let _i = 0; _i < Involveds[i].length; _i++) { - $('#involvedcon_'+i).append(` -
-
${Involveds[i][_i]}
- -
- `) - if (Involveds[i].length > 1 && i == 1){ - $('#involvedcon_'+i).css( - "margin-bottom", "-20px" - ) - } - else{ - $('#involvedcon_'+i).css( - "margin-bottom", "0px" - ) - } - } - document.getElementById('involvedcon_'+i).classList.remove("empty") - } - else{ - $('#involvedcon_'+i).css( - "margin-bottom", "0px" - ) - document.getElementById('involvedcon_'+i).classList.add("empty") - } - } -} - -function RemoveInvolved(first, second){ - Involveds[first].splice(second, 1) - RefreshInvolveds() -} - -function CreateIncident(){ - let title = document.getElementById("incident_title").value - let content = document.getElementById("incident_content").value - console.log(Involveds) - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTIncidentAction", type:"create", title, involveds:Involveds, content})) - SwitchPage('incidents') -} - -function DeleteIncident(id){ - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTIncidentAction", type:"delete", id})) - SwitchPage('incidents') -} - -function SaveIncident(id){ - let title = document.getElementById("incident_title").value - let content = document.getElementById("incident_content").value - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTIncidentAction", type:"save", title, involveds:Involveds, content, id})) - SwitchPage('incidents') -} - -function RefreshFineBTN(){ - let name = document.getElementById("in_fine_name").value - let amount = document.getElementById("in_fine_amount").value - - if (name.length > 0 && amount.length > 0){ - document.getElementById("fine_btn").disabled = false - } - else{ - document.getElementById("fine_btn").disabled = true - } -} - -function SendFine(){ - let name = document.getElementById("in_fine_name").value - let amount = document.getElementById("in_fine_amount").value - let TargetIdentifier = MDTTable[MDTTableNum].identifier - let targetname = MDTTable[MDTTableNum].firstname+" "+MDTTable[MDTTableNum].lastname - - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTUserAction", type:"givefine", TargetIdentifier, name, amount, targetname})) - - document.getElementById("in_fine_name").value = "" - document.getElementById("in_fine_amount").value = "" -} - -function CreateFines(){ - $(".fines_container").html("") - if (PlayerFines.length > 0){ - let Fines_all = 0 - let Fines_count = PlayerFines.length - for (let i = 0; i < PlayerFines.length; i++) { - $(".fines_container").append(` -
-
-
-
-

${PlayerFines[i].label}

-
-
-

${PlayerFines[i].amount+MoneyForm}

-
-
-
- `) - Fines_all = +Fines_all + +PlayerFines[i].amount - } - - $("#fines_all").html("All: "+Fines_all+MoneyForm) - $("#fines_count").html("Count: "+Fines_count) - } - else{ - $(".fines_container").html(` -

No fines found

- `) - - $("#fines_all").html("All: -") - $("#fines_count").html("Count: -") - } - -} - -function SendFines(){ - let TargetIdentifier = MDTTable[MDTTableNum].identifier - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTUserAction", type:"showfines", TargetIdentifier})) -} - -function SpeedNotify(){ - document.getElementById("speeding_notify").style.animation = "Show_panel 0.5s ease"; - $(".speeding_notify").css("display", "block") - $(".speeding_notify .main_text").html(`You went with ${PlayerSpeed+Metric} at a ${SpeedLimit+Metric} speed limit`) - $(".speeding_notify .fine").html(SpeedFine+MoneyForm) - setTimeout(function(){ - document.getElementById("speeding_notify").style.animation = "Hide_panel 0.5s ease"; - setTimeout(function(){ - $(".speeding_notify").css("display", "none") - },400) - },5000) -} - -function dragElement(elmnt) { - var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0; - - elmnt.onmousedown = dragMouseDown; - - function dragMouseDown(e) { - e = e || window.event; - e.preventDefault(); - - pos3 = e.clientX; - pos4 = e.clientY; - document.onmouseup = closeDragElement; - document.onmousemove = elementDrag; - } - - function elementDrag(e) { - e = e || window.event; - e.preventDefault(); - - pos1 = pos3 - e.clientX; - pos2 = pos4 - e.clientY; - pos3 = e.clientX; - pos4 = e.clientY; - - elmnt.style.opacity = "0.8" - - elmnt.style.top = (elmnt.offsetTop - pos2) + "px"; - elmnt.style.left = (elmnt.offsetLeft - pos1) + "px"; - } - - function closeDragElement() { - elmnt.style.opacity = "1" - document.onmouseup = null; - document.onmousemove = null; - } -} - -function CreateNotes(value){ - $(".notes_container").html("") - if (value == true){ - if (MDTTable[MDTTableNum].notes != undefined){ - for(let i=MDTTable[MDTTableNum].notes.length -1 ; i>-1; i = i-1){ - if (Job.rank >= NoteRank){ - $(".notes_container").append(` -
-
- -
-
-

${MDTTable[MDTTableNum].notes[i].name}

-
${MDTTable[MDTTableNum].notes[i].date}
-
-
-
${MDTTable[MDTTableNum].notes[i].text}
-
-
-
- `) - } - else{ - $(".notes_container").append(` -
-
-
-
-

${MDTTable[MDTTableNum].notes[i].name}

-
${MDTTable[MDTTableNum].notes[i].date}
-
-
-
${MDTTable[MDTTableNum].notes[i].text}
-
-
-
- `) - } - } - } - } - else{ - if (Notes != undefined){ - for(let i=Notes.length -1 ; i>-1; i = i-1){ - if (Job.rank >= NoteRank){ - $(".notes_container").append(` -
-
- -
-
-

${Notes[i].name}

-
${Notes[i].date}
-
-
-
${Notes[i].text}
-
-
-
- `) - } - else{ - $(".notes_container").append(` -
-
-
-
-

${Notes[i].name}

-
${Notes[i].date}
-
-
-
${Notes[i].text}
-
-
-
- `) - } - } - } - } -} - -function DeleteNotes(Number){ - let TargetIdentifier = MDTTable[MDTTableNum].identifier - if (InSearchMenu == "people"){ - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTUserAction", type:"deletenote", TargetIdentifier, NoteNum:Number+1})) - } - else{ - let Plate = MDTTable[MDTTableNum].plate - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTVehicleAction", type:"deletenote", Plate, NoteNum:Number+1})) - } -} - -function RefreshNoteBTN(){ - let in_note = document.getElementById("in_note").value - - if (in_note.length > 0){ - document.getElementById("note_btn").disabled = false - } - else{ - document.getElementById("note_btn").disabled = true - } -} - -function CreateNote(){ - let TargetIdentifier = MDTTable[MDTTableNum].identifier - let Text = document.getElementById("in_note").value - - if (InSearchMenu == "people"){ - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTUserAction", type:"createnote", TargetIdentifier, Text})) - } - else{ - let Plate = MDTTable[MDTTableNum].plate - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTVehicleAction", type:"createnote", Plate, Text})) - } - - - document.getElementById("in_note").value = "" - document.getElementById("note_btn").disabled = true -} - -function RefreshCreateCallBTN(){ - let in_citizen_call_reason = document.getElementById("in_citizen_call_reason").value - - if (in_citizen_call_reason.length > 0){ - document.getElementById("create_call_btn").disabled = false - } - else{ - document.getElementById("create_call_btn").disabled = true - } -} - -function CreateCall(){ - let text = document.getElementById("in_citizen_call_reason").value - let time = Math.round(Date.now() / (1000 * 60)) - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTCitizenCall", type:"create", text, time})) - Close() - document.getElementById("in_citizen_call_reason").value = "" -} - -function AcceptCall(){ - $(".call_actions_container").html(` -
- -
- - `) - - let tableid = +CallNumber + +1 - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTCitizenCall", type:"accept", tableid})) - - setTimeout(function(){ - $(".involved_container").html("") - for (let i = 0; i < CitizenCalls[CallNumber].cops.length; i++) { - $(".involved_container").append(` -
- ${CitizenCalls[CallNumber].cops[i].name} -
- `) - if (i +1 < CitizenCalls[CallNumber].cops.length){ - $(".involved_container").append(` -
- `) - } - } - },700) - -} - -function RefreshCallModul(id){ - CallNumber = id.split('_')[1] - let Accepted = false - - $(".involved_container").html("") - for (let i = 0; i < CitizenCalls[CallNumber].cops.length; i++) { - if (CitizenCalls[CallNumber].cops[i].id == PlayerId){ - Accepted = true - } - $(".involved_container").append(` -
- ${CitizenCalls[CallNumber].cops[i].name} -
- `) - if (i +1 < CitizenCalls[CallNumber].cops.length){ - $(".involved_container").append(` -
- `) - } - } - - if (CitizenCalls[CallNumber].closed == false){ - if (Accepted == true){ - $(".call_actions_container").html(` -
- -
- - `) - } - } - else{ - $(".call_actions_container").html(` -

Reason to close

-
- -
- `) - } - -} - -function SendPinOnMap(){ - Close() - let tableid = +CallNumber + +1 - let coords = CitizenCalls[CallNumber].coords - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTCitizenCall", type:"blip", coords, tableid})) -} - -function CreateCitizenCalls(){ - $(".alert_container_out").html(` -
- `) - if (CitizenCalls.length > 0){ - for (let i = CitizenCalls.length-1; i > -1; i = i-1) { - if (CitizenCalls[i].cops.length > 0){ - $(".alert_container").append(` -
-
-
-
-

Citizen call

-
${CitizenCalls[i].cops.length}
-
-
${CitizenCalls[i].text}
-
-
- - -
-
-
${CurrentTime-CitizenCalls[i].time} minutes ago
-
${CitizenCalls[i].street}
-
-
-
-
- `) - } - else{ - $(".alert_container").append(` -
-
-
-
-

Citizen call

-
${CitizenCalls[i].cops.length}
-
-
${CitizenCalls[i].text}
-
-
- - -
-
-
${CurrentTime-CitizenCalls[i].time} minutes ago
-
${CitizenCalls[i].street}
-
-
-
-
- `) - } - - if (Job != undefined){ - if (Job.rank >= CitizenCallRank){ - for (let i = CitizenCalls.length-1; i > -1; i = i-1) { - $("#call_"+i+"_delete").css("display", "block") - } - } - } - - if (CitizenCalls[i].closed){ - document.getElementById("alert_element_"+i).style.animation = "DoneAlert 2s ease infinite, Appear_Menu 0.7s ease"; - } - else if (CitizenCalls[i].cops.length > 0){ - document.getElementById("alert_element_"+i).style.animation = "ProgressAlert 2s ease infinite, Appear_Menu 0.7s ease"; - } - } - } - else{ - $(".alert_container_out").html(` -

There isn't any call

- `) - } -} - -function DeleteCall(id){ - let tableid = +id +1 - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTCitizenCall", type:"delete", tableid})) -} - -function RefreshCloseCallBTN(){ - let reason = document.getElementById("in_call_reason").value - - if (reason.length > 0){ - document.getElementById("close_call").disabled = false - } - else{ - document.getElementById("close_call").disabled = true - } -} - -function CloseCall(){ - let tableid = +CallNumber + +1 - let text = document.getElementById("in_call_reason").value - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"MDTCitizenCall", type:"close", tableid, text})) - - document.getElementById("in_call_reason").value = "" -} - -function SyncDataRange(id){ - $("#range_number").html(document.getElementById(id).value+"m") -} - -function SyncDataMin(id){ - $("#range_min_number").html(document.getElementById(id).value+"min") -} - -function RefreshCreateLockBTN(){ - if (document.getElementById("area_lock_label").value.length > 0){ - document.getElementById("create_lock_btn").disabled = false - } - else{ - document.getElementById("create_lock_btn").disabled = true - } -} - -function ChangeBlipBTN(id){ - $('.blip_btn').removeClass("active_btn") - document.getElementById(id).classList.add("active_btn") -} - -function CreateLock(){ - let label = document.getElementById("area_lock_label").value - let time = document.getElementById("min_area_lock").value - let range = document.getElementById("range_area_lock").value - let sprite = document.getElementsByClassName('active_btn')[0].id - $.post('https://'+GetParentResourceName()+'/UseButton', JSON.stringify({action:"AreaLock", label, time, range, sprite})) - document.getElementById("range_area_lock").value = "20" - document.getElementById("min_area_lock").value = "1" - Close() - $("#range_min_number").html("1min") - $("#range_number").html("20m") -} \ No newline at end of file diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/html/style.css b/resources/[Developer]/[Nordi]/brutal_policejob/html/style.css deleted file mode 100644 index e0e58729e..000000000 --- a/resources/[Developer]/[Nordi]/brutal_policejob/html/style.css +++ /dev/null @@ -1,1977 +0,0 @@ -@import url('https://fonts.cdnfonts.com/css/visitor'); -@import url('https://fonts.cdnfonts.com/css/digital-numbers'); -@import url('https://fonts.cdnfonts.com/css/stringline'); -@import url('https://fonts.cdnfonts.com/css/montserrat'); - -body{ - font-family: 'Montserrat', sans-serif; - user-select: none; - background: none; -} - -:root{ - --main_color: rgb(251, 133, 16); - --main_color_darker: rgb(143, 80, 17); - --background_color: rgb(34, 34, 39); - --secondary_color: rgb(43, 43, 49); - --text_color: white; - --secondarytext_color: rgb(187, 187, 187); -} - -button{ - outline: none; - border: none; - cursor: pointer; - transition: all 0.2s; -} - -button:disabled{ - opacity: 0.6; - cursor: none; -} - -button:hover{ - filter: brightness(120%); -} - -button:disabled:hover{ - filter: none; -} - -button:active{ - transition: all 0.1s; - filter: brightness(90%); -} - -button:disabled:active{ - filter: none; -} - -::-webkit-scrollbar { - display: none; -} - -hr{ - height: 2px; - background-color: white; -} - -.dropdown .dropdown-menu{ - background-color: var(--background_color); -} - -.dropdown .dropdown-menu .dropdown-item{ - color: var(--text_color); -} - -.dropdown .dropdown-menu .dropdown-item:hover{ - background-color: var(--secondary_color); -} - -.typeahead + .dropdown-menu{ - margin-top: 10px; - background-color: var(--background_color); - color: var(--text_color); - border: solid 2px var(--main_color); -} - -.typeahead + .dropdown-menu a{ - background-color: var(--background_color); - color: var(--text_color); -} - -.typeahead + .dropdown-menu .active > a:hover { - background-color: var(--secondary_color); -} - -.police_menu{ - position: absolute; - background-color: rgba(0, 0, 0, 0.182); - border-radius: 50%; - height: 300px; - width: 300px; - top: 30%; - right: -150px; - display: none; - animation: ShowPoliceMenu 1s ease; -} - -@keyframes ShowPoliceMenu{ - 0%{ - transform: rotate(180deg); - scale: 0; - } - 50%{ - transform: rotate(180deg); - scale: 1; - } - 100%{ - transform: rotate(0deg); - } -} - -@keyframes HidePoliceMenu{ - 50%{ - transform: rotate(180deg); - scale: 1; - } - 100%{ - transform: rotate(180deg); - scale: 0; - } -} - -@keyframes ChangePoliceMenu{ - 0%{ - transform: rotate(0deg); - } - 50%{ - transform: rotate(-180deg); - } - 100%{ - transform: rotate(-360deg); - } -} - -@keyframes BackPoliceMenu{ - 0%{ - transform: rotate(-360deg); - } - 50%{ - transform: rotate(-180deg); - } - 100%{ - transform: rotate(0deg); - } -} - -.police_menu .circle_element{ - height: 70px; - width: 70px; - background-color: var(--main_color); - box-shadow: inset 0px -18px 40px -20px black, inset 0px 5px 6px -4px rgba(255, 255, 255, 0.794), 0px 0px 10px 0px rgba(0, 0, 0, 0.658); - border-radius: 50%; - position: absolute; - top: 50%; - left: 50%; - margin: -35px; - transition: scale 0.2s; - font-size: 30px; - color: white; -} - -.hovered_circle{ - border: solid 2px white; - scale: 1.1; -} - -.hovered_circle.circle_element{ - box-shadow: inset 0px -10px 20px -10px rgba(0, 0, 0, 0.609) inset 0px 5px 6px -4px rgba(255, 255, 255, 0), 0px 0px 7px 0px rgba(0, 0, 0, 0.387); -} - -.police_menu .circles_label{ - width: 70px; - position: absolute; - top: 50%; - left: 50%; - margin: -90px; - margin-top: -15px; - color: white; - font-size: 15px; - font-weight: 600; - text-align: center; -} - -.interactions{ - position: absolute; - top: 10%; - right: 5%; - min-height: 300px; - max-height: 700px; - width: 350px; - background-image: linear-gradient(rgba(0, 0, 0, 0.408)70%, rgba(0, 0, 0, 0)); - border-radius: 20px; - color: white; - text-align: center; - animation: ShowIneractionMenu 0.7s ease; - display: none; - overflow-y: scroll; -} - -.interactions .label{ - position: relative; - height: 50px; - width: 90%; - border-radius: 13px; - background: rgb(56, 56, 56); - color: rgb(255, 255, 255); - font-size: 27px; - text-align: center; - padding: 4px; - box-shadow: inset 0px 2px 5px -3px rgba(184, 184, 184, 0.75), 0px 2px 5px -3px rgba(0, 0, 0, 0.531); - overflow: hidden; -} - -.interactions .label .background_effect{ - position: absolute; - left: -10%; - margin-top: -50px; - height: 60px; - width: 55%; - background-image: linear-gradient(10deg, transparent 50%, rgba(255, 255, 255, 0.154)); - transform: skew(-40deg); - z-index: 0; -} - -@keyframes ShowIneractionMenu{ - 0%{ - transform: translateX(200px); - opacity: 0; - } - 100%{ - opacity: 1; - transform: translateX(0px); - } -} - -@keyframes HideInteractionMenu{ - 0%{ - transform: translateX(0px); - } - 100%{ - opacity: 0; - transform: translateX(200px); - } -} - -.int_con_sec{ - animation: ShowIneractionCon 0.7s ease; -} - -@keyframes ShowIneractionCon{ - 0%{ - scale: 0; - } - 100%{ - scale: 1; - } -} - -.long_btn{ - height: 50px; - width: 250px; - background-color: var(--main_color); - box-shadow: inset 0px -30px 50px -35px rgba(0,0,0,0.75); - border-radius: 9px; - color: white; - font-size: 25px; - font-weight: 700; -} - -.control_btn_container{ - position: absolute; - top: 12.5px; - left: 12.5px; - height: 675px; - width: 85px; - background-color: rgb(44, 44, 44); - border-radius: 15px; - animation: PopOutSideMenu 0.7s ease; - box-shadow: 0 15px 25px -4px rgba(0, 0, 0, 0.705); -} - -@keyframes PopOutSideMenu { - 0%{ - transform: translateX(-80%); - scale: 0.9; - } - 25%{ - scale: 0.9; - } - 45%{ - transform: translateX(0%); - } - 100%{ - scale: 1; - } -} - -@keyframes Appear_Menu{ - 0%{ - scale: 0; - opacity: 0; - } - 50%{ - scale: 1.05; - } - 65%{ - scale: 0.95; - opacity: 1; - } - 100%{ - scale: 1; - } -} - -.control_btn{ - position: relative; - height: 73px; - width: 73px; - background-color: rgb(60, 60, 60); - border-radius: 15px; - color: white; - font-size: 26px; - box-shadow: 0px 2.8px 6px -2px rgba(0, 0, 0, 0.692), inset 0px 2px 5px -3px rgba(184, 184, 184, 0.564); - transition: none; - transition: all 0.5s; - overflow: hidden; -} - -.control_btn:hover{ - background-image: linear-gradient(var(--main_color_darker), var(--main_color)); -} - -.control_btn .background_effect{ - position: absolute; - top: 0px; - left: -17%; - height: 50px; - width: 57%; - background-image: linear-gradient(8deg, transparent 55%, rgba(255, 255, 255, 0.123)); - transform: skew(-40deg); - z-index: 0; - transition: all 0.6s ease; -} - -.submenu_btn{ - height: 50px; - width: 80%; - background-color: var(--main_color); - box-shadow: inset 0px -50px 109px -65px rgba(0,0,0,0.75); - border-radius: 9px; - color: white; - font-size: 30px; -} - -.MDT{ - position: absolute; - left: 50%; - top: 50%; - height: 700px; - width: 1100px; - transform: translate(-50%,-50%); - background-color: rgb(30, 32, 40); - border-radius: 20px; - overflow: hidden; - display: none; - animation: Show_panel 0.5s ease; -} - -.MDT hr{ - width: 80%; - color: white; - border: solid 2px white; - margin-left: 10%; - border-radius: 5px; -} - -@keyframes Show_panel{ - 0%{ - opacity: 0; - } - 100%{ - opacity: 1; - } -} - -@keyframes Hide_panel{ - 0%{ - opacity: 1; - } - 80%{ - opacity: 0; - } - 100%{ - transform: translate(-50%, -100%); - } -} - -.MDT .table_container{ - height: 500px; - width: 90%; - margin-left: 5%; - overflow-y: scroll; -} - -.MDT table{ - color: white; - text-align: center; -} - -.MDT table .cell{ - width: 25%; -} - -.MDT .slider_btn{ - position: absolute; - top: 2%; - left: 11%; - height: 55px; - width: 160px; - background-color: rgb(42, 42, 42); - border-radius: 15px; -} - -.not_found_con{ - height: 60px; - width: 100%; - border-radius: 3vh; - color: rgb(210, 210, 210); - font-size: 32px; - background-image: linear-gradient(135deg,transparent, var(--main_color_darker), transparent); -} - -.home_label{ - height: 60px; - width: 100%; - border-radius: 3vh; - color: rgb(210, 210, 210); - font-size: 32px; - background-image: linear-gradient(135deg,transparent, var(--main_color_darker), transparent); -} - -.home_label #job_name{ - font-size: 28px; -} - -.home_label #home_date{ - text-align: center; - font-size: 18px; -} - -.home_label #street{ - font-size: 18px; -} - -.home_stat_con{ - height: 180px; - width: 290px; - background-color: var(--main_color_darker); - border-radius: 15px; - animation: Appear_Menu 0.7s ease; -} - -.LSDP_logo_img{ - position: absolute; - bottom: 20px; - left: 870px; - height: 200px; - opacity: 0.3; - transition: 0.6s ease-in-out; - z-index: 11; -} - -.home_stat_con .label{ - margin: 10px; - font-size: 30px; - font-weight: 600; - color: rgb(171, 171, 171); -} - -.home_stat_con .main{ - margin-left: 40px; - font-size: 70px; - font-weight: 700; - color: rgb(211, 211, 211); -} - -.home_stat_con .small{ - font-size: 45px; -} - -.welcome_text{ - margin-left: 40px; - font-size: 90px; - font-weight: 700; - text-align: left; - color: var(--main_color_darker); -} - -.welcome_text .hand_written{ - font-family: 'Stringline', sans-serif; - margin-top: -30px; - font-size: 70px; - color: rgb(175, 175, 175); -} - -.page_data_container{ - max-height: 700px; -} - -.licences_container{ - min-height: 53px; - max-height: 200px; - width: 100%; - display: inline-block; - border-radius: 10px; - background-color: rgb(43, 43, 43); - padding-bottom: 10px; - box-shadow: inset 0px 0px 4px rgba(0, 0, 0, 0.35); -} - -.licences_container .licence_element{ - min-height: 30px; - width: fit-content; - background-color: rgb(31, 31, 31); - border-radius: 20px; - margin-top: 10px; - margin-left: 5px; - border: solid 2px var(--main_color); - float: left; - box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.422); -} - -.licences_container .licence_element.add{ - border: solid 2px rgb(49, 161, 49); -} - -.licences_container .licence_element .licence_btn{ - background-color: transparent; - height: 30px; - width: 30px; - color: white; -} - -.notes_label{ - padding: 10px; - border-radius: 10px; - background-image: linear-gradient(135deg, var(--main_color_darker) 20%, transparent); -} - -.notes_container{ - max-height: 300px; - overflow-y: auto; -} - -.notes_container .note_element{ - position: relative; - min-height: 50px; - border-radius: 10px; - color: white; - background-color: rgb(43, 43, 43); - margin-bottom: 10px; - box-shadow: inset 0px 2px 5px -3px rgba(184, 184, 184, 0.564), 0px 2px 5px -3px rgba(0, 0, 0, 0.531); -} - -.note_element .background_effect{ - position: absolute; - left: -10%; - height: 60px; - width: 55%; - background-image: linear-gradient(8deg, transparent 55%, rgba(255, 255, 255, 0.079)); - transform: skew(-40deg); - z-index: 0; -} - -.notes_container .note_element .main_text{ - position: relative; - margin: 10px; - font-size: 20px; - padding: 10px; - border-radius: 10px; - background-color: rgb(53, 53, 53); - box-shadow: inset 0px 0px 5px -1px rgba(7, 7, 7, 0.75); - z-index: 1; -} - -.notes_container .note_element h5{ - color: rgb(188, 188, 188); -} - -.notes_container .note_element .delete_note{ - position: absolute; - top: 10px; - right: 10px; - padding-left: 5px; - padding-right: 5px; - background-color: rgb(236, 66, 66); - box-shadow: inset 0px -2px 8px 0px rgba(0, 0, 0, 0.377); - border-radius: 8px; - color: white; - font-size: 18px; - font-weight: 700; - z-index: 10; -} - -#details_modal .datas_container h4{ - font-weight: 400; -} - -#details_modal .datas_container h4 b{ - font-weight: 700; -} - -#details_modal .datas_container .veh_img{ - background-color: rgb(83, 83, 83); - border-radius: 10px; - height: 150px; -} - -#details_modal .datas_container .veh_add_img{ - background-color: rgb(72, 72, 72); - border-radius: 10px; - height: 150px; - width: 250px; - color: rgb(228, 228, 228); - font-size: 55px; -} - -#details_modal .datas_container .edit_img{ - margin-top: -22px; - background-color: transparent; - color: white; - font-size: 15px; -} - -.cam_shadow{ - position: absolute; - top: 640px; - height: 50px; - width: 970px; - box-shadow: inset 0px -35px 20px -10px rgb(30, 32, 40); - z-index: 10; -} - -.cam_container{ - max-height: 660px; - overflow-y: auto; -} - -.camera_element{ - position: relative; - height: 240px; - width: 200px; - border-radius: 10px; - background-color: rgb(43, 43, 43); - margin-bottom: 20px; - overflow: hidden; - animation: Appear_Menu 0.7s ease; - box-shadow: inset 0px 2px 5px -3px rgba(184, 184, 184, 0.564), 0px 2px 5px -3px rgba(0, 0, 0, 0.531); -} - -.camera_element .background_effect{ - position: absolute; - left: -10%; - height: 60px; - width: 55%; - background-image: linear-gradient(8deg, transparent 55%, rgba(255, 255, 255, 0.356)); - transform: skew(-40deg); - z-index: 0; -} - -.camera_element img{ - height: 53%; - background-color: rgb(77, 77, 77); - border-radius: 10px; -} - -.camera_element h4{ - text-align: center; - color: white; - margin-top: 10px; - font-size: 15px; - width: 90%; - margin-left: 5%; -} - -.alert_container_out{ - max-height: 650px; - overflow-y: auto; -} - -.alert_element{ - position: relative; - height: 240px; - width: 420px; - border-radius: 10px; - background-color: rgb(43, 43, 43); - box-shadow: inset 0px 2px 5px -3px rgba(184, 184, 184, 0.564), 0px 4px 6px -4px rgba(0, 0, 0, 0.531); - margin-bottom: 40px; - - color: white; - animation: UnreadAlert 2s ease infinite, Appear_Menu 0.7s ease; -} - -@keyframes UnreadAlert{ - 0%{ - box-shadow: inset 40px 0px 40px -50px red , inset -40px 0px 40px -50px rgb(10, 20, 223), inset 0px 2px 5px -3px rgba(184, 184, 184, 0.564), 0px 4px 6px -4px rgba(0, 0, 0, 0.531); - } - 50%{ - box-shadow: inset 40px 0px 40px -50px rgb(10, 20, 223) , inset -40px 0px 40px -50px red, inset 0px 2px 5px -3px rgba(184, 184, 184, 0.564), 0px 4px 6px -4px rgba(0, 0, 0, 0.531); - } - 100%{ - box-shadow: inset 40px 0px 40px -50px red , inset -40px 0px 40px -50px rgb(10, 20, 223), inset 0px 2px 5px -3px rgba(184, 184, 184, 0.564), 0px 4px 6px -4px rgba(0, 0, 0, 0.531); - } -} - -@keyframes ProgressAlert{ - 0%{ - box-shadow: inset 40px 0px 40px -50px rgb(245, 245, 3), inset -40px 0px 40px -50px rgb(245, 245, 3), inset 0px 2px 5px -3px rgba(184, 184, 184, 0.564), 0px 4px 6px -4px rgba(0, 0, 0, 0.531); - } - 50%{ - box-shadow: inset 40px 0px 40px -50px rgba(245, 245, 3, 0), inset -40px 0px 40px -50px rgba(245, 245, 3, 0), inset 0px 2px 5px -3px rgba(184, 184, 184, 0.564), 0px 4px 6px -4px rgba(0, 0, 0, 0.531); - } - 100%{ - box-shadow: inset 40px 0px 40px -50px rgb(245, 245, 3), inset -40px 0px 40px -50px rgb(245, 245, 3), inset 0px 2px 5px -3px rgba(184, 184, 184, 0.564), 0px 4px 6px -4px rgba(0, 0, 0, 0.531); - } -} - -@keyframes DoneAlert{ - 0%{ - box-shadow: inset 40px 0px 40px -50px rgb(17, 204, 17), inset -40px 0px 40px -50px rgb(17, 204, 17), inset 0px 2px 5px -3px rgba(184, 184, 184, 0.564), 0px 4px 6px -4px rgba(0, 0, 0, 0.531); - } - 100%{ - box-shadow: inset 40px 0px 40px -50px rgb(17, 204, 17), inset -40px 0px 40px -50px rgb(17, 204, 17), inset 0px 2px 5px -3px rgba(184, 184, 184, 0.564), 0px 4px 6px -4px rgba(0, 0, 0, 0.531); - } -} - -.alert_element .background_effect{ - position: absolute; - left: -10%; - height: 80px; - width: 55%; - background-image: linear-gradient(8deg, transparent 55%, rgba(255, 255, 255, 0.079)); - transform: skew(-40deg); - z-index: 0; -} - -.alert_element h2{ - margin: 10px; -} - -.alert_element .police_on{ - float: inline-end; - margin: 10px; - font-size: 23px; -} - -.alert_element .main_text{ - height: 50%; - width: 80%; - margin-left: 10px; - border-radius: 10px; - font-size: 20px; - padding: 10px; - background-color: rgb(53, 53, 53); - box-shadow: inset 0px 0px 5px -3px rgba(7, 7, 7, 0.75); -} - -.alert_element .street{ - float: inline-end; - margin-top: 20px; - font-size: 15px; - padding-right: 5px; - border-right: solid 2px gray; -} - -.alert_element .time{ - float: inline-end; - margin-right: 10px; - margin-top: 20px; - margin-left: 5px; - font-size: 15px; -} - - -.call_actions_container{ - color: white; -} - -.call_reason_con textarea{ - max-height: 200px; -} - -.involved_container{ - max-height: 250px; - width: 400px; - color: white; - border: solid 2px rgb(73, 73, 73); - background-color: rgb(43, 43, 43); - border-radius: 10px; -} - -.involved_container .involved_element{ - height: 50px; - font-size: 30px; - text-align: center; -} - -.involved_container hr{ - width: 90%; - margin: 0px; - margin-left: 5%; -} - -.table_header{ - background-image: linear-gradient(135deg, var(--main_color_darker) 40%, transparent); - border-radius: 10px; - margin-bottom: 20px; - width: 90%; - height: 60px; - margin-left: 5%; - font-size: 27px; -} - -.table_element{ - position: relative; - background-color: rgba(57, 57, 57, 0.596); - border-radius: 10px; - animation: Appear_Menu 0.7s ease; - font-size: 20px; - font-weight: 400; - box-shadow: inset 0px 2px 5px -3px rgba(184, 184, 184, 0.564), 0px 2px 5px -3px rgba(0, 0, 0, 0.531); -} - -.table_element .background_effect{ - position: absolute; - left: -10%; - height: 60px; - width: 55%; - background-image: linear-gradient(8deg, transparent 55%, rgba(255, 255, 255, 0.079)); - transform: skew(-40deg); - z-index: 0; -} - -.table_element table{ - height: 50px; -} - -.close{ - height: 70px; - width: 70px; - color: white; - background-color: transparent; - font-size: 35px; -} - -.search_btn{ - height: 50px; - width: 170px; - background-color: var(--main_color); - color: white; - font-size: 25px; - border-radius: 13px; - box-shadow: inset 0px -20px 50px 0px rgba(0, 0, 0, 0.574); - font-weight: 700; -} - -.details_btn{ - position: relative; - height: 43px; - background-color: var(--main_color); - color: white; - font-size: 18px; - border-radius: 10px; - box-shadow: inset 0px -17px 40px 0px rgba(0, 0, 0, 0.574); - font-weight: 700; - z-index: 9; -} - -.details_btn.red{ - background-color: #FC4100; - display: none; -} - -.input-group input{ - background-color: rgb(46, 46, 52); - color: white; - border: none; - outline: none; - text-align: center; -} - -.input-group input::placeholder{ - color: white; -} - -.input-group input:focus{ - background-color: rgb(46, 46, 52); - color: white; - box-shadow: 0px 0px 0px 3px var(--main_color); -} - -.input-group input::placeholder { - color: rgb(187, 187, 187); -} - -.input-group textarea{ - background-color: rgb(72, 72, 72); - color: white; - border: none; - outline: none; -} - -.input-group textarea::placeholder{ - color: rgb(192, 192, 192); -} - -.input-group textarea:disabled{ - background-color: rgb(64, 64, 64); -} - -.input-group textarea:focus{ - background-color: rgb(65, 65, 65); - color: white; - box-shadow: 0px 0px 0px 2px var(--main_color); -} - -.shop{ - position: absolute; - top: 10%; - left: 5%; - height: 756px; - width: 576px; - background-color: rgba(0, 0, 0, 0.35); - border-radius: 15px; - border: none; - transition: all 0.4s ease-in-out; - display: none; - scale: 0; - transition: all 0.6s ease; -} - -.shop .checkout_container{ - position: absolute; - bottom: 2%; - right: 2%; - height: 25%; - width: 60%; -} - -.shop .checkout_container hr{ - width: 90%; - height: 2px; - background-color: white; - margin-left: 5%; -} - -.shop .checkout_container h3{ - position: absolute; - top: 28%; - left: 50%; - transform: translate(-50%,-50%); - font-weight: 800; - font-size: 38px; - color: rgb(241, 241, 241); - width: 100%; - text-align: center; -} - -.shop h2{ - position: absolute; - transform: translate(-50%, 0%); - left: 50%; - margin-top: -30px; - color: white; - font-weight: 900; - font-size: 56px; - text-shadow: inset 3px 3px 13px rgba(0, 0, 0, 0.262); -} - -.shop .shop_elements_container{ - position: absolute; - top: 15.5%; - left: 50%; - transform: translate(-50%, 0%); - height: 59.5%; - width: 90%; - overflow-y: auto; - scroll-behavior: smooth; -} - -.shop .shop_elements_container .shop_element{ - height: 195px; - width: 140px; - left: 50%; - border-radius: 10px; - background: linear-gradient(135deg, rgba(226, 226, 226, 0.664), rgba(226, 226, 226, 0)); - margin-top: 15px; - margin-bottom: 15px; - transition: all 0.4s; -} - -.shop .shop_elements_container .shop_element:hover{ - box-shadow: inset 20px 20px 50px -10px rgba(226, 226, 226, 0.664); -} - -.shop .shop_elements_container .shop_element:hover img{ - scale: 1.1; - transform: translateY(-10%); -} - -.shop .shop_elements_container .shop_element img{ - margin-top: 5%; - height: 60%; - border-radius: 8px; - transition: all 0.4s; -} - -.shop .shop_elements_container .shop_element h4{ - top: 70%; - font-weight: 400; - font-size: 18px; - color: rgb(241, 241, 241); - text-align: center; -} - -.shop .shop_elements_container .shop_element .price{ - color: rgb(219, 219, 219); - margin-left: 8px; - margin-bottom: -30px; - font-size: 20px; - font-weight: 700; -} - -.shop .shop_elements_container .shop_element .num{ - margin-top: -8px; - left: 50%; - width: 80%; - transform: translate(-50%, 0%); - font-weight: 600; - color: rgb(241, 241, 241); -} - -.shop .shop_elements_container .shop_element .num input{ - font-size: 25px; - padding-top: 3px; - padding-bottom: 3px; -} - -.shop .slider_btn{ - position: absolute; - top: 83%; - left: 10%; - height: 65px; - width: 160px; - background-color: rgb(59, 59, 59); - border-radius: 15px; -} - -.slider_btn .slider{ - position: absolute; - left: 0; - top: -5%; - border-radius: 15px; - height: 110%; - width: 50%; - background-color: var(--main_color); - z-index: 1; - transition: all 0.3s ease; - box-shadow: inset 0px -20px 60px 0px rgba(0, 0, 0, 0.486); -} - -.slider_btn .button_container{ - position: absolute; - left: 0; - height: 100%; - width: 100%; - color: white; - z-index: 10; - font-size: 38px; - text-align: center; - align-items: center; - margin: 0; -} - -.buy_btn{ - height: 75px; - min-width: 150px; - background-color: var(--main_color); - color: white; - font-size: 38px; - border-radius: 10px; - box-shadow: inset 0px -35px 80px 0px rgba(0, 0, 0, 0.574); - font-weight: 700; - padding: 10px; - position: absolute; - bottom: 5%; - left: 50%; - transform: translate(-50%, 0%); -} - -.cam_menu{ - height: 100%; - width: 100%; - font-family: 'Visitor TT1 BRK', sans-serif; - display: none; -} - -.cam_menu .cam_label{ - position: absolute; - bottom: 5%; - left: 50%; - transform: translate(-50%, 0%); - background-color: black; - color: white; - font-size: 35px; - text-align: center; -} - -.cam_menu .cam_online{ - position: absolute; - top: 5%; - right: 5%; - background-color: black; - color: rgb(58, 202, 25); - font-size: 35px; - text-align: center; -} - -.cam_menu .cam_date{ - position: absolute; - top: 5%; - left: 5%; - background-color: black; - color: rgb(255, 255, 255); - font-size: 30px; - text-align: center; -} - -.vehicle_menu{ - display: none; - animation: Show_panel 0.3s ease; -} - -.vehicle_control{ - position: absolute; - top: 40%; - right: 5%; - height: 80px; - width: 340px; - border: solid 3px rgb(73, 73, 73); - background-color: rgb(25, 25, 25); - border-radius: 10px; - box-shadow: inset 0px 2px 5px 0px rgb(133, 133, 133); - cursor: move; -} - -.vehicle_control .vehicle_btn{ - height: 65px; - width: 65px; - margin-top: 5px; - background-color: rgb(72, 72, 72); - border: solid 2.5px rgb(77, 77, 77); - border-radius: 8px; - box-shadow: inset 0px 5px 5px -3px rgb(155, 155, 155), inset 0px -15px 15px -5px rgb(50, 50, 50); - color: rgb(195, 195, 195); - font-size: 30px; - text-align: center; - transition: all 0.2s ease; -} - -.vehicle_control .vehicle_btn_active{ - color: white; - background-color: var(--main_color); - box-shadow: inset 0px 5px 5px -3px rgb(155, 155, 155); -} - -.vehicle_control .vehicle_btn h4{ - margin-top: -10px; - font-size: 20px; - font-weight: 700; -} - -.plate_reader{ - position: absolute; - top: 40%; - left: 5%; - height: 220px; - width: 340px; - border: solid 3px rgb(73, 73, 73); - background-color: rgb(25, 25, 25); - border-radius: 10px; - box-shadow: inset 0px 2px 5px 0px rgb(133, 133, 133); - color: rgb(195, 195, 195); - text-align: center; - display: none; - cursor: move; - animation: Show_panel 0.3s ease; -} - -.plate_reader .indicator{ - position: absolute; - height: 5px; - width: 5px; - border-radius: 100%; - background-color: rgb(196, 28, 28); - box-shadow: inset 0px 1px 2px 0px rgba(195, 195, 195, 0.763); - transition: all 0.5s; -} - -.plate_reader #top{ - top: 15px; - right: 15px; -} - -.plate_reader #bottom{ - top: 115px; - right: 15px; -} - -.plate_reader .veh_speed{ - position: relative; - height: 60px; - width: 100px; - border: solid 2px rgb(73, 73, 73); - background-color: rgb(41, 41, 41); - border-radius: 8px; - font-size: 36px; - font-family: 'Digital Numbers', sans-serif; - box-shadow: inset 0px 5px 5px -3px rgb(155, 155, 155), inset 0px -15px 15px -5px rgb(33, 33, 33); -} - -.plate_reader .veh_plate{ - height: 60px; - width: 150px; - border: solid 2px rgb(73, 73, 73); - background-color: rgb(41, 41, 41); - border-radius: 8px; - font-size: 28px; - padding-top: 6px; - text-align: center; - box-shadow: inset 0px 5px 5px -3px rgb(155, 155, 155), inset 0px -15px 15px -5px rgb(33, 33, 33); -} - -.fine_title_container{ - background-image: linear-gradient(135deg, var(--main_color_darker) 40%, transparent); - border-radius: 10px; - margin-bottom: 20px; - width: 85%; - height: 50px; - font-size: 25px; -} - -.fines_container{ - margin-top: -10px; - max-height: 500px; - overflow-y: auto; -} - -.fine_element{ - position: relative; - min-height: 50px; - border-radius: 10px; - color: white; - background-color: rgb(53, 53, 53); - margin-top: 10px; - text-align: center; - box-shadow: inset 0px 2px 3.5px -3px rgba(255, 255, 255, 0.605), 0px 1.6px 3px -2px rgba(27, 27, 27, 0.879); -} - -.fine_element .background_effect{ - position: absolute; - left: -10%; - top: 0px; - height: 40px; - width: 55%; - background-image: linear-gradient(10deg, transparent 50%, rgba(255, 255, 255, 0.121)); - transform: skew(-40deg); - z-index: 0; -} - -.incidents_container{ - margin-top: -10px; - max-height: 500px; - overflow-y: auto; -} - -.incidents_container .incident_element{ - position: relative; - min-height: 60px; - border-radius: 10px; - color: white; - background-color: rgb(53, 53, 53); - margin-top: 10px; - box-shadow: inset 0px 2px 3.5px -3px rgba(255, 255, 255, 0.605), 0px 1.6px 3px -2px rgba(27, 27, 27, 0.879); - cursor: pointer; - transition: all 0.3s ease; -} - -.incidents_container .incident_element:hover{ - filter: brightness(120%); -} - -.incidents_container .incident_element .background_effect{ - position: absolute; - left: -10%; - top: 0px; - height: 40px; - width: 55%; - background-image: linear-gradient(10deg, transparent 50%, rgba(255, 255, 255, 0.121)); - transform: skew(-40deg); - z-index: 0; -} - -.incidents_container .incident_element .label{ - position: absolute; - top: 5px; - left: 10px; - font-size: 30px; - color: white; - font-weight: 700; -} - -.incidents_container .incident_element .date{ - position: absolute; - bottom: 5px; - right: 5px; - font-size: 17px; - color: rgb(207, 207, 207); - font-weight: 400; -} - -.speeding_notify{ - position: absolute; - top: 5%; - left: 50%; - transform: translate(-50%, 0%); - min-height: 160px; - width: 350px; - border-radius: 15px; - background-color: rgb(43, 43, 43); - box-shadow: 2px 3px 7px rgba(43, 43, 43, 0.702); - overflow-x: hidden; - animation: Show_panel 0.3s ease; - display: none; -} - -.speeding_notify .title{ - position: absolute; - top: 10%; - left: 50%; - transform: translate(-50%, 0%); - width: 90%; - height: 50px; - border-radius: 10px; - background-image: linear-gradient(135deg, rgb(212, 29, 29)15%, transparent 95%); - color: rgb(223, 223, 223); - font-size: 35px; - font-weight: 700; - text-align: center; - display: flex; - justify-content: center; - align-items: center; - transform: skew(10deg) translate(-50%, 0%); - animation: ShowSpeedTitle 0.7s ease; -} - -@keyframes ShowSpeedTitle{ - 0%{ - transform: skew(10deg) translate(50%, 0%); - } - 50%{ - transform: skew(10deg) translate(-60%, 0%); - } - 65%{ - transform: skew(10deg) translate(-45%, 0%); - } - 100%{ - transform: skew(10deg) translate(-50%, 0%); - } -} - -.speeding_notify .main_text{ - margin-top: 70px; - margin-left: 12.5%; - width: 75%; - text-align: center; - color: rgb(169, 169, 169); - font-size: 16px; - font-weight: 600; -} - -.speeding_notify .main_text .your_speed{ - color: rgb(212, 29, 29); - font-weight: 900; -} - -.speeding_notify .main_text .speed_limit{ - font-weight: 700; -} - -.speeding_notify .fine{ - margin-bottom: 5px; - text-align: center; - color: rgb(208, 38, 38); - font-size: 33px; - font-weight: 800; - transform: skew(10deg); -} - -.jail_hud{ - position: absolute; - bottom: 3%; - left: 18%; - padding: 15px; - display: none; - border-radius: 10px; - background-color: rgb(51, 51, 51); - box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.611), inset 0px -10px 20px -4px rgba(143, 143, 143, 0.593); - transform: skew(-10deg); -} - -.jail_hud h3{ - color: white; - text-align: center; - font-weight: 900; - font-size: 25px; -} - -.basic_container{ - position: absolute; - top: 50%; - left: 3%; - transform: translate(0%, -50%); - height: 320px; - width: 280px; - background-color: rgb(44, 44, 44); - border-radius: 20px; - animation: Appear_Menu 0.3s ease; - color: rgb(218, 218, 218); - text-align: center; - display: none; -} - -#area_lock{ - top: 50%; - left: 50%; - height: 540px; - transform: translate(-50%, -50%); -} - -.basic_container .label{ - position: relative; - margin-top: 10px; - margin-left: 10px; - height: 50px; - width: 260px; - border-radius: 13px; - background: rgb(73, 73, 73); - color: rgb(255, 255, 255); - font-size: 27px; - text-align: center; - padding: 3px; - box-shadow: inset 0px 2px 5px -3px rgba(184, 184, 184, 0.75); - overflow: hidden; -} - -.basic_container .label .background_effect{ - position: absolute; - left: -10%; - top: 0px; - height: 60px; - width: 55%; - background-image: linear-gradient(10deg, transparent 50%, rgba(255, 255, 255, 0.154)); - transform: skew(-40deg); - z-index: 0; -} - -.basic_container textarea{ - resize: none; - background-color: rgb(61, 61, 61); -} - -.basic_container .item_con{ - max-width: 90%; - padding: 10px; - border-radius: 13px; - background-color: rgb(55, 55, 55); -} - -.basic_container .range_number{ - font-size: 16px; - margin-bottom: -2px; - margin-top: 6px; - color: rgb(181, 181, 181); -} - -.blip_btn{ - height: 50px; - width: 50px; - background-color: rgb(89, 89, 89); - border-radius: 10px; - box-shadow: inset 0px 2px 5px -3px rgba(184, 184, 184, 0.75); -} - -.blip_btn.active_btn{ - background-color: var(--main_color); -} - -.range::-webkit-slider-thumb{ - -webkit-appearance: none; - appearance: none; - height: 17px; - width: 17px; - border-radius: 100%; - background: var(--main_color); - cursor: pointer; - box-shadow: none; - outline: none; - transition: 0.3s; -} - -.range::-webkit-slider-thumb:focus{ - height: 20px; - width: 20px; -} - -.range{ - -webkit-appearance: none; - width: 75%; - height: 10px; - border-radius: 10px; - outline: none; - background-color: var(--background_color); -} - -.vehicle_livery{ - position: absolute; - top: 3%; - left: 50%; - transform: translate(-50%, 0%); - height: 110px; - width: 300px; - background-color: rgb(44, 44, 44); - border-radius: 15px; - animation: Appear_Menu 0.3s ease; - color: rgb(194, 194, 194); - text-align: center; - box-shadow: 2px 3px 7px rgba(43, 43, 43, 0.702); - display: none; -} - -.vehicle_livery .val_con{ - margin-top: 10px; - height: 45px; - width: fit-content; - background-color: rgb(30, 49, 176); - border-radius: 10px; - text-align: center; - color: rgb(255, 255, 255); - font-size: 26px; - font-weight: 600; - box-shadow: inset 0px 2px 5px -3px rgb(200, 200, 200), inset 0px -4px 8px -5px rgba(31, 31, 31, 0.766); -} - -.modal_header{ - position: relative; - height: 55px; - width: 100%; - border-radius: 13px; - background: rgb(62, 62, 62); - color: rgb(255, 255, 255); - font-size: 27px; - text-align: center; - padding: 3px; - box-shadow: inset 0px 2px 5px -3px rgba(184, 184, 184, 0.75), 0px 2px 5px -3px rgba(0, 0, 0, 0.531); - overflow: hidden; -} - -.modal_header .background_effect{ - position: absolute; - left: -10%; - margin-top: -3px; - height: 60px; - width: 55%; - background-image: linear-gradient(10deg, transparent 50%, rgba(255, 255, 255, 0.154)); - transform: skew(-40deg); - z-index: 0; -} - -.modal .item_con{ - max-width: 90%; - padding: 10px; - border-radius: 13px; - background-color: rgb(55, 55, 55); -} - -.delete_object{ - position: absolute; - bottom: 3%; - left: 18%;; - background-color: rgb(39, 39, 39); - border-radius: 10px; - animation: Appear_Menu 0.3s ease; - color: rgb(178, 29, 29); - text-align: center; - box-shadow: inset 0px 2px 5px -3px rgba(184, 184, 184, 0.75), 0px 4px 8px -3px rgba(0, 0, 0, 0.531); - display: none; -} - -.delete_object h5{ - font-weight: 700; - font-size: 35px; -} - -.delete_object .background_effect{ - position: absolute; - top: 0; - left: -10%; - height: 60px; - width: 55%; - background-image: linear-gradient(10deg, transparent 50%, rgba(255, 255, 255, 0.222)); - transform: skew(-40deg); - z-index: 0; -} - -.MDT .title{ - font-size: 30px; - font-weight: 700; - color: white; - text-align: center; -} - -.MDT .small_con{ - position: absolute; - top: 70px; - left: 150px; - height: 600px; - width: 320px; - border-radius: 13px; - background-color: #3a3b42; - box-shadow: 0 15px 25px -4px rgba(0, 0, 0, 0.514); -} - -.MDT .small_con .big_label{ - position: relative; - height: 39px; - width: 300px; - margin-left: 10px; - border-radius: 6px; - background-color: #94969e; - font-size: 23px; - font-weight: 700; - color: white; - text-align: center; - line-height: 39px; - box-shadow: 0px 2.8px 6px -2px rgba(0, 0, 0, 0.692), inset 0px 3px 6px -4px rgba(255, 255, 255, 0.644); - overflow: hidden; -} - -.MDT .big_label::before{ - position: absolute; - content: ''; - top: 0%; - left: -50%; - height: 100%; - width: 100%; - filter: blur(1px); - background-image: linear-gradient(10deg, transparent 50%, rgba(255, 255, 255, 0.219)); - transform: skew(-40deg); -} - -.MDT .small_con input{ - margin-left: 10px; - height: 38px; - background-color: #55575e; - border-radius: 6px; - line-height: 38px; -} - -.MDT .small_con .incidents_con{ - position: relative; - height: 482px; - width: 300px; - margin-left: 10px; - border-radius: 6px; - background-color: #2e3038; - overflow-y: auto; - padding-bottom: 10px; -} - -.MDT .small_con .incidents_con h3{ - color: rgb(206, 206, 206); - margin-top: 15px; -} - -.MDT .small_con .incidents_con .incident_elm{ - position: relative; - height: 51px; - width: 285px; - margin-left: 7.5px; - margin-top: 7.5px; - border-radius: 6px; - background-color: #797c86; - box-shadow: 0px 2.8px 6px -2px rgba(0, 0, 0, 0.692), inset 0px 3px 6px -4px rgba(255, 255, 255, 0.644); - overflow: hidden; -} - -.MDT .small_con .incidents_con .incident_elm:hover::before{ - left: -45%; -} - -.MDT .small_con .incidents_con .incident_elm::before{ - position: absolute; - content: ''; - top: 0%; - left: -50%; - height: 60%; - width: 100%; - filter: blur(1px); - background-image: linear-gradient(10deg, transparent 50%, rgba(255, 255, 255, 0.185)); - transform: skew(-35deg); - transition: all 0.2s ease; -} - -.MDT .small_con .incidents_con .incident_elm.choosed{ - background-color: var(--main_color); -} - -.MDT .small_con .incidents_con .incident_elm .incident_label{ - position: absolute; - top: 0px; - left: 7px; - font-size: 20px; - font-weight: 700; - color: white; -} - -.MDT .small_con .incidents_con .incident_elm .name{ - position: absolute; - bottom: 2px; - left: 7px; - font-size: 15px; - font-weight: 600; - color: #E9E9E9; -} - -.MDT .small_con .incidents_con .incident_elm .date{ - position: absolute; - bottom: 2px; - right: 5px; - font-size: 13px; - font-weight: 600; - color: #B5B5B5; -} - -.MDT .big_con{ - position: absolute; - top: 70px; - left: 490px; - height: 600px; - width: 577px; - border-radius: 13px; - background-color: #3a3b42; - box-shadow: 0 15px 25px -4px rgba(0, 0, 0, 0.514); - overflow: hidden; -} - -.MDT .big_con .light{ - position: absolute; - top: 5%; - left: 50%; - transform: translate(-50%, -50%); - background-color: #94969e; - height: 250px; - width: 500px; - filter: blur(150px); - border-radius: 50%; - transition: all 0.4s ease; - opacity: 0.5; -} - -.MDT .big_con .big_label{ - position: relative; - height: 37px; - width: 557px; - margin-left: 10px; - border-radius: 6px; - background-color: #94969e; - font-size: 23px; - font-weight: 700; - color: white; - text-align: center; - box-shadow: 0px 2.8px 6px -2px rgba(0, 0, 0, 0.692), inset 0px 3px 6px -4px rgba(255, 255, 255, 0.644); - overflow: hidden; -} - -.MDT .big_con .big_label.edit{ - background-color: var(--main_color); -} - -.MDT .big_con .small_label{ - position: relative; - height: 35px; - width: 238px; - border-radius: 6px; - background-color: #6d6f78; - font-size: 18px; - font-weight: 700; - color: #F5F5F5; - text-align: center; - line-height: 35px; - box-shadow: 0px 2px 6px -1.4px rgba(0, 0, 0, 0.39), inset 0px 3px 6px -4px rgba(255, 255, 255, 0.644); - overflow: hidden; -} - -.MDT .big_con .small_label::before{ - position: absolute; - content: ''; - top: 0%; - left: -50%; - height: 60%; - width: 100%; - filter: blur(1px); - background-image: linear-gradient(10deg, transparent 50%, rgba(255, 255, 255, 0.185)); - transform: skew(-35deg); - transition: all 0.2s ease; -} - -.MDT .big_con input{ - height: 35px; - background-color: #55575e; - border-radius: 6px; - font-size: 18px; - color: #D3D3D3; - line-height: 35px; - font-weight: 700; -} - -.MDT .big_con .add_btn{ - height: 35px; - width: 35px; - background-color: var(--main_color); - border-radius: 6px; - color: white; - text-align: center; - font-size: 22px; - margin-left: 6px; -} - -.MDT .big_con .involved_con{ - position: relative; - min-height: 43px; - max-height: 79.5px; - width: 238px; - background-color: #2e3038; - border-radius: 6px; - display: inline-block; - padding-bottom: 6.5px; - overflow-y: auto; - transition: all 0.4s ease; - z-index: 10; -} - -.MDT .big_con .involved_con.empty{ - background-image: url('assets/across_line.png'); - background-size: 100%; - opacity: 30%; - transition: none; -} - -.MDT .big_con .involved_con .involved_elm{ - position: relative; - height: 30px; - float: left; - width: fit-content; - background-color: #6d6f78; - border-radius: 4px; - margin-top: 6.5px; - margin-left: 6.5px; - padding-right: 30px; -} - -.MDT .big_con .involved_con .involved_elm .name{ - font-size: 18px; - font-weight: 600; - color: #c5c7d3; -} - -.MDT .big_con .involved_con .involved_elm .remove_btn{ - position: absolute; - top: 4.5px; - right: 4.5px; - height: 21px; - width: 21px; - background-color: rgb(243, 93, 93); - color: white; - font-size: 12px; - border-radius: 3px; -} - -.MDT .big_con .wide_label{ - position: absolute; - top: 68%; - left: 50%; - transform: translate(-50%, 0%); - height: 35px; - width: 500px; - border-radius: 6px; - background-color: #6d6f78; - font-size: 18px; - font-weight: 700; - color: #F5F5F5; - text-align: center; - line-height: 35px; - box-shadow: 0px 2px 6px -1.4px rgba(0, 0, 0, 0.39), inset 0px 3px 6px -4px rgba(255, 255, 255, 0.644); - overflow: hidden; -} - -.MDT .big_con .wide_label::before{ - position: absolute; - content: ''; - top: 0%; - left: -50%; - height: 100%; - width: 100%; - filter: blur(1px); - background-image: linear-gradient(10deg, transparent 50%, rgba(255, 255, 255, 0.185)); - transform: skew(-35deg); - transition: all 0.2s ease; -} - -.MDT .big_con .description{ - position: absolute; - top: 75%; - left: 50%; - transform: translate(-50%, 0%); - height: 95px; - width: 500px; -} - -.MDT .big_con textarea{ - height: 95px; - width: 500px; - border-radius: 6px; - background-color: #55575e; - font-size: 16px; - font-weight: 400; - color: #D3D3D3; - resize: none; -} - -.MDT .big_con .bottom_btn_con{ - position: absolute; - bottom: 10px; - right: 10px; -} - -.MDT .big_con .create_incident{ - margin-right: 10px; - height: 34px; - border-radius: 6px; - background-color: var(--main_color); - color: white; - font-size: 21px; - font-weight: 700; -} - -.MDT .big_con .delete_incident{ - margin-right: 10px; - height: 34px; - border-radius: 6px; - background-color: rgb(236, 72, 72); - color: white; - font-size: 21px; - font-weight: 700; -} \ No newline at end of file diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/server/errors.lua b/resources/[Developer]/[Nordi]/brutal_policejob/server/errors.lua deleted file mode 100644 index 51132a62c..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/server/errors.lua and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/server/server.lua b/resources/[Developer]/[Nordi]/brutal_policejob/server/server.lua deleted file mode 100644 index bdd6bc768..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/server/server.lua and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/stream/clamp.ytyp b/resources/[Developer]/[Nordi]/brutal_policejob/stream/clamp.ytyp deleted file mode 100644 index 08eaecd70..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/stream/clamp.ytyp and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/stream/p_cs_cuffs_02_s.ydr b/resources/[Developer]/[Nordi]/brutal_policejob/stream/p_cs_cuffs_02_s.ydr deleted file mode 100644 index 05219a0dc..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/stream/p_cs_cuffs_02_s.ydr and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/stream/prop_clamp.ydr b/resources/[Developer]/[Nordi]/brutal_policejob/stream/prop_clamp.ydr deleted file mode 100644 index ca24ad4f8..000000000 Binary files a/resources/[Developer]/[Nordi]/brutal_policejob/stream/prop_clamp.ydr and /dev/null differ diff --git a/resources/[Developer]/[Nordi]/brutal_policejob/sv_utils.lua b/resources/[Developer]/[Nordi]/brutal_policejob/sv_utils.lua deleted file mode 100644 index be9d28b18..000000000 --- a/resources/[Developer]/[Nordi]/brutal_policejob/sv_utils.lua +++ /dev/null @@ -1,61 +0,0 @@ -local YourWebhook = 'WEBHOOK-HERE' -- help: https://docs.brutalscripts.com/site/others/discord-webhook - -function GetWebhook() - return YourWebhook -end - --- Buy here: (4€+VAT) https://store.brutalscripts.com -function notification(source, title, text, time, type) - if Config.BrutalNotify then - TriggerClientEvent('brutal_notify:SendAlert', source, title, text, time, type) - else - TriggerClientEvent('brutal_policejob:client:DefaultNotify', text) - end -end - -function ClearPlayerInventory(source) - if Config.Inventory:lower() == 'ox_inventory' then - exports.ox_inventory:ClearInventory(source) - elseif Config.Inventory:lower() == 'quasar_inventory' then - local saveItems = { - 'id_card', -- Add here the items that you do NOT want to be deleted - 'phone', - } - exports['qs-inventory']:ClearInventory(source, saveItems) - local weapons = exports['qs-inventory']:GetWeaponList() - for k,v in pairs(weapons) do - RemoveItem(source, v.name, 1) - end - elseif Config.Inventory:lower() == 'chezza_inventory' then - local ESX = Core - local xPlayer = ESX.GetPlayerFromId(source) - exports.inventory:clearInventory(xPlayer, true) - elseif Config.Inventory:lower() == 'codem_inventory' then - exports['codem-inventory']:ClearInventory(source) - elseif Config.Inventory:lower() == 'qb_inventory' then - exports['qb-inventory']:ClearInventory(source) - elseif Config.Inventory:lower() == 'origen_inventory' then - exports.origen_inventory:ClearInventory(source) - elseif Config.Inventory:lower() == 'ps-inventory' then - exports['ps-inventory']:ClearInventory(source) - elseif Config['Core']:upper() == 'ESX' then - local ESX = Core - local xPlayer = ESX.GetPlayerFromId(source) - for i=1, #xPlayer.inventory, 1 do - if xPlayer.inventory[i].count > 0 then - xPlayer.setInventoryItem(xPlayer.inventory[i].name, 0) - end - end - end -end - -function SocietyAddMoney(job, price) - if Config['Core']:upper() == 'ESX' then - local society = exports['esx_society']:GetSociety(job) - TriggerEvent('esx_addonaccount:getSharedAccount', society.account, function(account) - account.addMoney(price) - end) - else - exports['qb-management']:AddMoney(job, price) - end -end \ No newline at end of file diff --git a/resources/[cars]/[policecars]/k9suv2020/data/vehicles.meta b/resources/[cars]/[policecars]/k9suv2020/data/vehicles.meta index c2b53313c..827c24bf7 100644 --- a/resources/[cars]/[policecars]/k9suv2020/data/vehicles.meta +++ b/resources/[cars]/[policecars]/k9suv2020/data/vehicles.meta @@ -15,7 +15,7 @@ null null - POLICE + rebla LAYOUT_STD_EXITFIXUP POLICE3_COVER_OFFSET_INFO EXPLOSION_INFO_DEFAULT diff --git a/resources/[inventory]/cs_shops/config/config.lua b/resources/[inventory]/cs_shops/config/config.lua index 49b0fe054..9230691b7 100644 --- a/resources/[inventory]/cs_shops/config/config.lua +++ b/resources/[inventory]/cs_shops/config/config.lua @@ -1224,12 +1224,6 @@ CodeStudio.Products = { itemPrice = 0, itemInfo = "Submachine gun for rapid fire", }, - ['weapon_sniperrifle'] = { - itemName = "Sniper Rifle", - itemStock = 50, - itemPrice = 0, - itemInfo = "Sniper for Long Range", - }, ['weapon_appistol'] = { itemName = "Klog 19 A", itemStock = 50, diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/.fxap b/resources/[jobs]/[police]/gs_trackerdart/.fxap similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/.fxap rename to resources/[jobs]/[police]/gs_trackerdart/.fxap diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds.awc b/resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds.awc similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds.awc rename to resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds.awc diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds.awc.xml b/resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds.awc.xml similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds.awc.xml rename to resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds.awc.xml diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds/shoot01.wav b/resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds/shoot01.wav similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds/shoot01.wav rename to resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds/shoot01.wav diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds/shoot02.wav b/resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds/shoot02.wav similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds/shoot02.wav rename to resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds/shoot02.wav diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds/shoot03.wav b/resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds/shoot03.wav similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds/shoot03.wav rename to resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds/shoot03.wav diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds/shoot04.wav b/resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds/shoot04.wav similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds/shoot04.wav rename to resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds/shoot04.wav diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds/shoot05.wav b/resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds/shoot05.wav similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds/shoot05.wav rename to resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds/shoot05.wav diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds/shoot06.wav b/resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds/shoot06.wav similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/audiodirectory/custom_sounds/shoot06.wav rename to resources/[jobs]/[police]/gs_trackerdart/audiodirectory/custom_sounds/shoot06.wav diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/bridge/cl_bridge.lua b/resources/[jobs]/[police]/gs_trackerdart/bridge/cl_bridge.lua similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/bridge/cl_bridge.lua rename to resources/[jobs]/[police]/gs_trackerdart/bridge/cl_bridge.lua diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/bridge/sv_bridge.lua b/resources/[jobs]/[police]/gs_trackerdart/bridge/sv_bridge.lua similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/bridge/sv_bridge.lua rename to resources/[jobs]/[police]/gs_trackerdart/bridge/sv_bridge.lua diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/client/cl_functions.lua b/resources/[jobs]/[police]/gs_trackerdart/client/cl_functions.lua similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/client/cl_functions.lua rename to resources/[jobs]/[police]/gs_trackerdart/client/cl_functions.lua diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/client/cl_main.lua b/resources/[jobs]/[police]/gs_trackerdart/client/cl_main.lua similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/client/cl_main.lua rename to resources/[jobs]/[police]/gs_trackerdart/client/cl_main.lua diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/config.lua b/resources/[jobs]/[police]/gs_trackerdart/config.lua similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/config.lua rename to resources/[jobs]/[police]/gs_trackerdart/config.lua diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/data/audioexample_sounds.dat54.rel b/resources/[jobs]/[police]/gs_trackerdart/data/audioexample_sounds.dat54.rel similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/data/audioexample_sounds.dat54.rel rename to resources/[jobs]/[police]/gs_trackerdart/data/audioexample_sounds.dat54.rel diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/data/audioexample_sounds.dat54.rel.xml b/resources/[jobs]/[police]/gs_trackerdart/data/audioexample_sounds.dat54.rel.xml similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/data/audioexample_sounds.dat54.rel.xml rename to resources/[jobs]/[police]/gs_trackerdart/data/audioexample_sounds.dat54.rel.xml diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/fxmanifest.lua b/resources/[jobs]/[police]/gs_trackerdart/fxmanifest.lua similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/fxmanifest.lua rename to resources/[jobs]/[police]/gs_trackerdart/fxmanifest.lua diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/server/sv_main.lua b/resources/[jobs]/[police]/gs_trackerdart/server/sv_main.lua similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/server/sv_main.lua rename to resources/[jobs]/[police]/gs_trackerdart/server/sv_main.lua diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/stream/trackerdart.ydr b/resources/[jobs]/[police]/gs_trackerdart/stream/trackerdart.ydr similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/stream/trackerdart.ydr rename to resources/[jobs]/[police]/gs_trackerdart/stream/trackerdart.ydr diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/stream/trackerdart.ytyp b/resources/[jobs]/[police]/gs_trackerdart/stream/trackerdart.ytyp similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/stream/trackerdart.ytyp rename to resources/[jobs]/[police]/gs_trackerdart/stream/trackerdart.ytyp diff --git a/resources/[Developer]/[Anna]/gs_trackerdart/ui/index.html b/resources/[jobs]/[police]/gs_trackerdart/ui/index.html similarity index 100% rename from resources/[Developer]/[Anna]/gs_trackerdart/ui/index.html rename to resources/[jobs]/[police]/gs_trackerdart/ui/index.html diff --git a/resources/[phone]/roadphone/public/img/Apps/advertising.png b/resources/[phone]/roadphone/public/img/Apps/advertising.png index 1397d1a1c..d96f13490 100644 Binary files a/resources/[phone]/roadphone/public/img/Apps/advertising.png and b/resources/[phone]/roadphone/public/img/Apps/advertising.png differ diff --git a/resources/[phone]/roadphone/public/static/config/config.json b/resources/[phone]/roadphone/public/static/config/config.json index e93529ef2..3187604be 100644 --- a/resources/[phone]/roadphone/public/static/config/config.json +++ b/resources/[phone]/roadphone/public/static/config/config.json @@ -409,7 +409,7 @@ "disallowJobs": [] }, { - "name": "Kleinanzeigen", + "name": "StreetList", "icon": "/public/img/Apps/advertising.png", "default": true, "category": "apps", @@ -626,7 +626,7 @@ "redirect": "darkchat" }, { - "name": "Kleinanzeigen", + "name": "StreetList", "icon": "/public/img/Apps/advertising.png", "description": "Erstellen Sie Werbung", "stars": 4.7,