2026-04-14 17:41:39 +02:00

17 lines
396 B
Lua

AddEventHandler('gameEventTriggered', function(name, args)
if name == 'CEventNetworkEntityDamage' then
local ped = PlayerPedId()
ClearPedBloodDamage(ped)
ResetPedVisibleDamage(ped)
end
end)
CreateThread(function()
while true do
Wait(0)
local ped = PlayerPedId()
ClearPedBloodDamage(ped)
ResetPedVisibleDamage(ped)
end
end)