[Pawn] Help with animation - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) --- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10) --- Thread: [Pawn] Help with animation (/showthread.php?tid=1236) |
Help with animation - GeorgeXCarl - 2020-10-12 please help me with the ApplyAnimation because when i want to do the animation it keeps me freeze even if i didn't set the ApplyAnimation to freeze player when animating RE: Help with animation - Worm - 2020-10-14 Code: ApplyAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync = 0); freeze If not equal, freezes the player at the end of the animation. 0 If you are facing an issue in undoing an animation, try using Code: ClearAnimations(playerid); RE: Help with animation - GeorgeXCarl - 2020-10-15 (2020-10-14, 12:49 PM)Worm Wrote: will the other players see the animation of that player when the forcesync is off ? RE: Help with animation - Worm - 2020-10-15 If by " off " you mean false ( " 0 " ), then yes. RE: Help with animation - Expert* - 2020-10-15 The 'forcesync' optional parameter, which defaults to 0, in most cases is not needed since players sync animations themselves. The 'forcesync' parameter can force all players who can see 'playerid' to play the animation regardless of whether the player is performing that animation. This is useful in circumstances where the player can't sync the animation themselves. For example, they may be paused. https://www.open.mp/docs/scripting/functions/ApplyAnimation |