Inventory
Requires properly setup config for inventory from Installation!
There are two ways of setuping inventory items. You can use integrated Asset Deployer that edit proper server files automatically after executing command or you can do all necessary edits Manually.
Asset Deployer
Available deploys:
Resource: ox_inventory
items
items-images
Resource: qs-inventory
items
items-images
Resource: qb-inventory
items
items-images
Resource: aj-inventory
items
items-images
Resource: lj-inventory
items
items-images
Resource: ps-inventory
items
items-images
Resource: mf-inventory
items
Resource: es_extended
items
Running deploy
Execute command policesetup deploy-resource name
in server console, where deploy-resource
is needed and represents resource from Available Deploys and name
is optional (if it's not filled, all deploys for resource will be deployed)_ and represents specific deploy for resource.
How to use our deployer system (automatic installation): Deployer!
Manually
ox_inventory
Open
ox_inventory/data/items.lua
file.Add these items:
['megaphone'] = {
label = 'Megaphone',
weight = 100,
stack = true,
close = true,
consume = 0,
},
['barrier'] = {
label = 'Barricade',
weight = 100,
stack = true,
close = true,
consume = 0,
},
['handcuffs'] = {
label = 'Handcuffs',
weight = 100,
stack = true,
close = true,
consume = 0,
},
['handcuffs_key'] = {
label = 'Keys',
weight = 100,
stack = true,
close = true,
consume = 0,
},
['spikes'] = {
label = 'Spikes',
weight = 100,
stack = true,
close = true,
consume = 0,
},
['speed_camera'] = {
label = 'Speed camera',
weight = 100,
stack = true,
close = true,
consume = 0,
},
['zipties'] = {
label = 'Zip ties',
weight = 100,
stack = true,
close = true,
consume = 0,
},
['paper_bag'] = {
label = 'Paper Bag',
weight = 100,
stack = true,
close = true,
consume = 0,
},
['panic_button'] = {
label = 'Panic Button',
weight = 100,
stack = true,
close = true,
consume = 0,
},
['zipties_cutter'] = {
label = 'Zipties cutter',
weight = 100,
stack = true,
close = true,
consume = 0,
},
['bodycam'] = {
label = 'Bodycam',
weight = 100,
stack = true,
close = true,
consume = 0,
},
['bodycam_tablet'] = {
label = 'Bodycam tablet',
weight = 100,
stack = true,
close = true,
consume = 0,
},
Copy images from
rcore_police/assets/inventoryImages/
toox_inventory/web/images/
.Restart your server. Server need to be restarted for proper registration of usable items!
tgiann_inventory
megaphone = {
description = "A loud device used to amplify your voice during operations or events.",
image = "megaphone.png",
label = "Megaphone",
name = "megaphone",
shouldClose = true,
type = "item",
unique = false,
useable = true,
weight = 100,
},
barrier = {
description = "A portable barricade used to block paths or secure areas.",
image = "barrier.png",
label = "Barricade",
name = "barrier",
shouldClose = true,
type = "item",
unique = false,
useable = true,
weight = 100,
},
handcuffs = {
description = "Standard issue handcuffs for restraining individuals.",
image = "handcuffs.png",
label = "Handcuffs",
name = "handcuffs",
shouldClose = true,
type = "item",
unique = false,
useable = true,
weight = 100,
},
handcuffs_key = {
description = "Key used to unlock standard handcuffs.",
image = "handcuffs_key.png",
label = "Keys",
name = "handcuffs_key",
shouldClose = true,
type = "item",
unique = false,
useable = true,
weight = 100,
},
spikes = {
description = "Spikes used to disable vehicle tires, useful in high-speed chases.",
image = "spikes.png",
label = "Spikes",
name = "spikes",
shouldClose = true,
type = "item",
unique = false,
useable = true,
weight = 100,
},
speed_camera = {
description = "A portable speed camera used to monitor and catch speeding vehicles.",
image = "speed_camera.png",
label = "Speed camera",
name = "speed_camera",
shouldClose = true,
type = "item",
unique = false,
useable = true,
weight = 100,
},
zipties = {
description = "Strong plastic restraints used as an alternative to handcuffs.",
image = "zipties.png",
label = "Zip ties",
name = "zipties",
shouldClose = true,
type = "item",
unique = false,
useable = true,
weight = 100,
},
paper_bag = {
description = "A simple paper bag... perfect for some funny roleplay moments.",
image = "paper_bag.png",
label = "Paper Bag",
name = "paper_bag",
shouldClose = true,
type = "item",
unique = false,
useable = true,
weight = 100,
},
panic_button = {
description = "A button that sends an emergency alert when pressed.",
image = "panic_button.png",
label = "Panic Button",
name = "panic_button",
shouldClose = true,
type = "item",
unique = false,
useable = true,
weight = 100,
},
zipties_cutter = {
description = "A sharp tool to cut zip ties easily and safely.",
image = "zipties_cutter.png",
label = "Zipties cutter",
name = "zipties_cutter",
shouldClose = true,
type = "item",
unique = false,
useable = true,
weight = 100,
},
bodycam = {
description = "A wearable body camera to record interactions and ensure transparency.",
image = "bodycam.png",
label = "Bodycam",
name = "bodycam",
shouldClose = true,
type = "item",
unique = false,
useable = true,
weight = 100,
},
bodycam_tablet = {
description = "Tablet used to view and manage bodycam footage.",
image = "bodycam_tablet.png",
label = "Bodycam tablet",
name = "bodycam_tablet",
shouldClose = true,
type = "item",
unique = false,
useable = true,
weight = 100,
},
qb-inventory / qs-inventory / aj-inventory / lj-inventory / ps-inventory
Open
qb-core/shared/items.lua
/qs-inventory/shared/items.lua
file.Add these items:
speed_camera = { name = 'speed_camera', label = 'Speed camera', weight = 100, type = 'item', image = 'speed_camera.png', unique = false, useable = true, shouldClose = true, description = '' },
bodycam = { name = 'bodycam', label = 'Bodycam', weight = 100, type = 'item', image = 'bodycam.png', unique = false, useable = true, shouldClose = true, description = '' },
bodycam_tablet = { name = 'bodycam_tablet', label = 'Bodycam tablet', weight = 100, type = 'item', image = 'bodycam_tablet.png', unique = false, useable = true, shouldClose = true, description = '' },
panic_button = { name = 'panic_button', label = 'Panic Button', weight = 100, type = 'item', image = 'panic_button.png', unique = false, useable = true, shouldClose = true, description = '' },
megaphone = { name = 'megaphone', label = 'Megaphone', weight = 100, type = 'item', image = 'megaphone.png', unique = false, useable = true, shouldClose = true, description = '' },
paper_bag = { name = 'paper_bag', label = 'Paper Bag', weight = 100, type = 'item', image = 'paper_bag.png', unique = false, useable = true, shouldClose = true, description = '' },
zipties = { name = 'zipties', label = 'Zip ties', weight = 100, type = 'item', image = 'zipties.png', unique = false, useable = true, shouldClose = true, description = '' },
spikes = { name = 'spikes', label = 'Spikes', weight = 100, type = 'item', image = 'spikes.png', unique = false, useable = true, shouldClose = true, description = '' },
handcuffs_key = { name = 'handcuffs_key', label = 'Handcuffs Key', weight = 100, type = 'item', image = 'handcuffs_key.png', unique = false, useable = true, shouldClose = true, description = '' },
handcuffs = { name = 'handcuffs', label = 'Handcuffs', weight = 100, type = 'item', image = 'handcuffs.png', unique = false, useable = true, shouldClose = true, description = '' },
barrier = { name = 'barrier', label = 'Barrier', weight = 100, type = 'item', image = 'barrier.png', unique = false, useable = true, shouldClose = true, description = '' },
zipties_cutter = { name = 'zipties_cutter', label = 'Zipties cutter', weight = 100, type = 'item', image = 'zipties_cutter.png', unique = false, useable = true, shouldClose = true,description = '' },
Copy images from
rcore_police/assets/InventoryImages/
toqb-inventory/html/images/
/qs-inventory/html/images/
.Restart your server. Server need to be restarted for proper registration of usable items!
mf-inventory
Use asset deployer command, that insert SQL items to database -
policesetup mf-inventory items
.
es_extended (default esx inventory)
Use asset deployer command, that insert SQL items to database -
policesetup es_extended items
.
Last updated
Was this helpful?