Onplayertext Anim - 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: Onplayertext Anim (
/showthread.php?tid=481412)
Onplayertext Anim -
eliaslandquist - 15.12.2013
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;
}
Re: Onplayertext Anim -
arakuta - 15.12.2013
Stop the loop, set de 5th paramenter to 0.