Skip to content

Commit 48682e8

Browse files
committed
another day another unfixed esx bug
1 parent 22b4ad7 commit 48682e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

esx_ambulancejob/server/main.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ end)
301301
ESX.RegisterServerCallback('esx_ambulancejob:getDeathStatus', function(source, cb)
302302
local xPlayer = ESX.GetPlayerFromId(source)
303303
MySQL.scalar('SELECT is_dead FROM users WHERE identifier = ?', {xPlayer.identifier}, function(isDead)
304+
local isDead = isDead == 1 and true or false
304305
cb(isDead)
305306
end)
306307
end)

0 commit comments

Comments
 (0)