[HEADING=2]
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
loading="lazy">
[/HEADING]
[HEADING=2][/HEADING]
[HEADING=2]
Drop the resource into resources/[standalone]/RollerSkating (or equivalent).
In your server.cfg, ensure the order:
Declare the item in ox_inventory (ox_inventory/data/items.lua):
Icon: put rollerskates.png in ox_inventory/web/images/. (I included a placeholder in the zip.)
(Optional if your server still reads qb-core/shared/items.lua) add:
[HEADING=2]
Open ox_inventory and use the rollerskates item → toggles on/off (equip/unequip).
The original commands remain:
[/standalone]
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
loading="lazy">
[HEADING=2][/HEADING]
[HEADING=2]
Installation (ox_inventory + QB)
[/HEADING]Drop the resource into resources/[standalone]/RollerSkating (or equivalent).
In your server.cfg, ensure the order:
ensure ox_inventory
ensure qb-core
ensure RollerSkating
ensure qb-core
ensure RollerSkating
Declare the item in ox_inventory (ox_inventory/data/items.lua):
['rollerskates'] = {
label = 'Roller Skates',
weight = 1000,
stack = false,
close = true,
consume = 0, -- does not get consumed
description = 'Use to equip/unequip roller skates',
client = { image = 'rollerskates.png' },
},
label = 'Roller Skates',
weight = 1000,
stack = false,
close = true,
consume = 0, -- does not get consumed
description = 'Use to equip/unequip roller skates',
client = { image = 'rollerskates.png' },
},
Icon: put rollerskates.png in ox_inventory/web/images/. (I included a placeholder in the zip.)
(Optional if your server still reads qb-core/shared/items.lua) add:
['rollerskates'] = {['name'] = 'rollerskates', ['label'] = 'Roller Skates', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'rollerskates.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Put them on and roll!'},
[HEADING=2]
In-game usage
[/HEADING]Open ox_inventory and use the rollerskates item → toggles on/off (equip/unequip).
The original commands remain:
/roller → equips
/leave → unequips
/leave → unequips
Reactions are only available for posts