Skip to content

ClearPedLastDamageBone have no effect / dont work #2088

Open
@pingouinn

Description

@pingouinn

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions