Update client.lua
This commit is contained in:
1 parent
3ce2f8f143
commit
8836a5eab4
1 file changed
+5
-1
@@ -21,6 +21,10 @@ Inventory.GetItemInfo = function(item)
|
|||||||
return repackedTable
|
return repackedTable
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Inventory.HasItem = function(item)
|
||||||
|
return tgiann:HasItem(item)
|
||||||
|
end
|
||||||
|
|
||||||
Inventory.GetImagePath = function(item)
|
Inventory.GetImagePath = function(item)
|
||||||
local pngPath = LoadResourceFile("inventory_images", string.format("html/images/%s.png", item))
|
local pngPath = LoadResourceFile("inventory_images", string.format("html/images/%s.png", item))
|
||||||
local webpPath = LoadResourceFile("inventory_images", string.format("html/images/%s.webp", item))
|
local webpPath = LoadResourceFile("inventory_images", string.format("html/images/%s.webp", item))
|
||||||
@@ -44,4 +48,4 @@ Inventory.GetPlayerInventory = function()
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
return items
|
return items
|
||||||
end
|
end
|
||||||
Reference in new issue
Block a user