Config.Framework ="auto" -- The name of the framework: auto | esx | qbcore | ...Config.MySQLSystem ="oxmysql" -- icmysql, oxmysqlConfig.DatabaseStructureCheck = true -- If you want the script to check the tables structure to check if you're missing some columns
Config.CustomNotify = false -- If you want to use your own notify system set this to true and edit the code in origen_police/custom/client/client.lua
Config.Language = "en" -- The language of the script, if you want to add your own language go to config/translations.lua and add a new table for your language
Config.autoSetItems =false-- To add items automaticly via exports ['qb-core']:AddItemsConfig.VoiceSystem ="pma-voice" -- pma-voice, right now the only voice system supported is pma-voiceConfig.fixQS =false-- false to use the framework metadata system only availabel for ESX Config.Inventory ="origen_inventory" -- origen_inventory | qb-inventory | qs-inventory | ox_inventory | ls-inventoryConfig.OxLibMenu =false-- Use ox_lib context menuConfig.RecieveAlwaysAlerts = true -- if it is false that checks if there's players inside dispatch tablet and will recieve the alerts to manage and redirect to specific patrols, if it set to true all players on duty will recieve the alerts
Config.Debug = true -- Enable or disable debug mode, this include the prints that you are going to see in F8 and Server Consolle
Config.PoliceJobName = "police" -- You can change this to your police job name, some people use lspd, sheriff as job name
Config.Clothing ="illenium-appearance" -- illenium-appearance, qb-clothing, fivem-appearanceConfig.Phone ="default" -- default, qs-smartphone, qs-smartphone-pro, lb-phoneConfig.NeedRadioForDispatch = true -- True: only players with radio will have access to dispatch, False: all players will have access to dispatch
Config.EvidenceDrawDistance =20.0-- The distance that the evidence will be drawnConfig.ShootAlert =true-- Enable shoot alertConfig.PoliceBadgeLength =4-- We recommend 3 or 4, more or less will break the badgeConfig.BillSocietyTarget ="society_police" -- The society that will recieve the billsConfig.ConfiscateSystem =true-- To enable or disable the confiscate systemConfig.AutoSetCriminalClothe =true-- To enable or disable the auto set criminal clothes when player is in jailConfig.DisplayPlateOnVehicleAlerts =true-- To enable or disable the display of the plate in the vehicle alertsConfig.ShowCurrentStreet =true-- Show at the top of the screen the current street that the police is inConfig.ChangeMinimapSize =true-- Allows resizing of the minimap Config.CheckVersions =true-- Check if there's a new version of the script
In each configuration we explain what it is for, we want to highlight the Config.Clothing that has to be configured with your clothing script, otherwise systems like the federal one will stop working, if you want to use a custom clothing script you can do it modify the functions called OpenClothing and SetCriminalClothes in custom/client/client.lua.
The fixQS configuration is a temporary system that uses an external table to save the player's metadata, in this case we use it to save the license plate number, the bindings, if it is in the federal one, etc. We have called it fixQS because all the users who have had problems with the metadata have been using QS scripts, it is important to say that QS is not at fault and this is a temporary system while a functional option is found to reuse the system ESX/QB metadata.
The PoliceJobName is the default name that the police job will receive, this name is not definitive, it is simply a kind of reference for the script for some specific cases such as the radio system so that everyone shares all the frequencies, in the config/permissions.lua more police jobs can be added.