multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.3k stars 412 forks source link

The getPedAnimation function doesn't work in IFP. #3464

Open W3lac3 opened 2 weeks ago

W3lac3 commented 2 weeks ago

Describe the bug

When applying an IFP animation to the player, the getPedAnimation function cannot return the animation that the player is using. It will always return an animation from the game, which is run_wuzi. The same does not happen with in-game animations, only in the case of IFP.

Steps to reproduce

  1. Load an IFP animation;
  2. Apply this animation using setPedAnimation on the client-side;
  3. Use the getPedAnimation function and you'll see the bug happen.

Version

Client: v1.6-release-22512 (Windows 11, 64-bit) Server: v1.6-release-22512 (Windows 11, 64-bit)

Additional context

No response

Relevant log output

No response

Security Policy