Open
Description
Here is the debug loop i wrote to be sure that it was an issue, if someone wants to reproduce :
Citizen.CreateThread(function()
-- Debug loop
while true do
local ret, bone = GetPedLastDamageBone(PlayerPedId())
print("[Debug] Last Damaged bone : "..bone.." Asking game to clear it ...")
ClearPedLastDamageBone(PlayerPedId())
print("[Debug] Call finished, should no longer be "..bone)
Citizen.Wait(500)
end
end)
It appears that ClearPedLastDamageBone
does nothing, the last damage bone is not cleared at all