#qb-bankrobbery
1 messages · Page 1 of 1 (latest)
More Effort Required.
We are here to help you, but please, consider how much effort you are putting into your post.
Please provide information such as:
- What you were doing when the issue occurred
- What you have tried to resolve the issue
- Any error messages you have received
- Any other information you think may be relevant
Please edit your post to include this information, and we will be happy to try help you further.
Script Name:qb-bankrobbery
Error : in img above
What's the issue your experiencing: when i sue a electronic kit or a trojan_usb i get a error im usiing ox_inventory
What was the last thing that changed: nothing
What measures and steps have you taken to troubleshoot this issue: tryed to reinstall the qb-bankrobbery
Video/screenshot:
You need to change the qb Inventory export to the ox ones
what do you mean
so i would change this QBCore.Functions.CreateUseableItem('electronickit', function(source) local Player = QBCore.Functions.GetPlayer(source) if not Player or not Player.Functions.GetItemByName('electronickit') then return end TriggerClientEvent('electronickit:UseElectronickit', source) end) to this ```exports('UseElectronickit', function(source, item)
TriggerClientEvent('electronickit:UseElectronickit', source)
end)
No i mean getitembyname
I want have to change all the items to work with ox_inventory like this for example Config.ShowRequiredItems({
[1] = {name = QBCore.Shared.Items["electronickit"]["name"], image = QBCore.Shared.Items["electronickit"]["image"]},
Actually I am not familiar with ox inventory so you need to wait
To see if anyone knows how to use it
ok
I guess this will work
But you need to define the item
On ur items.lus
And add the export on it