SA-MP Forums Archive
Seat animation search - 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)
+--- Thread: Seat animation search (/showthread.php?tid=654612)



Problem with animation loop - jvdg - 01.06.2018

Hey! I'm making an anim that seats the player on the table, using this code:

Код:
ApplyAnimation(playerid, "FOOD", "FF_Sit_In", 4.1,0,0,0,0,0);
I want the loop to apply just when the player is already seated, not the whole animation again, as the gif shows:



@EDIT
Find the animation... but another problem.


Re: Seat animation search - Ada32 - 01.06.2018

looks like one of the 'getin' animations https://sampwiki.blast.hk/wiki/Animations. you can browse using this https://sampforum.blast.hk/showthread.php?tid=360735


Re: Seat animation search - jvdg - 01.06.2018

Quote:
Originally Posted by Ada32
Посмотреть сообщение
looks like one of the 'getin' animations https://sampwiki.blast.hk/wiki/Animations. you can browse using this https://sampforum.blast.hk/showthread.php?tid=360735
Thanks, Found it but... I want the loop on the animation just when the player is already seated, not the whole animation again, like the GIF shows. Do you know how can I fix that?

Код:
        ApplyAnimation(playerid, "FOOD", "FF_Sit_In", 4.1,0,0,0,0,0);



Re: Seat animation search - Ada32 - 01.06.2018

ApplyAnimation(playerid, "FOOD", "FF_Sit_In", 4.1,1,0,0,0,0);