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