Merge pull request #1016 from Mycroft-Studios/patch-2

tweak: Blame OxMySQL for Database issues
This commit is contained in:
TheFantomas
2023-04-16 19:49:03 +02:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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)