Onplayertext Anim
#1

Hello, i do need a help with a thing. I've manged to script the code so your hands move while you are talking. But, do anyone know how i can make it stop freezing?

this is my code:
Код:
    if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {

	new Length = strlen(text);
    new aTime = Length*1000;
    ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,1,1,1,0,aTime);
    return 1;

    }
Reply
#2

Stop the loop, set de 5th paramenter to 0.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)