Walking while 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: Walking while talking (animation) (
/showthread.php?tid=613651)
Walking while talking (animation) -
darkhunter332 - 30.07.2016
Hey everyone,
When i talk with someone,
My character freezes till the animation ends,
Any idea how to able walking and talking at the same time?
Код:
format(str, sizeof(str), "%s says : %s", GetICName(playerid), text);
SendNearByMessage(playerid, WHITE, str, 5);
ICLog(str);
new Length = strlen(text);
new TalkTime = Length*100;
ApplyAnimation(playerid,"PED","IDLE_chat", 4.1, 0, 1, 1, 0, TalkTime);
KillTimer(Server[StopTalkingAnimation]);
Server[StopTalkingAnimation] = SetTimerEx("StopTalkingAnim", TalkTime, 0, "d", playerid);
Re: Walking while talking (animation) -
SetPlayerNameTag - 30.07.2016
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1, 1,1,TalkTime);
Re: Walking while talking (animation) -
darkhunter332 - 30.07.2016
Still doesn't work.
Re: Walking while talking (animation) -
Hayden_Almeida - 29.11.2016
Quote:
Originally Posted by darkhunter332
Still doesn't work.
|
Me too. Character stop to talk and come back walk after the anim stops.