SA-MP Forums Archive
Animations work after using it twice? - 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: Animations work after using it twice? (/showthread.php?tid=560006)



Animations work after using it twice? - Admigo - 26.01.2015

Hi,

While i am busy with adding animations i noticed most of them needs to be played twice to play normally.
Like when i have a wave command i need to enter the command twice to let the animation work.
I already preloaded the animations but don't work on them.
Like i tested the /fish animation on "samp_anims". I need to enter the command twice to get it work.
More people can confirm this issue?

Admigo


Re: Animations work after using it twice? - dugi - 26.01.2015

I think there's an issue just with that specific animation, did you try others?


Re: Animations work after using it twice? - Snich - 26.01.2015

You most preload animations: http://www.solidfiles.com/d/39198/anim_preloader.amx


Re: Animations work after using it twice? - zT KiNgKoNg - 26.01.2015

Quote:
Originally Posted by Snich
Посмотреть сообщение
As Snich said.


Re: Animations work after using it twice? - Admigo - 26.01.2015

Quote:
Originally Posted by Snich
Посмотреть сообщение
Yes i preloaded the animations already.
Quote:
Originally Posted by dugi
Посмотреть сообщение
I think there's an issue just with that specific animation, did you try others?
It seems some animations got this issue.


Re: Animations work after using it twice? - Kyle - 26.01.2015

The animations work fine for me, didn't work until I preloaded them though. But that's the same with majority of anims.


Re: Animations work after using it twice? - Raidensama - 04.02.2015

it takes two times all the time, or just when it is applied first time?
do you preload libs at spawn? preloading at connection will have no effect


Re: Animations work after using it twice? - kristo - 04.02.2015

http://pastebin.com/MJqFtanE Include this, I made it about a week ago.


Re: Animations work after using it twice? - beckzy - 04.02.2015

Simply pre-load the animation library


Re: Animations work after using it twice? - Need4samp - 04.02.2015

Quote:
Originally Posted by Admigo
Посмотреть сообщение
Hi,

While i am busy with adding animations i noticed most of them needs to be played twice to play normally.
Like when i have a wave command i need to enter the command twice to let the animation work.
I already preloaded the animations but don't work on them.
Like i tested the /fish animation on "samp_anims". I need to enter the command twice to get it work.
More people can confirm this issue?

Admigo
Yes that (y)'