25.06.2014, 14:08
Hey guys I was wondering how to allow a person to move while performing a talking animation.
I am using this to set the player animation while he talks:
I am using this to set the player animation while he talks:
pawn Код:
new Length = strlen(text);
new TalkTime = Length*100;
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,1,0,0,1,TalkTime);
KillTimer(Server[StopTalkingAnimation]);
Server[StopTalkingAnimation] = SetTimerEx("StopTalkingAnim", TalkTime, 0, "d", playerid);
return 0;