speaking anim
#1

Hello, where can I find something in the script when someone is speaking in the IC chat (T >> Speak)

that if you type in IC chat that you will do a speaking animation ?
Reply
#2

Use ApplyAnimation.
pawn Код:
ApplyAnimation(playerid, "PED", "IDLE_CHAT", ....);
Reply
#3

and this must be placed under where ?

OnPlayerconnect ?
Reply
#4

No, you should learn the basics before approaching these kinda stuff.
Reply
#5

In the function where he talks ofcourse, otherwise you will make the player do an animation when he connects to the server...
Reply
#6

u can use as a cmd :
for example:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmd, "/chat", true) == 0)
{
ApplyAnimation(playerid, "PED", "IDLE_CHAT", 4.1, 1, 1, 1, 1, 1, 1);
SendClientMessage(playerid, 0xAFAFAFAA, "talking");
return 1;
}
return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)