Question about animations
#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


Messages In This Thread
Question about animations - by cyber_punk - 09.03.2009, 04:13
Re: Question about animations - by thuron - 10.03.2009, 07:53

Forum Jump:


Users browsing this thread: 2 Guest(s)