player anim talk ? - 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: player anim talk ? (
/showthread.php?tid=414538)
player anim talk ? -
Yves - 09.02.2013
Hello i been wanting to know for a long time now i seen this on a few servers but how do i make it like when a player talks in the chat how do i make it like so it does a anim at the same time when talking etc Thanks guys
Re: player anim talk ? -
park4bmx - 09.02.2013
Under "OnPlayerText"
Add
pawn Код:
public OnPlayerText(playerid, text[])
{
AApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,1,1,1,0,aTime);
return 1;
}
Not sure if its the right Anim, but that should get you started.
NOTE: you will need I clear the Anim if the text is not so long etc.
Re: player anim talk ? -
Yves - 09.02.2013
thanks bro
Re: player anim talk ? -
Yves - 09.02.2013
its the wrong anim i think but i get a undefined error Atime
Re: player anim talk ? -
Noles2197 - 09.02.2013
Quote:
Originally Posted by Yves
its the wrong anim i think but i get a undefined error Atime
|
Try replacing "Atime" with the time in milliseconds that you want the animation to run.