Animation freezes*********?? xD
#1

I got this command:

Code:
dcmd_r(playerid, params[])
	{
	  if(PlayerInfo[playerid][pMember] != 1) return 1;
	  if(params[0] == 0) return SendClientMessage(playerid,COLOR_DARKRED,"Usage: /r <message>");
    for ( new i = 0; i < MAX_PLAYERS; i++ )
		{
			if(PlayerInfo[i][pMember] == 1)
			{
			  new pName[MAX_PLAYER_NAME],string[256];
	  		GetPlayerName(playerid,pName,sizeof(pName));
			  format(string,sizeof(string),"((Radio %s: %s))",pName,params[0]);
			  ApplyAnimation(playerid,"ped","phone_talk",6.0,0,1,1,0,1000);
		  	SendClientMessage(i,COLOR_LIGHTBLUE,string);
			}
		}
		return 1;
	}
It's supposed to be working like this:

/r <message>

then player will apply a animation that causes his right hand to go up to his ear and down...

BUT, when the hand goes up the player gets frozen...

I don't want it to be like that. I want the player be able to run at the same time as the animation...

Help please? =)
Reply
#2

pawn Code:
ApplyAnimation(playerid,"ped","phone_talk",6.0,0,1,1,0,1000);
ApplyAnimation(playerid, animlib[], animname[], Float:fS, opt1, opt2, opt3, opt4, opt5)
Try

pawn Code:
ApplyAnimation(playerid,"ped","phone_talk",6.0,0,1,1,0,1000);
And if that doesn't work change opt4 to 1 and see if it works.
Reply
#3

Already tested that... Don't work
Reply
#4

Id like to know that too...
Reply
#5

Quote:
Originally Posted by KeyWay
Id like to know that too...
Me too? ANyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)