mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 05:56:02 +01:00
esx fixes
This commit is contained in:
@@ -197,12 +197,13 @@ elseif isStarted(RSGExport) then
|
|||||||
end
|
end
|
||||||
vehResource = RSGExport
|
vehResource = RSGExport
|
||||||
end
|
end
|
||||||
|
|
||||||
if vehResource == nil then
|
if vehResource == nil then
|
||||||
print("^4ERROR^7: ^2No Vehicle info detected ^7- ^2Check ^3starter^1.^2lua^7")
|
print("^4ERROR^7: ^2No Vehicle info detected ^7- ^2Check ^3starter^1.^2lua^7")
|
||||||
else
|
else
|
||||||
while not Vehicles do Wait(1000) print("Waiting") end
|
CreateThread(function()
|
||||||
debugPrint("^6Bridge^7: ^2Loading ^6"..countTable(Vehicles).." ^3Vehicles^2 from ^7"..vehResource)
|
while not Vehicles do Wait(1000) print("Waiting") end
|
||||||
|
debugPrint("^6Bridge^7: ^2Loading ^6"..countTable(Vehicles).." ^3Vehicles^2 from ^7"..vehResource)
|
||||||
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
|
|||||||
@@ -472,7 +472,7 @@ function getPlayer(source)
|
|||||||
--gangBoss = info.gang.isboss,
|
--gangBoss = info.gang.isboss,
|
||||||
onDuty = info.job.onDuty,
|
onDuty = info.job.onDuty,
|
||||||
--account = info.charinfo.account,
|
--account = info.charinfo.account,
|
||||||
citizenId = info.citizenid,
|
citizenId = info.identifier,
|
||||||
}
|
}
|
||||||
|
|
||||||
elseif isStarted(OXCoreExport) then
|
elseif isStarted(OXCoreExport) then
|
||||||
|
|||||||
Reference in New Issue
Block a user