mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-11-23 11:58:35 +00:00
hopefully fix esx loading
This commit is contained in:
1 parent
2da2c56705
commit
2be706a860
6 files changed
+25
-17
No files matched your search
@@ -140,6 +140,7 @@ function waitForLogin()
|
||||
if isStarted(ESXExport) then
|
||||
debugPrint("^6Bridge^7: ^3ESX waitForLogin^7() ^2running^7")
|
||||
while (GetGameTimer() - startTime) < timeout do
|
||||
while not ESX do Wait(100) end
|
||||
local playerData = ESX.GetPlayerData()
|
||||
if playerData and playerData.job then
|
||||
loggedIn = true
|
||||
|
||||
Reference in new issue
Block a user