SA-MP Forums Archive
Animations not working - 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)
+--- Thread: Animations not working (/showthread.php?tid=278795)



Animations not working - Adler - 24.08.2011

It doesn't matter what anim FS I use... nothing happens when I try using anim commands (Ex: /animwalk 1) on my server. Can anyone help me? Thanks!


Re: Animations not working - =WoR=G4M3Ov3r - 24.08.2011

Wrong section.

And what Anim FS are you using ?, and when you try an anim, it gives you "Unknown Command" ?.. Give some Details.


Re: Animations not working - Adler - 24.08.2011

Sorry didn't know what section to post in haha.

I tried using Animations 160 v1.2 (along with some other filterscripts); that didn't work, so right now im trying to use animations 1-3 (I think thats what it's called) by woozie, cause it's awesome!

But yeah, as I said before, nothing happens when I type a command listed as an anim in the filterscript.
/animhelp, /asahelp, /animlist 1/2 etc works and the text shows up but when I type something (like /animswat 1-12 for example) my character doesn't do the animation.


Re: Animations not working - =WoR=Varth - 24.08.2011

You have this code?

pawn Код:
public OnPlayerSpawn(playerid)
{
    PreloadAnimLib(playerid,"BOMBER");
    PreloadAnimLib(playerid,"RAPPING");
    PreloadAnimLib(playerid,"SHOP");
    PreloadAnimLib(playerid,"BEACH");
    PreloadAnimLib(playerid,"SMOKING");
    PreloadAnimLib(playerid,"FOOD");
    PreloadAnimLib(playerid,"ON_LOOKERS");
    PreloadAnimLib(playerid,"DEALER");
    PreloadAnimLib(playerid,"CRACK");
    PreloadAnimLib(playerid,"CARRY");
    PreloadAnimLib(playerid,"COP_AMBIENT");
    PreloadAnimLib(playerid,"PARK");
    PreloadAnimLib(playerid,"INT_HOUSE");
    PreloadAnimLib(playerid,"FOOD" );
    AnimON{playerid} = true;
    return 1;
}

stock PreloadAnimLib(playerid,animlib[])//None
{
    ApplyAnimation(playerid,animlib,"null",0,0,0,0,0,1);
    return 1;
}



Re: Animations not working - Adler - 24.08.2011

nope... my script is PEN 1


Re: Animations not working - =WoR=Varth - 24.08.2011

Add that code to your script except "AnimON{playerid} = true;" lol I miss copy-paste it from Smart Chat.


Re: Animations not working - Adler - 24.08.2011

C:\Program Files (x86)\Rockstar Games\server --- samp03csvr_win32\gamemodes\pen1sa89999.pwn(3502) : warning 219: local variable "house" shadows a variable at a preceding level
C:\Program Files (x86)\Rockstar Games\server --- samp03csvr_win32\gamemodes\pen1sa89999.pwn(4165) : warning 219: local variable "house" shadows a variable at a preceding level
C:\Program Files (x86)\Rockstar Games\server --- samp03csvr_win32\gamemodes\pen1sa89999.pwn(5061) : error 001: expected token: ";", but found "-identifier-"
C:\Program Files (x86)\Rockstar Games\server --- samp03csvr_win32\gamemodes\pen1sa89999.pwn(5065) : error 001: expected token: ";", but found "-identifier-"
C:\Program Files (x86)\Rockstar Games\server --- samp03csvr_win32\gamemodes\pen1sa89999.pwn(5072) : error 028: invalid subscript (not an array or too many subscripts): "ApplyAnimation"
C:\Program Files (x86)\Rockstar Games\server --- samp03csvr_win32\gamemodes\pen1sa89999.pwn(5072) : error 017: undefined symbol "player"
C:\Program Files (x86)\Rockstar Games\server --- samp03csvr_win32\gamemodes\pen1sa89999.pwn(5072) : error 029: invalid expression, assumed zero




Re: Animations not working - Adler - 25.08.2011

bump

anyone?