I've question about Animations - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I've question about Animations (
/showthread.php?tid=165711)
I've question about Animations -
waim - 05.08.2010
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
Re: I've question about Animations -
playbox12 - 05.08.2010
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..
Re: I've question about Animations -
MisterTickle - 05.08.2010
All the information can be found at this link.
https://sampwiki.blast.hk/wiki/ApplyAnimation