2020-10-12, 10:38 AM
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
[Pawn] Help with animation
|
2020-10-12, 10:38 AM
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
2020-10-14, 12:49 PM
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);
2020-10-15, 01:52 AM
(2020-10-14, 12:49 PM)Worm Wrote: will the other players see the animation of that player when the forcesync is off ?
2020-10-15, 10:52 AM
If by " off " you mean false ( " 0 " ), then yes.
2020-10-15, 01:29 PM
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/funct...yAnimation |