mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Reverting bad fix for combat logging.
This commit is contained in:
+1
-2
@@ -288,9 +288,8 @@ ESX.RegisterServerCallback('esx_ambulancejob:getDeathStatus', function(source, c
|
||||
MySQL.Async.fetchScalar('SELECT is_dead FROM users WHERE identifier = @identifier', {
|
||||
['@identifier'] = xPlayer.identifier
|
||||
}, function(isDead)
|
||||
isDead = isDead == 1 and true or false
|
||||
|
||||
if isDead == true then
|
||||
if isDead then
|
||||
print(('[esx_ambulancejob] [^2INFO^7] "%s" attempted combat logging'):format(xPlayer.identifier))
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user