Jail cells and vehicle impound
Jail cells and vehicle impound in Eleven Police MDT for FiveM: stations and cells with coordinates, automatic release, impounding and the garage that stores it.
Before the cell
The tablet has no handcuff or frisk system: your server provides that. The tablet comes in when the arrest has to be recorded: jailing, impounding the vehicle, booking or fining.
Cells
Config.PoliceStations defines the stations and, inside each one, its cells with coordinates and its release point. By default it has Mission Row from the base map with six cells, as an example that works out of the box. Copy the key to your config.lua and set your own coordinates. Each cell id must be unique.
Config.PoliceStations = {
{
id = 'mission_row',
label = 'Mission Row',
cells = {
{ id = 1, label = 'Cell 1', x = 462.2496, y = -993.6190, z = 29.1277 },
-- …
},
releasePoint = { x = 490.7775, y = -1009.7330, z = 27.9378 },
},
}

| What | How |
|---|---|
| Jail someone | Permission cells.jail |
| See the inmate list | Permission cells.view |
| Release early | Permission cells.release, command-only by default |
| Automatic release when served | Config.AutoReleaseFromCell = true |
| How often cells are checked | Config.CellCheckInterval (45000 ms) |
Prison months on a fine do not jail anyone by themselves: putting someone in a cell is the officer's decision.
Vehicle impound
Impounding a vehicle sends it to the depot. Who stores it depends on your garage system: Config.DepotType = 'auto' tries eleven-garages, jg-advancedgarages and the Qbox schema, and prints which one it picked. See External systems.

| What | How |
|---|---|
| See the depot | depot.view |
| Impound | depot.impound |
| Release from the tablet | depot.release |
| The owner can collect it by paying | Config.UserCanWithdrawFromDepot = true |
| Depot list | Config.ImpoundLocations (only if your garage system does not provide its own) |
Warning
The id of each depot in Config.ImpoundLocations must exist in your garage system: it is what gets written to player_vehicles.garage. With a made-up id, the car is impounded somewhere nobody can see.