> filo_studios
Paid Resources🚓 filo_police

Features

Points, departments, evidence, mugshots, objects, clamps, tests, jail and more.

Officers open the police menu with F6 (Config.menu.key).

Points

Built in /policecreator and stored in filo_police_points. Every type except duty and blips needs the player on duty.

TypeDoes
DutyClock in and out (qbx_core duty)
GarageVehicle list per grade (model, label, grade per line), a placed spawn, and storing vehicles near any garage of your job
Wardrobeillenium-appearance department outfits and your own outfits
Personal lockerA stash per character
Job stashA shared stash
ArmoryAn ox_inventory shop (item, price, grade per line, price 0 is free)
Evidence lockerAsks for a number and opens evidence_<job>_<number>, the same locker at every station of that department
MugshotWhere suspects stand for a mugshot
Boss menuqbx_management
BlipMap blip, for everyone or only the jobs

Departments

A job is a department when qbx_core has it registered and it's in Config.departments (LSPD, BCSO and SASP are set up) or its job type is in Config.autoDetect.types (leo by default).

Each department has its own points, evidence lockers and settings: garage plate prefix, mugshot board title, panic 10-code, and the lowest grades for mugshots, taking from evidence and giving or revoking each licence. Settings start from Config.departmentDefaults plus the department's own entry. Admins change them in /policecreator > Departments, and a department boss can change the grades from F6 > Department settings.

Evidence

Anyone with access to an evidence locker point can open a locker and put items in. Taking items out needs the department's evidence grade.

Licences

Target a player > Licences to give or revoke a driver licence, weapon licence or ID card (Config.licenses). Licences are stored in qbx_core's metadata.licences, which is what the MDT shows. The card is issued through qbx_idcard, and revoking takes it away.

Mugshots

Place a Mugshot point where the suspect stands, and give it a camera: spawn a prop (default prop_tv_cam_02) or pick an object already in the map. Officers use Take mugshot on the camera. The suspect is lined up holding a board with their name, citizen ID and date. Cuffs come off for the line-up and go back on afterwards (Config.mugshot.uncuff).

  • Headshot (MDT): the suspect's ped portrait, uploaded for a lasting link (headshot.upload: sd-phone or a CDN), set as their MDT photo and kept in filo_police_mugshots.
  • Officer's view: captured from the camera's lens with screencapture. It goes to the Discord webhook (screen.upload = 'discord') or a CDN, never to the MDT.

Both are posted in one Discord message on the filo_police_mugshot_webhook webhook. CDNs are set in Config.mugshot.cdns: qbox, fivemanage and custom (any endpoint that takes a multipart upload and returns JSON with the URL).

Police objects

F6 > Place object > a category (barriers, cones, lights, scene) > an item. Scroll or the arrow keys rotate, E places and X cancels. Objects are saved in filo_police_objects and stay until picked up (target > Pick up) or until they expire (expireHours, 72 by default). /policeclearobjects (admin) removes them all.

Wheel clamps

Use the wheelclamp item next to a wheel, or the vehicle target option. The driver can't pull away until police remove it. Clamps are stored by plate in filo_police_clamps, so storing the vehicle, deleting it or restarting doesn't remove one. It goes back on as soon as a vehicle with that plate spawns.

Breathalyser and drug test

Player target > Breathalyser test / Drug test, or use the item on the closest player.

  • Breathalyser (reusable): the suspect chooses to blow or refuse. Blowing is a minigame: hold the key to keep the meter in the green zone. The officer gets the BAC and whether it's over the limit, a refusal, or an insufficient sample.
  • Drug test (one swab per test): shows THC when filo_consumables' high level is 10 or more, and the last filo_drugscreator drug taken within traceWindow.

Readings come from Config.tests.sources, so other drink and drug scripts can be added. See Exports.

Jail

With Config.JailScript = 'builtin', filo_police runs the prison: sentences, spawn points, jail jobs, canteen, time checker, solitary, breakout alerts, community service and confiscated property. The layout is made in game with /jailcreator and the MDT books into it.

  • Sentences are in minutes and only count down while the inmate is online.
  • Items in Config.jail.confiscate are taken at booking and returned on release.
  • A prison outfit is put on at booking and removed on release.

Set Config.JailScript = false to use another prison script.

Other tools

ToolWhereWhat it does
Panic buttonF6, or bind it in FiveM key bindingsPriority 1 MDT call and a flashing blip for every on-duty officer
TackleG while sprintingKnocks a nearby player down
Master keyF6Lock, unlock and start any vehicle for 15 minutes
HitchF6Tow the empty vehicle behind your police car on a rope, out of traffic. The rope snaps if it stretches too far
ImpoundVehicle targetOpens op-garages' impound menu

Carry, escort, cuffs, rope, lockpicking cuffs and the job GPS come from filo_joblib.

On this page