mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-16 21:46:03 +01:00
revert qbinv dectetion
Wasn't playing as well as I thought it would..
This commit is contained in:
@@ -30,10 +30,7 @@ Exports = {
|
|||||||
-- Required variables
|
-- Required variables
|
||||||
debugMode = Config.System.Debug
|
debugMode = Config.System.Debug
|
||||||
|
|
||||||
-- Testing a new check for new inventory, otherwise it will use the old calls for qb-inv
|
QBInvNew = true
|
||||||
-- 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"
|
|
||||||
|
|
||||||
InventoryWeight = 120000
|
InventoryWeight = 120000
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user