mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 10:18:54 +00:00
Merge pull request #301 from pkcwong/dev/bugfix-blip
Fix patient blip not removed after revival
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user