v1.15.0
MinorLatestAdded
- A ped can stand at a garage. In
/police admin→ Fleet → Garages, type a ped's spawn name (for examples_m_y_cop_01) in Ped model, press Save, then press Place Ped and put it where it should stand and face. Officers aim at the ped instead of the invisible zone to take out or return a vehicle. The ped can't be hurt and comes back within a few seconds if it is killed or deleted. A player whose game doesn't have that ped gets the zone instead. Clear Ped model and save to go back to the zone. - Fleet categories. Give a fleet entry a Category (K9, Patrol, SWAT or any name you like) in
/police admin→ Fleet → Vehicles. That screen and the garage menu officers use in game list vehicles under their categories in alphabetical order, with the rest under Other. Click a heading on the Vehicles screen to fold it away. Every unit of an entry shares its category, units added later get it, and copies keep it. - Cuffs can need a handcuffs item. New settings in
/police settings→ Field Actions → Cuffs: Cuffs require an item (off by default) and Cuffs item (handcuffsby default). When it is on:- An officer without the item can't cuff anyone. Cuffing uses one.
- The officer who uncuffs the suspect gets it back. The officer who books the suspect gets it on booking.
- If the suspect leaves the server while cuffed, or an ambulance script frees them on revive, it goes back to the officer who cuffed them.
- Cuffs a suspect breaks out of or picks with a lockpick are lost.
items/handcuffs.pngand ahandcuffsentry initems/ox_inventory_items.lua.
Fixed
- A suspect who logged out while cuffed and came back could not be uncuffed, searched, escorted, put in a vehicle or booked by any officer, and could not try to escape. All of these work again.
- Restarting
oxide-policeno longer leaves the commissary NPC behind as a person walking around, and police props and placement previews in the world are removed with it. /police settingsnow says why a setting could not be saved, for example that settings are still loading or that the database write failed, instead of "value rejected". A failed Reset to default now shows an error instead of nothing.
When you update
- Run
sql/migrations/010_garage_ped_model.sqland thensql/migrations/011_fleet_vehicle_category.sqlon existing servers before starting this version. Until011is run, adding, buying, editing, copying and replacing fleet vehicles fails. Fresh installs need nothing. Existing garages keep their zones, and existing vehicles have no category, so they are listed under Other. - To use Cuffs require an item, register
handcuffsin your inventory first. QBCore and Qbox usually have it already. On ESX, copy it fromitems/ox_inventory_items.lua. Seedocs/INSTALLATION.md, step 5. - Restart the whole server after updating; new files are added.