mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 18:58:54 +00:00
Merge pull request #1016 from Mycroft-Studios/patch-2
tweak: Blame OxMySQL for Database issues
This commit is contained in:
@@ -102,7 +102,7 @@ if not Config.Multichar then
|
||||
end
|
||||
|
||||
if not Core.DatabaseConnected then
|
||||
return deferrals.done(('[ESX] ESX Cannot Connect to your database. Please make sure it is correctly configured in your server.cfg'):format(oneSyncState))
|
||||
return deferrals.done('[ESX] OxMySQL Was Unable To Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg')
|
||||
end
|
||||
|
||||
if identifier then
|
||||
|
||||
@@ -104,11 +104,11 @@ end
|
||||
end
|
||||
|
||||
if not databaseFound then
|
||||
deferrals.done(('[ESX Multicharacter] Cannot Find the servers mysql_connection_string. Please make sure it is correctly configured in your server.cfg'):format(oneSyncState))
|
||||
deferrals.done('[ESX] Cannot Find the servers mysql_connection_string. Please make sure it is correctly configured in your server.cfg')
|
||||
end
|
||||
|
||||
if not databaseConnected then
|
||||
deferrals.done(('[ESX Multicharacter] ESX Cannot Connect to your database. Please make sure it is correctly configured in your server.cfg'):format(oneSyncState))
|
||||
deferrals.done('[ESX] OxMySQL Was Unable To Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg')
|
||||
end
|
||||
|
||||
if identifier then
|
||||
@@ -240,4 +240,4 @@ end
|
||||
RegisterNetEvent('esx_multicharacter:relog', function()
|
||||
local source = source
|
||||
TriggerEvent('esx:playerLogout', source)
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user