Troubleshooting
Fixes for common Eleven Police errors on FiveM: entitlement, dependencies, assets not started, no Take mugshot option, cuffing, locker, radar and helicopter.
First: police-doctor
If you have just installed it, go over the installation guide first. Then type this in the server console:
police-doctor
It tells you what it detected and what is missing, with a Street packages section for the street modules. If you open a ticket, paste it: it is the first thing we will ask for.
Tablet problems (Keymaster, the tablet will not open, hidden sections, collations, radio, fines, photos) are in MDT troubleshooting.
"You lack the required entitlement to use eleven-police"
The server is not entitled to run the protected resource: the server key is not from the same Cfx.re account that bought Eleven Police, you have not restarted since the purchase, or the artifact is older than 5181. See Install with Keymaster.
"Could not find dependency ox_inventory for resource eleven-police"
A required resource is missing, or it starts after eleven-police. The message names which one: oxmysql, ox_lib, ox_target, ox_inventory or screenshot-basic. Install it and put it before ensure eleven-police in server.cfg. ox_inventory is required in Eleven Police (not in the standalone MDT): the street modules are items. See Installation.
I have both Eleven Police and Eleven Police MDT
You do not install both: both are a resource called eleven-police and Eleven Police already includes the whole MDT. Keep only the Eleven Police folder (with your config.lua). See Updating.
"eleven-police-assets is not started"
ensure eleven-police-assets is missing from server.cfg, or it comes after ensure eleven-police. Without it, front cuffing uses the GTA animation and the locker turns off. Put it first and restart the server (do not restart eleven-police-assets with players online).
An item says "cannot carry"
It is almost always an item that is not registered: ox_inventory gives the same error when an item does not exist as when it does not fit. Paste ox_inventory_items.lua into your ox_inventory/data/items.lua and restart. police-doctor lists the missing ones per module. See Inventory items.
The breathalyser or fingerprint kit disappears when used
Your item is missing consume = 0. Copy it from ox_inventory_items.lua.
The breathalyser or fingerprint kit says "There is nobody close enough"
- The subject must be within
SEARCH_RADIUS(2.2 m) of the officer; the server allows 2 m of extra margin. - Both must be in the same routing bucket (not from another instance, an instanced interior or a mugshot session).
- The officer must be on duty and carry the
alcoholimetroorkit_huellas. See Evidence.
"Take mugshot" does not show up
Config.MugshotPointsships empty: add your point. See General configuration.- The officer must be on duty and have a job in
Config.PoliceJobNames. - If the point is written wrong, the console says so on start.
The mugshot does not start or is not saved
- "The detainee has to be next to you": bring them to the point. They must be within 5 m of the officer and in the same routing bucket.
- The photo is taken with left click inside the session; right click only exits.
- "The photo could not be taken or uploaded":
screenshot-basicis missing, or there is no photo storage (theeleven_police_fivemanage_keykey withset, orConfig.FotosAlmacen). Checkpolice-doctor. - "Photo saved to the gallery (the record could not be updated)": the detainee's file is locked with a password and you have not unlocked it, or the character has no file.
The cuffing options do not show up
- The officer must be on duty.
- The
handcuffsitem is needed. To cuff without an item:Config.Overrides = { ['Interaction.CuffItem'] = false }. - Check that
interaccionesis not turned off inConfig.FeatureFlags. - A suspect in a moving vehicle cannot be cuffed.
I cannot put the suspect in the vehicle
The vehicle must be stopped and close, the suspect cuffed, and there must be a free rear seat. A two-seater will not work unless you add the front passenger seat: ['Interaction.PreferSeats'] = { 1, 2, 0 }.
The lockpick alert does not arrive
It is not automatic: your keys or lockpick resource has to fire the eleven_police:police:server:intentoForzarVehiculo event. See Arrests. It also needs forzarPuertas and dispatch turned on.
The lit blue cones or markers 2 to 5 do not show up
They ship off because they have no GTA prop of their own. Give them a model in Config.SceneProps (for example the BzZz ones) and register them in ox_inventory. See Inventory items.
The BzZz props do not show, or the resource will not start
- Check that the BzZz resource is started and that you uncommented
Config.SceneProps/Config.RadarProps. - Do not add them to
dependencies{}: if their licence does not validate, they do not start and they take Eleven Police down with them.
The locker does nothing
- Without
eleven-police-assetsstarted, the locker turns itself off. - It cannot be removed with pistols inside without the
eleven_police.armerosACE. - The cap is 40 lockers on the server (
Config.Armero.Maximo).
I change Config.Armero (or Config.Shop) and nothing happens
Those files load after your config.lua and overwrite it. Use Config.Overrides, for example ['Config.Armero.Maximo'] = 20. See General configuration.
The armory perimeter does not alert
- It ships off: turn on
armeriaPerimetroand setConfig.ArmeriaPerimetro.Center. Without a centre, it warns in the console and does nothing. - It only watches off-duty officers carrying station shop weapons.
- Grades with the
warehouse.armory_exemptpermission are exempt (by default, command grades). - If you wrote
ExemptPermissionin yourConfig.ArmeriaPerimetro(or set it tofalse), your value replaces the default{ 'warehouse', 'armory_exempt' }and the permission exemption may stop working. Remove it to go back to the default. See Scene and station.
The hand-held radar does not open
- You must be on duty and in a GTA emergency vehicle (class 18). For pack vehicles of another class, add them to
RadarConfig.RadarVehicles. - The officer may have turned off auto-open in
/radar-editor.
A speed camera does not fine
- It is off or broken (after sabotage it cannot be repaired for 45 minutes).
- The driver is on-duty police or has a job in
Config.Radars.ExemptJobs. - The vehicle has no owner: it is not fined.
- No billing or money system detected: check
Config.InvoiceType/Config.MoneyTypeinpolice-doctor.
Ambulances get speed camera fines
You wrote ExemptJobs in your Config.Radars without ambulance. That key is a map and is replaced as a whole: add ambulance = true to your list, or remove ExemptJobs to go back to the default. See General configuration.
The helicopter camera does not open, there is no thermal vision or no file lookups
- The helicopter must be in
HeliCamConfig.AllowedHelis(by defaultpolmav,annihilator,annihilator2,buzzard2). - You must be on duty: police always, and other jobs only if they are in
HeliCamConfig.AllowedJobs. - The police always have thermal vision; any other job only if it is in
HeliCamConfig.ThermalJobs. - The file, debts, wanted status and a plate's owner are for police only: an EMS crew member with the camera does not see them.
The helicopter does not burn fuel or does not refuel
The module writes the level to the engine and to the fuel statebag, the ox_fuel one. If your fuel system stores the level somewhere else, turn heliCombustible off.
/trafico does not exist
The trafico flag is off, or your officer does not have the job (TraficoConfig.Job), the grade (TraficoConfig.MinGrade) or is not on duty.