SA-MP Forums Archive
[HELP] Antimations BUG - 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: [HELP] Antimations BUG (/showthread.php?tid=305740)



[HELP] Antimations BUG - c0GI - 23.12.2011

Hy everyone, I am using a RolePlayer gamemod server, and I have a Animations 160+ v.1.2f, and it work great!!! But I have a little problem with that script!!! When I use any Animation, the player next to me see an animation. But in my view, the charter(my man) is standing normaly(I dont see the animation)!!!!


Can anyone give explain to me, how i fix that or you do it for me?? PLEASE



Sorry for my bad English! :S


Re: [HELP] Antimations BUG - Mini` - 23.12.2011

Can you show some of the code for an animation?


Re: [HELP] Antimations BUG - c0GI - 23.12.2011

Yes, here is the code of Animation "/sit"

Quote:

if(strcmp(cmd, "/sit", true) == 0)
{
if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT) { return 1; }
if (!strlen(cmdtext[5])) return SendClientMessage(playerid,COLOR_USAGE,"TIP: /sit [1-4]");
switch (cmdtext[5])
{
case '1': BackAnim(playerid,"PED","SEAT_down",4.1,0,1,1,1,0, ;
case '2': LoopingAnim(playerid,"MISC","seat_lr",2.0,1,0,0,0, 0);
case '3': LoopingAnim(playerid,"MISC","seat_talk_01",2.0,1,0 ,0,0,0);
case '4': LoopingAnim(playerid,"MISC","seat_talk_02",2.0,1,0 ,0,0,0);
default: SendClientMessage(playerid,COLOR_USAGE,"TIP: /sit [1-4]");
}
return 1;
}




Re: [HELP] Antimations BUG - c0GI - 23.12.2011

That is a code!


Re: [HELP] Antimations BUG - IceCube! - 23.12.2011

EDIT:REMOVED - BUmping after a short time. Will be posted again in a few.

Learn some manners and wait people are replying as you bump your post.


Re: [HELP] Antimations BUG - Mini` - 23.12.2011

Mmhmmm. What is the LoopingAnim code? It's not native therefore you must show me that as well. Sorry, I'm too lazy to search for the Filterscript and figure it out myself.

Seems like the guy above knows what's wrong... I'll leave it to him, because I have no idea


Re: [HELP] Antimations BUG - IceCube! - 23.12.2011

Can I see your stock for LoopingAnim please?


Re: [HELP] Antimations BUG - c0GI - 23.12.2011

Yes but IceCube! i dont know what is LoopingAnim :S Explain me ))


Re: [HELP] Antimations BUG - IceCube! - 23.12.2011

Go into Pawno open your script.

Press Control + f

Type in the box: Stock LoopingAnim(

Then copy the whole code to the end of the stock.

Then post it here.


Re: [HELP] Antimations BUG - c0GI - 23.12.2011

okej! just a minute