Question about animations
#1

(F.Y.I I searched.....)

I have a question about animations, from what I have messed around with I decided to ask the experts (cuz so far it doesn't seem possible), but what I wanted to do was to Apply one animation after another (in a /command), no matter what I try it just applys one of the animations so my question is, Is it possible to string together animations? (one animation plays out then immediately another animation picks up)


Reply
#2

i think you have to do it like this then:
Код:
 if (strcmp("/anim", cmdtext, true) == 0)
	{
	  if(gFreeze[playerid] == 0)
	  {
			OnePlayAnim(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0);
			gLoopingAnim[playerid] = 1;
			return 1;
		}
		else
		{
 			SendClientMessage(playerid, COLOR_RED, "Applying animations while frozen is not allowed!");
 			return 1;
		}
          SetTimer("message",1000,false);
{
	  if(gFreeze[playerid] == 0)
		{
			OnePlayAnim(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
			gLoopingAnim[playerid] = 1;
			return 1;
		}
		else
		{
 			SendClientMessage(playerid, COLOR_RED, "Applying animations while frozen is not allowed!");
 			return 1;
		}
	}
	}
I dont know if it works.I just did it from scratch, I hope for you it works

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)