Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit fe3a007

Browse files
authored
Update server.lua
1 parent 20ca1f0 commit fe3a007

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ AddEventHandler('mx-serverman:RemovePlayerMoney', function (id, type, amount)
677677
end
678678
end)
679679
else
680-
if Config['oldesx'] then
680+
if Config['old_esx'].user_accounts then
681681
local fetch = [[SELECT name, money FROM user_accounts WHERE identifier = @id]]
682682
local fetchData = {['@id'] = id}
683683
local result = MySQL.Sync.fetchAll(fetch, fetchData)
@@ -883,4 +883,4 @@ AddEventHandler('mx-serverman:ReviveAll', function ()
883883
TriggerEvent('mx-serverman:SendEmbed', embed)
884884
end
885885
end)
886-
end)
886+
end)

0 commit comments

Comments
 (0)