esx fixes

This commit is contained in:
Jim Shield
2025-04-18 19:45:56 +01:00
parent 6ce6770df4
commit b7db98ffdc
2 changed files with 5 additions and 4 deletions

View File

@@ -197,12 +197,13 @@ elseif isStarted(RSGExport) then
end
vehResource = RSGExport
end
if vehResource == nil then
print("^4ERROR^7: ^2No Vehicle info detected ^7- ^2Check ^3starter^1.^2lua^7")
else
while not Vehicles do Wait(1000) print("Waiting") end
debugPrint("^6Bridge^7: ^2Loading ^6"..countTable(Vehicles).." ^3Vehicles^2 from ^7"..vehResource)
CreateThread(function()
while not Vehicles do Wait(1000) print("Waiting") end
debugPrint("^6Bridge^7: ^2Loading ^6"..countTable(Vehicles).." ^3Vehicles^2 from ^7"..vehResource)
end)
end
-------------------------------------------------------------

View File

@@ -472,7 +472,7 @@ function getPlayer(source)
--gangBoss = info.gang.isboss,
onDuty = info.job.onDuty,
--account = info.charinfo.account,
citizenId = info.citizenid,
citizenId = info.identifier,
}
elseif isStarted(OXCoreExport) then