mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 09:01:32 +00:00
fix empty shop bug
This commit is contained in:
committed by
GitHub
parent
e242f94588
commit
cd0ede5865
@@ -27,6 +27,10 @@ Citizen.CreateThread(function()
|
||||
|
||||
ESX.TriggerServerCallback('esx_shops:requestDBItems', function(ShopItems)
|
||||
for k,v in pairs(ShopItems) do
|
||||
if (Config.Zones[k] == nil) then
|
||||
Config.Zones[k] = {}
|
||||
end
|
||||
|
||||
Config.Zones[k].Items = v
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user