SA-MP Forums Archive
BUG: Animation doesnt play immediately under OnPlayerRequestClass - 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: BUG: Animation doesnt play immediately under OnPlayerRequestClass (/showthread.php?tid=103466)



BUG: Animation doesnt play immediately under OnPlayerRequestClass - Danny_Costelo - 20.10.2009

This bug is pretty basic, it worked fine in 0.2X, when first connecting, and using ApplyAnimation on the first skin (case 0), it does not play, after shuffling back and forth, it than plays the animation.

SetPlayerSpecialAction also does not work under OnPlayerRequest class, the special action is only played once, and never repeated, even when using a different action on a different skin.

The bugs above weren't present in 0.2X..


Re: BUG: Animation doesnt play immediately under OnPlayerRequestClass - GMusicOn - 20.10.2009

Works fine for me though.
I have special action under my OnPlayerRequestClass and it works great.


Re: BUG: Animation doesnt play immediately under OnPlayerRequestClass - Karlip - 20.10.2009

Works for me.


Re: BUG: Animation doesnt play immediately under OnPlayerRequestClass - JosipBerozTito - 20.10.2009

Quote:
Originally Posted by Karlip
Works for me.
same.


Re: BUG: Animation doesnt play immediately under OnPlayerRequestClass - Danny_Costelo - 22.10.2009

The first bug isn't toughly tested, it's probably my gamemode..

Quote:

SetPlayerSpecialAction also does not work under OnPlayerRequest class, the special action is only played once, and never repeated, even when using a different action on a different skin.

^ That still exists, I have tested it MULTIPLE times..


Re: BUG: Animation doesnt play immediately under OnPlayerRequestClass - Claude_Speed - 23.10.2009

If you look at Grand Larceny script, there is function that preloads the anims, i guess its because the first time you see the anim, it will not work, instead it will "Load" like the script do... Ah WTF im bad at explains, whatever i hope you understand!.