player anim talk ?
#1

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
Reply
#2

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.
Reply
#3

thanks bro
Reply
#4

its the wrong anim i think but i get a undefined error Atime
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)