You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
setPedAnimation() does not work when a ped is attached and floating in air #463
Describe the bug
Currently setPedAnimation() while being attached only works when the ped has something below his feet (i.e. he is glued on top of a car using "glue" resource).
Trying to play animations while a player is floating in the air does not work, but setPedAnimation() will still return true.
crun setPedAnimation(me, "dancing", "dnce_m_d", 1000, true, false, true, true) -> The animation will now play, because you are in contact with the car
Expected behavior
setPedAnimation() should force the animation even when the player has no contact with another object, at least if interruptable is set to false.
I can no longer reproduce this with the steps to reproduce. The animation always plays even without contact element. I think this can be closed if no one else can confirm this anymore.
yes 14e5d11 is what i was thinking of. this commit is small enough for you to revert, build & test (that the bug returns). are you (or someone) able to do that?
Activity
Einheit-101 commentedon Oct 14, 2019
I can no longer reproduce this with the steps to reproduce. The animation always plays even without contact element. I think this can be closed if no one else can confirm this anymore.
qaisjp commentedon Oct 14, 2019
I vaguely recall a "recent" fix relating to attachElements (6-12 months?)
can someone track the commit down?
Einheit-101 commentedon Oct 14, 2019
Maybe
3ab471c
14e5d11
qaisjp commentedon Oct 15, 2019
yes 14e5d11 is what i was thinking of. this commit is small enough for you to revert, build & test (that the bug returns). are you (or someone) able to do that?
Einheit-101 commentedon Oct 15, 2019
I cant, i still dont know how to build MTA and even then, i would not know what to do with the code 😂👌🏼
qaisjp commentedon Oct 15, 2019
If you're interested in building for the first time, pop over to Discord and I'm sure someone will help you get started :)
I can then tell you how to change the code to test it! You will need to have https://desktop.github.com/ installed and I think follow https://wiki.multitheftauto.com/wiki/Compiling_MTASA
Einheit-101 commentedon Oct 16, 2019
I think i will try it at some point :D
Maybe i can fix some famous bugs at some point...