altv-issues icon indicating copy to clipboard operation
altv-issues copied to clipboard

setEntityAnimSpeed isn't synced

Open Lekenthu opened this issue 3 years ago • 4 comments

Description of the problem

The setEntityAnimSpeed native isn't synced.

Reproduction steps

  1. Play animation.
  2. Set animation speed: game.setEntityAnimSpeed(localPlayer.scriptID, "anim@amb@casino@mini@dance@dance_solo@female@var_b@", "high_left", 1.5);

Expected behaviour

It would be nice to have this native synced.

Additional context

No response

Operating system

Windows 11

Version

alt:V build #10.5, branch release

Lekenthu avatar May 25 '22 00:05 Lekenthu

You have to play the native for both clients in order to be synced I think

yannbcf avatar May 25 '22 00:05 yannbcf

You have to play the native for both clients in order to be synced I think

It would make sense that if the client-side taskPlayAnim is native synced, then this should also be synchronized.

Lekenthu avatar May 25 '22 00:05 Lekenthu

No, it's doesn't work like that

yannbcf avatar May 25 '22 03:05 yannbcf

I'll put it down as a feature request as it's not a bug in the current state. Coming with alt:V 11.0 you can use the new animation events to call that native as workaround

deluvas1911 avatar May 26 '22 09:05 deluvas1911