This commit is contained in:
Lorraxs 2023-12-11 14:20:04 +07:00
parent 23d39fc6b5
commit 45954df5be
2 changed files with 3 additions and 3 deletions

View File

@ -295,12 +295,12 @@ Citizen.CreateThread(function()
while GetGameTimer() < main.lastTimeImplRegistered + 1000 do while GetGameTimer() < main.lastTimeImplRegistered + 1000 do
Citizen.Wait(0) Citizen.Wait(0)
end end
while ESX == nil do while Framework == nil do
Wait(100) Wait(100)
end end
if not IsDuplicityVersion() then if not IsDuplicityVersion() then
if Config.Framework == 'esx' then if Config.Framework == 'esx' then
while not ESX.IsPlayerLoaded() do while not Framework.IsPlayerLoaded() do
Wait(100) Wait(100)
end end
elseif Config.Framework == 'qb' then elseif Config.Framework == 'qb' then

File diff suppressed because one or more lines are too long