mtasa-blue
mtasa-blue copied to clipboard
getPedMoveState can returns "fall" while crawling
Describe the bug getPedMoveState can returns "fall" while crawling
To reproduce
1- crawl
2- do crun getPedMoveState(localPlayer)
3- sometimes the function will return "fall"
or use the script I made it to detect the movement change every frame and output it on the chatbox moveState.zip
Expected behaviour should return only "crawl"
Screenshots

Version v1.5.7-release-20582
while crawling and moving or what
while crawling and moving or what
crouch and move
Okay, after some tests I think is not only for crawling it happens with jog,sprint even stand
so I think the surface is the reason
for example this screenshot
I'm just standing at this position and the movement state changes to "fall" every frame
so I think it's the same issue with #1590?
yeah seems not very accurate
Exactly related with #1590
https://streamable.com/sqjrit