fix(esx_multicharacter): fix attempting to access nil table

This commit is contained in:
Kenshin13
2024-12-31 22:15:38 +01:00
parent c88c9be1f4
commit abe6b2d52e
2 changed files with 3 additions and 0 deletions
@@ -64,6 +64,7 @@ MySQL.ready(function()
Database.connected = true
ESX.Jobs = ESX.GetJobs()
while not next(ESX.Jobs) do
Wait(500)
ESX.Jobs = ESX.GetJobs()
@@ -1,3 +1,5 @@
ESX.Players = {}
function Server:GetIdentifier(source)
local fxDk = GetConvarInt("sv_fxdkMode", 0)
if fxDk == 1 then