30.07.2016, 06:12
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?
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);