Fishing animation bug
#1

Код:
			SetTimerEx("Fish", 2000, false, "i", playerid);
			TogglePlayerControllable(playerid,0);
			ApplyAnimation(playerid,"SWORD","sword_block",50.0,0,1,0,1,1);
Why sometimes animation works and sometimes not? Is this some kind of sa-mp bug?
Reply
#2

First off, that's not the fishing animation.
Second, you need to explain more. You are not telling us what is going wrong.

Correct parameters for ApplyAnimation:
(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)
Recommended settings:
(playerid, "SWORD", "sword_block", 4.1, 1, 1, 1, 1, 1, 1);
Reply
#3

Quote:
Originally Posted by Crayder
Посмотреть сообщение
First off, that's not the fishing animation.
K den sword_block animation. Much difference

Quote:
Originally Posted by Crayder
Посмотреть сообщение
You are not telling us what is going wrong.
Quote:
Originally Posted by Supermaxultraswag
Посмотреть сообщение
Why sometimes animation works and sometimes not? Is this some kind of sa-mp bug?
I do

Quote:
Originally Posted by Crayder
Посмотреть сообщение
Correct parameters for ApplyAnimation:
(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)
Recommended settings:
(playerid, "SWORD", "sword_block", 4.1, 1, 1, 1, 1, 1, 1);
Still, sometimes animation play, sometimes not
Reply
#4

Try to preload the animlib before you start the animation, see here: https://sampforum.blast.hk/showthread.php?tid=377330
Reply
#5

Also something hilarious about the fishing anim (for the children here): Purple Dilde weapon, crouch, and fishing anim all put together. DO IT TO SEE WHAT HAPPENS!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)