multitheftauto/mtasa-blue

onClientPedStep doesn't trigger when animation is applied

Opened this issue · 0 comments

Describe the bug

As in title.

Steps to reproduce

local function onClientPedStep()
	iprint(eventName, source, getTickCount())
end
addEventHandler("onClientPedStep", root, onClientPedStep)

run this code, then do:

setPedAnimation(localPlayer, "CARRY", "crry_prtial", 0, true, true, false, true)

then try to walk around; cancel animation, and event will start to trigger.

Version

/

Additional context

/

Relevant log output

/

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.