mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 13:01:31 +00:00
chore(server): Update error messages and manifest
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
fx_version 'cerulean'
|
||||
game 'gta5'
|
||||
description 'https://github.com/thelindat/esx_multicharacter'
|
||||
version '1.4'
|
||||
version '1.4.0'
|
||||
lua54 'yes'
|
||||
|
||||
dependencies {
|
||||
|
||||
+4
-3
@@ -20,7 +20,7 @@ local function DATABASE()
|
||||
end
|
||||
|
||||
if not ESX then
|
||||
error('\n^1WARNING: Unable to start Multicharacter - you must be using ESX Legacy^0')
|
||||
error('\n^1Unable to start Multicharacter - you must be using ESX Legacy^0')
|
||||
elseif ESX.GetConfig().Multichar == true then
|
||||
DATABASE = DATABASE()
|
||||
local DB_TABLES = {}
|
||||
@@ -114,9 +114,10 @@ elseif ESX.GetConfig().Multichar == true then
|
||||
MySQL.Async.transaction(queries, function(result)
|
||||
if result then
|
||||
print(('[^2INFO^7] Player [%s] %s has deleted a character (%s)'):format(GetPlayerName(source), source, identifier))
|
||||
Citizen.Wait(50)
|
||||
SetupCharacters(source)
|
||||
else
|
||||
print(result)
|
||||
error('\n^1Transaction failed while trying to delete '..identifier..'^0')
|
||||
end
|
||||
end)
|
||||
end
|
||||
@@ -204,4 +205,4 @@ elseif ESX.GetConfig().Multichar == true then
|
||||
|
||||
else
|
||||
assert(nil, '^3WARNING: Multicharacter is disabled - please check your ESX configuration^0')
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user