I've question about Animations
#1

Hello Guys .. I want know What's thats mean 4.0, 0, 0, 0, 0, 0

in this anim

if (strcmp("/sit", cmdtext, true, 4) == 0) {
ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.0, 0, 0, 0, 0, 0);
return 1;
}

And Thank you
Reply
#2

Quote:

(playerid, animlib[], animname[], Float:fS, opt1, opt2, opt3, opt4, opt5)
playerid The id of the player to apply the animation to.
animlib[] The library name of the animation.
animname[] The name of the animation.
fS The animation speed of the animation.
opt1 Loop 0/1.
opt2 This can be named LockX. This basically stores the player position when they perform an animation that requires them to move. When the animation is done, it puts them back to their original position before the animation started, if set to 0. Opposite effect if it's set to 1.
opt3 This can be named LockY. This basically stores the player position when they perform an animation that requires them to move. When the animation is done, it puts them back to their original position before the animation started, if set to 0. Opposite effect if it's set to 1.
opt4 Will freeze the player in the position the animation finishes.
opt5 Timer in millisecconds. For a never ending loop it should be 0.

https://sampwiki.blast.hk/wiki/ApplyAnimation

Straight from the wiki..
Reply
#3

All the information can be found at this link.

https://sampwiki.blast.hk/wiki/ApplyAnimation
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)