[Player Class] One animation after Another - 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: [Player Class] One animation after Another (
/showthread.php?tid=146901)
[Player Class] One animation after Another -
Wright - 09.05.2010
Hey Guys,
I've been searching around for about an hour now and can't find anything to do with my request.
I'm trying to get the Player Selection to Do TWO animations, One after another, To make it look like their doing a fighting style.
Example Of my ONE Animation Class
Quote:
else if(classid==1){
SetPlayerPos(playerid,767.0723,-2.0637,1000.7187);
SetPlayerFacingAngle(playerid,180);
SetPlayerInterior(playerid, 5);
SetPlayerCameraPos(playerid,764.4860,-4.1240,1000.7120);
SetPlayerCameraLookAt(playerid,767.0723,-2.0637,1000.7187);
ApplyAnimation(playerid,"PED","FIGHTIDLE",90,1,1,1 ,1,2);}
|
I'm Trying to get it to Play one Animation After Another, Or Two Animations at the Same Time.
Thanks For your Help!
Re: [Player Class] One animation after Another -
Dark_Kostas - 09.05.2010
Create a public and use a
TIMERto execute it.