mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 17:58:54 +00:00
Use new trigger, fixed urls in readme
This commit is contained in:
+2
-7
@@ -58,7 +58,6 @@ AddEventHandler('esx_ambulancejob:heal', function(_type)
|
||||
ESX.ShowNotification(_U('healed'))
|
||||
end)
|
||||
|
||||
|
||||
function StartRespawnToHospitalMenuTimer()
|
||||
ESX.SetTimeout(Config.MenuRespawnToHospitalDelay, function()
|
||||
if IsDead then
|
||||
@@ -621,12 +620,8 @@ AddEventHandler('esx_phone:loaded', function(phoneNumber, contacts)
|
||||
|
||||
end)
|
||||
|
||||
AddEventHandler('baseevents:onPlayerDied', function(killerType, coords)
|
||||
OnPlayerDeath()
|
||||
end)
|
||||
|
||||
AddEventHandler('baseevents:onPlayerKilled', function(killerId, data)
|
||||
OnPlayerDeath()
|
||||
AddEventHandler('esx:onPlayerDeath', function()
|
||||
OnPlayerDeath()
|
||||
end)
|
||||
|
||||
RegisterNetEvent('esx_ambulancejob:revive')
|
||||
|
||||
Reference in New Issue
Block a user