Changed createshop to registershop
dont forget to update usibg cache system for clothing
This commit is contained in:
1 parent
13e0d0bb98
commit
ba111f1b52
14 files changed
+139
-15
No files matched your search
@@ -171,7 +171,7 @@ end
|
||||
-- @param shopInventory table
|
||||
-- @param shopCoords table
|
||||
-- @param shopGroups table
|
||||
Inventory.CreateShop = function(shopTitle, shopInventory, shopCoords, shopGroups)
|
||||
Inventory.RegisterShop = function(shopTitle, shopInventory, shopCoords, shopGroups)
|
||||
if registeredShops[shopTitle] then return true end
|
||||
registeredShops[shopTitle] = true
|
||||
ox_inventory:RegisterShop(shopTitle, { name = shopTitle, inventory = shopInventory, groups = shopGroups, })
|
||||
|
||||
Reference in new issue
Block a user