Make a continuous animation without resets
#1

I would like to set this animation to be continuous, without stopping and doing it back again (looping) just do the same action the whole time until the player stops doing the animation.

ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0, 1);
Reply
#2

ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 1, 0, 0, 0, 0, 1);

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

Quote:
Originally Posted by Death1300
View Post
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 1, 0, 0, 0, 0, 1);

https://sampwiki.blast.hk/wiki/ApplyAnimation
No, I already tryed that. It does the animation again and again but I want the character to remain like he is without standing up. Next time read my post carefully.
Reply
#4

ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 1, 0, 1); - Try this. (Not to sure if it will work or not)
Reply
#5

Quote:
Originally Posted by Death1300
View Post
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 1, 0, 1); - Try this. (Not to sure if it will work or not)
No it is not going to work anyways, I don't even have to try it. It will freeze my character after the animation is over.
Reply
#6

Fixed, I had to do it like this:

pawn Code:
ApplyAnimation(playerid, "BOMBER", "BOM_PLANT_LOOP", 4.0, 1, 0, 0, 0, 0, 1);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)