Merge pull request #301 from pkcwong/dev/bugfix-blip

Fix patient blip not removed after revival
This commit is contained in:
ArkSeyonet
2021-02-01 14:10:43 -06:00
committed by GitHub
-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'))