mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-03 03:38:50 +00:00
Fixed walking when dead
This commit is contained in:
@@ -925,6 +925,7 @@ end)
|
||||
RegisterNetEvent('esx_ambulancejob:requestDeath')
|
||||
AddEventHandler('esx_ambulancejob:requestDeath', function()
|
||||
if Config.AntiCombatLog then
|
||||
Citizen.Wait(5000)
|
||||
SetEntityHealth(GetPlayerPed(-1), 0)
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user