Animation dosent work the first time but second
#1

Hello,

I have this code:

pawn Код:
PreloadAnimLib(playerid,"FOOD");
ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,1,1,1,1,1);
ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,1,1,1,1,1);
And if i type in the command, Nothing happens,
If i type it again it does the animation,
Does anyone know what im doing wrong
Reply
#2

Anyone?
Reply
#3

put the PreloadAnimLib in OnPlayerSpawn
Reply
#4

Nope still have to do it twice
Reply
#5

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by GMusicOn
Does the animation needs to be "preloaded" or something like that?
Yes, there's an animation filterscript in the samp-server-package. Check it out.
meaning, compare the animation fs included to your script
Reply
#6

try a timer that plays that animation after 250 miliseconds
Reply
#7

Quote:
Originally Posted by Rizard
Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by GMusicOn
Does the animation needs to be "preloaded" or something like that?
Yes, there's an animation filterscript in the samp-server-package. Check it out.
meaning, compare the animation fs included to your script
Im following what Don Correlli has told me before.. Or joe staff, I cant remember,
But i got preloadanimlib from vactions.pwn, It used to work but it dont want to anymore
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)