#QB Fleeca Script Error

1 messages · Page 1 of 1 (latest)

narrow sparrow
#

The error indicates that it can't find the item because the code is referencing QBCore.Shared.Items.lua. However, since you’ve installed Ox Inventory, you’ll likely need to rewrite the code to support Ox Inventory checks. Instead of relying on QBCore.Shared.Items.lua, the script should reference data/items.lua from Ox Inventory.

#

You’ll need to refer to the Ox Inventory documentation to understand how their functions handle item checks and other inventory operations. This will help you rewrite the necessary parts of the code to align with Ox Inventory’s system.

kindred sail
#

ahh okay, so will the code i need to change be in the script of the fleeca file>

narrow sparrow
#

In your case the code will be at qb-bankrobbery/client/fleeca.lua: line 442

kindred sail
#

[1] = {name = QBCore.Shared.Items["electronickit"]["name"], image = QBCore.Shared.Items["electronickit"]["image"]},

this is the line its not detecting