Open
Description
Describe the bug
I was surprised when i saw this bug coming back, everyone claimed that retainPedState was working perfectly fine while it was not on my server. I searched for many hours and finally found the cause. Latency_reduction.
To reproduce
- Enable latency_reduction
- Crouch the player
- srun setPedAnimation(me, "grenade", "weapon_throwu", -1, false, true, false, false, 250, true)
- The player will be crouched after the animation, but his crouched state is reset. One slight movement and the player is standing again.
Expected behaviour
retainPedState should work when latency_reduction is set to 1
Multi Theft Auto v1.5.7-release-20288