Fix patient blip not removed after revival

This commit is contained in:
Christopher Wong
2021-01-17 01:17:21 +08:00
parent e567948b9c
commit 2931d8d98f
-2
View File
@@ -20,11 +20,9 @@ AddEventHandler('esx_ambulancejob:revive', function(playerId)
xPlayer.showNotification(_U('revive_complete_award', xTarget.name, Config.ReviveReward))
xPlayer.addMoney(Config.ReviveReward)
xTarget.triggerEvent('esx_ambulancejob:revive')
deadPlayers[playerId] = nil
else
xPlayer.showNotification(_U('revive_complete', xTarget.name))
xTarget.triggerEvent('esx_ambulancejob:revive')
deadPlayers[playerId] = nil
end
else
xPlayer.showNotification(_U('player_not_unconscious'))