This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.
If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.
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 Items = { { name = "bread", type = "item", price = 100 }, { name = "WEAPON_PISTOL", type = "weapon", price = 100 } },hi i am getting error while running the codeThank you very much for the upload. I've installed this on a test server and I'm able to view the inventory by pressing "K". I'm also able to use it within vehicles. However, I am unable to get it to work with shops (weapons, groceries, etc.). Is there anything specific I would need to do to integrate it with esx_shops?
Okay guys you must add to your esx_shops/server/main
Add this line to mysql ready:
type = shopResult.type,
and table type to database
No problem
check in config.luahello, I found a problem with this inventory, when I drop something and try to pick it backup it says "Limit Reached!" but I have nothing on my inventory, can somebody help me please ?
I have the same problemThank you very much for the upload. I've installed this on a test server and I'm able to view the inventory by pressing "K". I'm also able to use it within vehicles. However, I am unable to get it to work with shops (weapons, groceries, etc.). Is there anything specific I would need to do to integrate it with esx_shops?
Open inventory again near item dropI cant pick up items back once i dropped them
Thank you so much for the fast response. +repOpen inventory again near item drop