From 7432dd511881da46cd7eae31b0e569c0787bb04f Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Thu, 1 May 2025 20:05:00 +0100 Subject: [PATCH] revert qbinv dectetion Wasn't playing as well as I thought it would.. --- starter.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/starter.lua b/starter.lua index e1bd995..f576b9a 100644 --- a/starter.lua +++ b/starter.lua @@ -30,10 +30,7 @@ Exports = { -- Required variables debugMode = Config.System.Debug --- Testing a new check for new inventory, otherwise it will use the old calls for qb-inv --- It's messy, and doesn't take in to account if you have text in the version like "beta" -local qbInvVer = GetResourceMetadata(Exports.QBInv, 'version', nil):gsub("%.", "") -QBInvNew = tonumber(qbInvVer) >= 200 -- if your qb inv version is 2.0.0 or above, then its classed as "new" +QBInvNew = true InventoryWeight = 120000