mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-11-17 11:18:33 +00:00
revert qbinv dectetion
Wasn't playing as well as I thought it would..
This commit is contained in:
1 parent
59ff34c9cc
commit
7432dd5118
1 file changed
+1
-4
+1
-4
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user