Wave animation bug
#1

[ame]http://www.youtube.com/watch?v=ujKin0NJ0WI[/ame]

I got this:
pawn Код:
ApplyPlayerAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.5, 0, 0, 0, 0, 1500, 1);
I've made a custom ApplyAnimation to preload the animation libraries.

Why does that bug happen?
Reply
#2

If the animation is working fine then the problem is on your OnPlayerUpdate. Give a look at it.
Reply
#3

Everything is good in OnPlayerUpdate, you know the bug I meant is that you can't see the other player's animation correctly right? Rewatch the video if not,
Reply
#4

Quote:
Originally Posted by Private200
Посмотреть сообщение
If the animation is working fine then the problem is on your OnPlayerUpdate. Give a look at it.
Shut the fuck up, you're talking nonsense.
Reply
#5

Looks like the animation parameters are wrong.
Reply
#6

What exactly is wrong? Here is the stock:

pawn Код:
stock ApplyPlayerAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)
{
    ApplyAnimation(playerid, animlib, "null", fDelta, loop, lockx, locky, freeze, time, forcesync);
    return ApplyAnimation(playerid, animlib, animname, fDelta, loop, lockx, locky, freeze, time, forcesync);
}
Reply
#7

Try:

ApplyAnimation(playerid, "KISSING", "BD_GF_Wave", 4.0, 0, 0, 0, 0, 0);

or

ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.0, 0, 0, 0, 0, 0);

One of those works.
Reply
#8

Kyle, I don't want it to be a never ending loop though..
Reply
#9

Quote:
Originally Posted by YoYo123
Посмотреть сообщение
Kyle, I don't want it to be a never ending loop though..
0 = no loop.
Reply
#10

Quote:

time - Timer in milliseconds. For a never ending loop it should be 0.

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


Forum Jump:


Users browsing this thread: 1 Guest(s)