- 1 . Add this in ox_inventory/data/items.lua
['bowlingreceipt'] = {
label = 'Bowling Receipt',
weight = 1,
},
['bowlingball'] = {
label = 'Bowling Ball',
weight = 5
}
- 2 . Add this in ox_inventory/modules/items/client.lua
Item('bowlingball', function (data)
ox_inventory:useItem(data, function (data)
if data then
TriggerEvent('bp-bowling:client:itemused', data)
end
end)
end)
-
2 . Move the images from the icons folder to ox_inventory/web/images
-
3 . Make sure the script is started after dependenicies
No known bugs
Feel free to report any issues you have in our Discord