Why sometimes the animations doesn't work?
#1

When it doesn't work, I flood the /crack, example, to work.


How can I make sure that the anim will work for the first time?
Reply
#2

I don't know the reason of it, but look that : https://sampforum.blast.hk/showthread.php?tid=292813
Reply
#3

Preload the anim library

pawn Код:
stock PreloadAnimLib(playerid, animlib[])
    ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0);
Reply
#4

Quote:
Originally Posted by Mionee
Посмотреть сообщение
Preload the anim library

pawn Код:
stock PreloadAnimLib(playerid, animlib[])
    ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0);
Thank you.

But when I use it? Before any animation, right?

And can I use like this?
pawn Код:
#define PreloadAnimLib(%0,%1)   ApplyAnimation(%0,%1,"null",0.0,0,0,0,0,0)
Reply
#5

You should preload them when a player connects/spawns, & yes
Reply
#6

Just once?
Reply
#7

Yes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)