definitelynotjs
Silver Elite
You don't encounter any problem like we have?i no change anything at inventory i just put this. at client lua.
function OpenShopMenu(zone)
local items = {}
for i=1, #Config.Zones[zone].Items, 1 do
local item = Config.Zones[zone].Items
table.insert(items, {
type = item.type,
name = item.name,
price = item.price
})
end
TriggerEvent('inventorypenShop', tostring(zone), 'Shop', items)
end