Items
How to Configure Ice-O-Rink Items in Your Inventory System
To make the ice skates and entry ticket work properly, you must add them to the inventory system your server uses.
The example provided is for qb-core, and you should place the items inside:
resources/[qb]/qb-core/shared/items.lua
If 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_iceorink = {
name = 'ticket_iceorink',
label = 'Ticket Ice-O-Rink',
weight = 0,
type = 'item',
image = 'ticket_iceorink.png',
unique = false,
useable = false,
shouldClose = false,
description = 'Ticket to access the ice-o-rink area'
},
iceskates_white = {
name = 'iceskates_white',
label = 'Ice Skates (White)',
weight = 0,
type = 'item',
image = 'iceskates_white.png',
unique = false,
useable = true,
shouldClose = false,
description = 'This is a skate for ice skating'
},
-- repeat for other colors: black, cyan, yellow, pink, red, green
⚠️ Notes:
useable = true
is required so players can equip the skates.The
image
field should match the image directory used by your inventory system.Each color variant must be added separately, as shown.
Last updated