587 lines
		
	
	
	
		
			32 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			587 lines
		
	
	
	
		
			32 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
| ----------------------------------------------------------------------------------------------
 | |
| -----------------------------------| 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: <b>ON", 5000, "info"},
 | |
|         [4] = {"POLICE JOB", "Duty status: <b>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", "<br>You spent:<b>", 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", "<b>You have started Work!</b> 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 <br>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, 
 | |
|         }
 | |
|     }
 | |
| } --
 | 
