[Paid Release] Chezza's Inventory [ESX]

Bought the Inventory but cant buy nothing at a shop. Cannot add inventory to the shop either. How do I input that into the database?

does this work with esx legacy?

I transfer my item to max in player inventory (7 stone)
I put it in trunk inventory so i give more 7 stone again
Put it one more time to trunk inventory so I give all back to player inventory !!
It working!! I think it error from “draw plugin”
Wish you fix it !! Thank you so much !!
Your script go great !!

yes it does

Look really clean, you should delete “use” button and be able to use the item by left cliking it only. Will be much simple.

Replace OpenShopMenu function in your esx_shop/client/main.lua with this:

function OpenShopMenu(zone)
    local items = {}
    for i=1, #Config.Zones[zone].Items, 1 do
        local item = Config.Zones[zone].Items[i]
        table.insert(items, {
            type = item.type,
            name = item.name,
            price = item.price
        })
    end
        TriggerEvent('inventory:openShop', tostring(zone), 'Shop', items)
end

Example: esx_shop/config.lua Note: Default label has been changed to type

        Items = {
            {
                 name = "bread",
                 type = "item",
                 price = 100
            },
            {
                name = "WEAPON_PISTOL",
                type = "weapon",
                price = 100
            }
        },

This should get you started.

4 Likes

Will item descriptions be returning? :thinking:

I back this! would love that!

Having the same issue, did you fix this? I did the code update BlueTheHusky suggested, I can’t open the shop window etc now…?

1 Like

I disabled the F2 esx inventory and it still doesn’t show the bag and the press “E” text to pickup. its just a white arrow.

its compatible with esx 1.2? its beautifull!

Are updates automatically going to be updated in the email link you sent? btw sent you a message :slight_smile:

Loving the script! any plans to add storages? like dumpsters and other things like that

1 Like

You could basically do that yourself with Plugins

Yeah I’ve already started going through it to figure it out. I’m not the most experienced in lua though.

best inventory for esx 10/10

1 Like

No I think not, because after update it has a +1 in it and now weapons can not move anymore

Possibility of having hiding places for jobs and the armory and shop.?

Please make storage for job police, ambulance or other.

Community has this set up if you want vaults with key cards or job.