mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 05:56:02 +01:00
Fix OrigenInv getPlayerInv() func calling OX_Inv
This commit is contained in:
@@ -272,15 +272,15 @@ local InvFunc = {
|
|||||||
function(src)
|
function(src)
|
||||||
local grabInv = nil
|
local grabInv = nil
|
||||||
if src then
|
if src then
|
||||||
grabInv = exports[OXInv]:GetInventoryItems(src)
|
grabInv = exports[OrigenInv]:GetInventoryItems(src)
|
||||||
else
|
else
|
||||||
grabInv = exports[OXInv]:GetPlayerItems()
|
grabInv = exports[OrigenInv]:GetInventory()
|
||||||
end
|
end
|
||||||
return grabInv
|
return grabInv
|
||||||
end,
|
end,
|
||||||
invImg =
|
invImg =
|
||||||
function(item)
|
function(item)
|
||||||
return "nui://"..OrigenInv.."/html/img/"..(Items[item].image or "")
|
return "nui://"..OrigenInv.."/html/images/"..(Items[item].image or "")
|
||||||
end,
|
end,
|
||||||
openShop =
|
openShop =
|
||||||
function(name, label, items)
|
function(name, label, items)
|
||||||
|
|||||||
Reference in New Issue
Block a user