Talking animation
#1

Hello.
Does anyone have the name of the animation that allows you to talk and walk AT THE SAME TIME? I've searched the forums and found nothing.

Here's my OnPlayerText function before anyone starts talking bulls**t about how I could have frozen my character or something like that:

Код:
public OnPlayerText(playerid, text[])
{
	new czat[256]; format(czat, sizeof(czat), "%s mуwi: %s", PlayerName(playerid), text);
	SendLocalMessageToAll(playerid, 16.0, czat, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
	new czas = strlen(text) * 200;
	ApplyAnimation(playerid, "PED", "IDLE_CHAT", 4.0, 1, 1, 1, 0, czas);
	return 0;
}
Reply
#2

BUMP!
Reply
#3

Maybe it's this, I didn't test it.
pawn Код:
ApplyAnimation(playerid, "MISC", "Idle_Chat_02", 4.1, 0, 1, 1, 1, 1);
Or try with these:
pawn Код:
ApplyAnimation(playerid,"GHANDS","gsign4LH",4.1,0,1,1,1,1);
ApplyAnimation(playerid,"GHANDS","gsign5",4.1,0,1,1,1,1);
Good luck.
Reply
#4

You got the correct animation, is just that you messed up the lockx & locky parameters. Here:
pawn Код:
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,0,0,0,czas);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)