SA-MP Forums Archive
error 017: undefined symbol "animlib" - 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: error 017: undefined symbol "animlib" (/showthread.php?tid=276182)



error 017: undefined symbol "animlib" - samtey - 12.08.2011

Hi!

I need this to preload the animations of the library filterscript gl_actions!

I got this under OnPlayerSpawn:
PreloadAnimLib(playerid,animlib[]);

and this under

OnPlayerDeath
ApplyAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync);
ClearAnimations(playerid);

Without the filterscript, the animation won't load!


AW: error 017: undefined symbol "animlib" - samtey - 12.08.2011

Please, anybody?


Re: error 017: undefined symbol "animlib" - MadeMan - 12.08.2011

Quote:
Originally Posted by samtey
Посмотреть сообщение
I need this...
Need what?


AW: error 017: undefined symbol "animlib" - samtey - 12.08.2011

PHP код:
    public OnPlayerDeath(playeridkilleridreason)
    {
    
        
ApplyAnimation(playeridanimlib[], animname[], Float:fDeltalooplockxlockyfreezetimeforcesync);
        
ApplyAnimation(playerid"KNIFE""KILL_Knife_Ped_Die"4.1011101); //THIS I NEED THIS 
It doesn't work, when a player dies! Dunno what to do!


AW: error 017: undefined symbol "animlib" - samtey - 12.08.2011

Please, anybody help me!


Re: error 017: undefined symbol "animlib" - veyron - 12.08.2011

delete first ApplyAnimation()