From 22d7ff5909b08c86183c26f6f4b9bf997973deff Mon Sep 17 00:00:00 2001 From: MonkeyWhisper <82112471+MonkeyWhisper@users.noreply.github.com> Date: Sat, 18 Mar 2023 23:03:12 -0400 Subject: [PATCH] Updated local imagesurl --- server/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/main.lua b/server/main.lua index e78d1612..3bc1b5a4 100644 --- a/server/main.lua +++ b/server/main.lua @@ -1784,7 +1784,7 @@ RegisterNetEvent('inventory:server:SetInventoryData', function(fromInventory, to itemData.info.quality = 100 end local serial = itemData.info.serie - local imageurl = ("https://cfx-nui-qb-inventory/html/images/%s"):format(item.image) + local imageurl = ("https://cfx-nui-qb-inventory/html/images/%s.png"):format(itemData.name) local notes = "Purchased at Ammunation" local owner = Player.PlayerData.charinfo.firstname .. " " .. Player.PlayerData.charinfo.lastname local weapClass = 1 @@ -1801,7 +1801,7 @@ RegisterNetEvent('inventory:server:SetInventoryData', function(fromInventory, to itemData.info.quality = 100 end local serial = itemData.info.serie - local imageurl = ("https://cfx-nui-qb-inventory/html/images/%s"):format(item.image) + local imageurl = ("https://cfx-nui-qb-inventory/html/images/%s.png"):format(itemData.name) local notes = "Purchased at Ammunation" local owner = Player.PlayerData.charinfo.firstname .. " " .. Player.PlayerData.charinfo.lastname local weapClass = 1