mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-16 21:46:03 +01:00
Fix inventory config check to check "starting" scripts
This commit is contained in:
@@ -376,7 +376,10 @@ for script, data in pairs(invWeightTable) do
|
|||||||
if checkExists(script) then
|
if checkExists(script) then
|
||||||
if script == Exports.QBInv and GetResourceState(Exports.JPRInv):find("start") then goto skip end
|
if script == Exports.QBInv and GetResourceState(Exports.JPRInv):find("start") then goto skip end
|
||||||
|
|
||||||
while GetResourceState(script) ~= "started" do Wait(100) print("Waiting for script start") end
|
while GetResourceState(script) ~= "started" and GetResourceState(script) ~= "stopped" do
|
||||||
|
Wait(100)
|
||||||
|
print("Waiting for script start")
|
||||||
|
end
|
||||||
local attempts = data.fallback or { data }
|
local attempts = data.fallback or { data }
|
||||||
local lookup, used, err
|
local lookup, used, err
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user