Animation probleme - 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: Animation probleme (
/showthread.php?tid=164016)
Animation probleme -
[Ask]Terminator - 29.07.2010
When i create an animation command it doesnt play it with once but at the 2nd time i type the cmd it works
Can anyone help me because my script need to be plaid at the first time , Thanks !!
Re: Animation probleme -
Carlton - 29.07.2010
You have to preload the animation.
Re: Animation probleme -
ikey07 - 29.07.2010
Game need to Load anims from game files, you need to preload anim library at playerspawn
use this one anywhere in script but NOT UNDER something.
pawn Код:
PreloadAnimLib(playerid, animlib[])
{
ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0);
}
and OnPlayerSpawn
pawn Код:
PreloadAnimLib(playerid,animlib[]);
Re: Animation probleme -
[Ask]Terminator - 29.07.2010
I get this error?
error 017: undefined symbol "animlib"
Re: Animation probleme -
Kayla.S - 29.07.2010
Look at the the FS that came with the sa-mp package. Called gl_actions. It does exactly what you want. Just incorporate it into your GM or just use it as a FS, and add more animations like I did.