SA-MP Forums Archive
Talking animation - 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)
+--- Thread: Talking animation (/showthread.php?tid=274871)



Talking animation - Arturo226 - 07.08.2011

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;
}



Re: Talking animation - Shetch - 08.04.2012

BUMP!


Re: Talking animation - [DOG]irinel1996 - 08.04.2012

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.


Re: Talking animation - antonio112 - 08.04.2012

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);