MiloZoe

C# PlayPlayerAnimation is out of sync

Recommended Posts

Hi everyone.

I am doing an animation in C#, but it is not synchronized when I play it. How should I solve this problem🤥?

Share this post


Link to post
Share on other sites

@trolovecro Yes, I use the server

@trolovecro I found that C#'s NAPI.Player.PlayPlayerAnimation will crash and pause the player action. Do you have a good way to solve this problem? Thank you!!!

Share this post


Link to post
Share on other sites
31 minutes ago, MiloZoe said:

@Xabi

But it still does not perform animation when fishing.

@XabiThis is my code.

NAPI.Player.PlayPlayerAnimation(client, (int)Anim.animationFlags.AllowPlayerControl, "[email protected][email protected]_a", "idle_c");

 

Try playing with the flags, maybe you need AllowPlayerControl and Loop at the same time.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.