mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
fix(server): added missing symbols
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ else
|
||||
|
||||
-- Do not use unless you are prepared to adjust your resources to correctly reset data
|
||||
-- Information: https://github.com/thelindat/esx_multicharacter#relogging
|
||||
Config.Relog = false
|
||||
Config.Relog = true
|
||||
--------------------
|
||||
|
||||
-- Default appearance for new characters
|
||||
|
||||
+3
-3
@@ -49,7 +49,7 @@ elseif ESX.GetConfig().Multichar == true then
|
||||
while not FETCH do Citizen.Wait(100) end
|
||||
local identifier = GetIdentifier(source)
|
||||
ESX.Players[identifier] = true
|
||||
|
||||
|
||||
local slots = MySQL.Sync.fetchScalar("SELECT slots FROM multicharacter_slots WHERE identifier = ?", {
|
||||
identifier
|
||||
}) or SLOTS
|
||||
@@ -94,12 +94,12 @@ elseif ESX.GetConfig().Multichar == true then
|
||||
Citizen.Wait(100)
|
||||
if identifier then
|
||||
if ESX.Players[identifier] then
|
||||
deferrals.done(('A player is already connected to the server with this identifier.\nYour identifier: %s:%s'):format(PRIMARY_IDENTIFIER, identifier)
|
||||
deferrals.done(('A player is already connected to the server with this identifier.\nYour identifier: %s:%s'):format(PRIMARY_IDENTIFIER, identifier))
|
||||
else
|
||||
deferrals.done()
|
||||
end
|
||||
else
|
||||
deferrals.done(('Unable to retrieve player identifier.\nIdentifier type: %s'):format(PRIMARY_IDENTIFIER)
|
||||
deferrals.done(('Unable to retrieve player identifier.\nIdentifier type: %s'):format(PRIMARY_IDENTIFIER))
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user