Items
How to Configure Cinema Items in Your Inventory System
For the items to function correctly, you need to add them to your server's inventory system.
The example provided is for qb-core, and you should place the items inside:
resources/[qb]/qb-core/shared/items.luaIf you're using another inventory system (e.g.,
ox_inventory,core_inventory, etc.), you’ll need to configure the items according to that system’s documentation.
🧊 Item Example (for qb-core):
ticket_cinema = {
name = 'ticket_cinema',
label = 'Ticket Cinema',
weight = 0,
type = 'item',
image = 'ticket_iceorink.png',
unique = true,
useable = false,
shouldClose = false,
description = 'Ticket to access the cinema'
},
popcorn = {
name = 'popcorn',
label = 'Popcorn',
weight = 0.15,
type = 'item',
image = 'popcorn.png',
unique = false,
useable = true,
shouldClose = false,
description = 'Popcorn'
},
cola = {
name = 'cola',
label = 'Cola',
weight = 0.15,
type = 'item',
image = 'cola.png',
unique = false,
useable = true,
shouldClose = false,
description = 'Cola'
},
claw_01 = {
name = 'claw_01',
label = 'Claw 01',
weight = 0.15,
type = 'item',
image = 'claw_01.png',
unique = false,
useable = true,
shouldClose = false,
description = 'a fun toy'
},
claw_02 = {
name = 'claw_02',
label = 'Claw 02',
weight = 0.15,
type = 'item',
image = 'claw_02.png',
unique = false,
useable = true,
shouldClose = false,
description = 'a fun toy'
},
claw_03 = {
name = 'claw_03',
label = 'Claw 03',
weight = 0.15,
type = 'item',
image = 'claw_03.png',
unique = false,
useable = true,
shouldClose = false,
description = 'a fun toy'
},
claw_04 = {
name = 'claw_04',
label = 'Claw 04',
weight = 0.15,
type = 'item',
image = 'claw_04.png',
unique = false,
useable = true,
shouldClose = false,
description = 'a fun toy'
},
claw_05 = {
name = 'claw_05',
label = 'Claw 05',
weight = 0.15,
type = 'item',
image = 'claw_05.png',
unique = false,
useable = true,
shouldClose = false,
description = 'a fun toy'
},
claw_06 = {
name = 'claw_06',
label = 'Claw 06',
weight = 0.15,
type = 'item',
image = 'claw_06.png',
unique = false,
useable = true,
shouldClose = false,
description = 'a fun toy'
},
princess = {
name = 'princess',
label = 'Princess',
weight = 0.15,
type = 'item',
image = 'princess.png',
unique = false,
useable = true,
shouldClose = false,
description = 'a fun toy'
},
-- put this in ( resources/[ox]/ox_inventory/data/items.lua )⚠️ Notes:
useable = trueis required so players can equip the skates.The
imagefield should match the image directory used by your inventory system.
Last updated