> filo_studios
Paid Resources🚓 filo_police

Configuration

Every config section explained.

Everything is in config.lua, with a comment on every option. Restart the resource after editing it.

config.lua and data/*.lua (the default points and the stock Mission Row station) stay unencrypted so you can edit them.

SectionWhat it covers
Config.generalDebug and whether actions need the player on duty
Config.autoDetectTreat qbx_core jobs of these types (default leo) as departments
Config.departmentDefaultsDefault plate prefix, board title, panic code and grades for every department
Config.departmentsPer-department overrides (police, bcso, sasp)
Config.adminAdmin group and creator command
Config.brandingServer name, logo, accent and background. Values left nil fall back to filo_ui
Config.menuPolice menu key (default F6)
Config.panicPanic button key, cooldown and blip time
Config.tackleKey, distance, cooldown, ragdoll time and whether sprinting is needed
Config.defaultStationsAdd the stock Mission Row station (mrpd)
Config.pointsDefault radius, ped model, locker and stash sizes
Config.garageStore distance and fuel level
Config.evidenceLocker slots, weight and highest number
Config.licensesDriver, weapon and ID licences and their cards
Config.mugshotCamera, distance, cooldown, headshot and screen uploads, CDNs
Config.objectsPlaceable objects, limits per officer and in total, grades, expiry
Config.clampClamp item and its offset on each wheel side
Config.masterKeyEnabled, duration and lowest grade
Config.towHitch search distance, rope length and height, stiffness, steering, snap distance (maxStretch) and allowed models
Config.impoundop-garages command, jobs and distance
Config.testsBreathalyser and drug test settings, and reading sources
Config.mdtMDT app id and whether to prefer sd-tablet
Config.societyWhere armory money goes, and which banking provider
Config.JailScript / Config.jailBuilt-in jail or another script, sentences, grades, confiscation and outfit

Mugshot uploads

OptionValues
headshot.sourcenative (the game's ped headshot), MugShotBase64, or another resource's export
headshot.uploadsd-phone, or a CDN name from cdns
screen.uploaddiscord, a CDN name, or false to skip

Test sources

Each entry in Config.tests.sources.drunk and .drugs is one of:

KeyMeaning
stateA player state bag key
metadataA qbx_core metadata key
export{ 'resource', 'serverExport' }, called with the player's source
scaleMultiplies a drunk value into 0-100 (for example 100 for a 0-1 value)
atFor drugs: a number at or over this is positive
labelDrug name shown
traceThe value is { label, at } and expires after traceWindow

On this page