Inventory items
The 38 ox_inventory items of Eleven Police on FiveM: the 11 tablet items, evidence, handcuffs, gear and scene props, plus the 6 that start off without a model.
How to paste them
The database sets itself up, but ox_inventory items live in your data/items.lua, where the resource cannot write. It is the only installation step you do yourself.
- Open
eleven-police/ox_inventory_items.lua(orox_inventory_items.es.lua, with Spanish labels). - Copy its contents inside the
return {}table ofox_inventory/data/items.lua. - Restart
ox_inventory.
If you already have an item with the same name, keep yours: all that matters is that the name exists and that client points to what the list says. The weights are a suggestion.
Warning
Do not remove consume = 0 from the items that have it (breathalyser, fingerprint kit, tickets, panic button). Without that line, ox_inventory uses them up on first use. Cones and other equipment are used up when placed, and come back when picked up.
If an item is missing, ox_inventory gives the same error as when it does not fit ("cannot carry"). police-doctor lists the missing ones, grouped by module. Images go in ox_inventory/web/images/ with the item's name; without an image, the item works the same.
Tablet (11)
The same 11 as the MDT: police_report, police_tablet, license_card, police_badge and the seven licences (license_car, license_bike, license_bus, license_boat, license_plane, license_hunt, license_fishing). See MDT items.
Evidence (4)
| Item | What it is | Module |
|---|---|---|
kit_huellas | Scans someone's fingerprints at close range. Not used up | Fingerprints |
resultado_huellas | Printed ticket with the result. Use it to read it | Fingerprints |
alcoholimetro | Measures breath alcohol at close range. Not used up | Breathalyser |
resultado_alcohol | Printed ticket with the test result. Use it to read it | Breathalyser |
Arrests (1)
| Item | What it is | Module |
|---|---|---|
handcuffs | Handcuffs. Used up when cuffing and given back when uncuffing. You can cuff without an item with Interaction.CuffItem = false | Arrests |
Equipment (3)
| Item | What it is | Module |
|---|---|---|
botonpanico | Civilian panic button: alerts on-duty police and shows where you are. Not used up | Panic button |
gpsportatil | Tracker to stick on a vehicle: police see it on the map for 10 minutes. Used up | GPS tracker |
armero_pistolas | Locker to place at the station. Given back when removed | Locker |
Scene equipment
19 active items, all with the same export (eleven-police.useSceneProp). Each one's 3D model comes from Config.SceneProps.
| Item | Label |
|---|---|
cono, cono2 | Traffic cone, Traffic cone 2 |
cono_luminoso | Lit traffic cone |
cono_azul, cono_rojo | Blue cone, Red cone |
vallas, valla_trafico | Fences, Traffic fence |
barrera_trafico, barrera_obras, barrera_luminosa, barrera_calle | Traffic, roadworks, lit and road-closed barriers |
trafficdiv | Traffic divider |
senal_obras_40, senal_operario_40, senal_limite_40 | Speed limit 40 signs |
pinochos | Spike strip |
toldo | Canopy |
pancarta_escena_custom | Scene banner |
marcador_pruebas_1 | Evidence marker 1 |
The six that start off
cono_azul_luminoso, cono_rojo_luminoso and marcador_pruebas_2 to marcador_pruebas_5 have no GTA prop of their own. They are commented out at the end of ox_inventory_items.lua and are not sold in the shop. To turn them on:
- Give them a model in
Config.SceneProps(the BzZz ones or any pack). See General configuration. - Uncomment them in the items file and paste them into
ox_inventory.
Station shop
The tablet shop also sells the street equipment. Each article goes with its module's flag, and with the module off it is not sold, does not show in "Manage catalog" and cannot be ordered:
| Articles | Flag |
|---|---|
| Scene equipment (cones, fences, barriers, signs, spike strips, canopy, banner, markers) | itemsPolicia |
alcoholimetro | alcoholemia |
kit_huellas | huellas |
handcuffs | interacciones |
botonpanico | panicoCivil |
gpsportatil | rastreadores |
armero_pistolas | armeroPistolas |
The six items without a model are not sold until they have one. Weapons, ammo, body armour, the tablet and the fire extinguisher do not depend on any flag. The stock catalogue has no taser.
Article names come from locales/ (shop_item_<item> keys) in the Config.Locale language. If an article in Config.Shop.Items has its own label (a text, or a { en = ..., es = ... } table), yours wins. The shop is changed with Config.Overrides, like the rest of Config.Shop. Its NPC stands by default at the station in the centre of the base map: move it to yours with Config.Overrides = { ['Config.Shop.Npc'] = { coords = { vec4(...) } } }. See Department.
No longer used
If you are coming from 3.1: ballistic_shield, flashbang, cinta_policial, grilletes and the WEAPON_FLASHBANG and WEAPON_TEARGAS* weapons are no longer used by Eleven Police (they move to the Tactical and Forensics packs, or are gone). Keep them or remove them.