You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Framework support for Qbox, QBCore, ESX Legacy, ox_core and ND_Core. config/framework.json maps framework jobs to departments and agencies, and job grades to ranks. With a framework, the character's job decides who can go on duty and at what rank, players show by their character's name, and duty stays in step with Qbox and QBCore. Framework characters get FivePRS records, so citations, warrants, licenses and the MDT work with them, their owned vehicles are found by plate, and citation fines come out of the character's bank. Spawning and clothing are left to the framework. FivePRS still runs standalone when no framework is found
xpEnabled in config/settings.json turns XP off, so ranks are only set by admins. The terminal hides XP when it's off
Patrol car radar with front and rear antennas that read same-direction or oncoming traffic, separate front (J) and rear (U) locks, closing and away indicators, an error reading while turning or airborne, a doppler tone and beeps, and a digital display. The operator menu (F9) sets each antenna, a fast limit with optional auto-lock, volumes, and the display's size and position, and remembers them. A plate reader checks the vehicles in front and behind against records and flags stolen vehicles, wanted owners, suspended licenses and unregistered plates, shows plates in their in-game style, can be locked (O), and alerts on plates in each officer's watch list. Officers riding as passengers see the driver's radar and can lock it. A handheld lidar gun measures speed and distance on foot, with its own reticle when aiming; radar.lidarWeapon sets the weapon it uses. Every radar lock and lidar reading is kept for 30 days as a speed clock in Records › Speed, where an officer can run the plate or start a citation pre-filled with the clock. Settings are under radar in config/settings.json
As I am in the Duty app starts your shift with your current look and no vehicle. It's the default, and the Duty app remembers the start you used last
Rename the police, EMS and fire departments and give them your own icons in the new config/departments/<department>/department.json, which FivePRS creates on start. The names show everywhere players see a department
Agencies can have their own icon, shown in the Duty app and Dispatch in place of the department's
Book suspect in the station menu at the duty point ends custody once you've brought your suspect in. Press H on foot beside your vehicle to take a suspect back out first. Resources can listen for FivePRS:Local:SuspectBooked
Callout helpers WaitForArrivalAsync, WaitUntilWitnessedAsync and CanSee, with the standard SpawnDistance, SightDistance and CloseDistance
Changed
jurisdictions.json is checked one entry at a time. A territory or agency with a mistake is skipped with a console warning that says what's wrong, and the rest of the file loads, instead of the whole file falling back to the defaults. Agencies can be added with any id and name
Department names in config files are no longer case-sensitive, and a department's display name works too, so "department": "carabinieri" is accepted once police is renamed to Carabinieri
A framework job mapped to an agency no longer needs a department; it comes from the agency
fprs_setdept accepts a department's display name as well as police, ems or fire
Callouts set up their scene when you're about 150 m away, and start the action (a fight, a getaway or a pursuit) once you can see it or are within 15 m
Fixed
Shoplifting no longer ends as soon as it's accepted when the store is more than 300 m away. The suspect waits near the store and runs once you find them. Thanks to phoenixpinpoint for the first fix (#11)
Vehicle Pursuit no longer starts the chase before you're near. You're sent to where the stolen car was last seen; it drives normally until you're close, then flees
Domestic Disturbance no longer ends early because the people at the scene spawned far away and fell through the map, and the fight no longer finishes before you arrive. Verbal arguments stay verbal
Arrested suspects no longer get stuck in a loop between the cuffed pose and following you. They walk with you while cuffed
Pulled-over vehicles no longer drive off in a loop to a point on another road before stopping. They pull to the side of their own road, or stop where they are
Starting a shift at a Station now gives you your uniform, loadout and a vehicle parked outside, as the Duty app says. Before, it only teleported you there