Skip to content

setPedAnimation isn't synced properly on server side #512

@ArranTuna

Description

@ArranTuna

Describe the bug
Some arguments which work for the client setPedAnimation don't work on the server.

To Reproduce

crun setPedAnimation(me, "PAULNMAC", "wank_loop", nil, true, false, false);

-- Above example works fine, ped doesn't move when animation loops

run setPedAnimation(me, "PAULNMAC", "wank_loop", nil, true, false, false);

-- above example doesn't work, animation works but ped's position gets changed according to animation, and it shouldn't

Argument which is not synced in this case is updatePosition, not sure about others.

Expected behavior
A clear and concise description of what you expected to happen.

MTA Client (please complete the following information):
1.5.2

MTA Server (please complete the following information):
1.5.2

Additional context
From https://bugs.mtasa.com/view.php?id=9176

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsync

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions