diff --git a/fxmanifest.lua b/fxmanifest.lua index bb1e83d..a4dba7f 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -1,6 +1,6 @@ name "Jim_Bridge" author "Jimathy" -version "2.0.02" +version "2.0.03" description "Framework Bridge By Jimathy" fx_version "cerulean" rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' diff --git a/shared/shops.lua b/shared/shops.lua index b1d39d4..c2ffdec 100644 --- a/shared/shops.lua +++ b/shared/shops.lua @@ -148,6 +148,7 @@ end) --- }) --- ``` function openShop(data) + jsonPrint(data) if (data.job or data.gang) and not jobCheck(data.job or data.gang) then return end if Config.General.JimShops then @@ -156,12 +157,16 @@ function openShop(data) elseif isStarted(OXInv) then exports[OXInv]:openInventory('shop', { type = data.shop }) + elseif isStarted(QSInv) then + TriggerServerEvent("inventory:server:OpenInventory", "shop", data.items.label, data.items) + elseif isStarted(QBInv) then if QBInvNew then TriggerServerEvent(getScript()..':server:OpenShopNewQB', data.shop) else TriggerServerEvent("inventory:server:OpenInventory", "shop", data.items.label, data.items) end + elseif isStarted(RSGInv) then TriggerServerEvent(getScript()..':server:OpenShopNewRSG', data.shop) end diff --git a/version.txt b/version.txt index e00c741..da89c7b 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.0.02 \ No newline at end of file +2.0.03 \ No newline at end of file