SA-MP Forums Archive
Quick Help - 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: Quick Help (/showthread.php?tid=378091)



Quick Help - ThomasCarter - 16.09.2012

Okay guys, I need to get my script up and running in 3 days now. So, In my pd i have doors commanded by Key_Secondary_Fire, But i want an animation. I have everything together. I just need the ID Card Animation swipe ANIM ID so it looks like they swipe a card.

Код:
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
     	if(IsPlayerInRangeOfPoint(playerid, 4.0, 1849.32995605,-1714.31005859,5201.54003906))
        {
            ApplyAnimation(playerid,"DEALER","shop_pay",4.1,0,0,0,0,1,0);
            PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
            MoveDynamicObject(door1,1849.32995605-1.25,-1714.31005859,5201.54003906,0.50);
            SetTimer("pddoor0", 4000, 0);
            return 1;
		}
This is the code i am using, But SHOP_PAY, Is him giving cash. I need the Anim that looks like hes swiping a card Thnx

First One To Help me out will get rep


Re: Quick Help - clarencecuzz - 16.09.2012

pawn Код:
ApplyAnimation(playerid, "HEIST9", "Use_SwipeCard", 4.0, 0, 0, 0, 0, 0); //Card Swipe