SA-MP Forums Archive
Talking 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Talking Anim. (/showthread.php?tid=140215)



Talking Anim. - Steven82 - 08.04.2010

How to make so when a player does types anything it shows a talking animation?


Re: Talking Anim. - -Rebel Son- - 08.04.2010

Check if the player is typing, and once if Sent, set the animation. i believe


Re: Talking Anim. - Steven82 - 08.04.2010

I don't understand the coding for it though.


Re: Talking Anim. - Jay. - 08.04.2010

I found it i think



Код:
public OnPlayerText(playerid, text[])
{ApplyAnimation(playerid,"ANIMTYPE","THEANIM",2.1,1,1,1,1,0);
	return 1;
}

SORRY I don't know the animation for it Maybe u can find it at sa-mp wiki


Re: Talking Anim. - johnathon956 - 08.04.2010

Quote:
Originally Posted by ("GгNSTг")
I found it i think



Код:
public OnPlayerText(playerid, text[])
{ApplyAnimation(playerid,"ANIMTYPE","THEANIM",2.1,1,1,1,1,0);
	return 1;
}

SORRY I don't know the animation for it Maybe u can find it at sa-mp wiki
whats the anim names


Re: Talking Anim. - johnathon956 - 08.04.2010

pawn Код:
public OnPlayerText(playerid,text[])
{
    ApplyAnimation(playerid,"PED","phone_talk",2.1,1,1,1,1,0);
    return 1;
}



Re: Talking Anim. - Steven82 - 08.04.2010

Quote:
Originally Posted by johnathon956
pawn Код:
public OnPlayerText(playerid,text[])
{
    ApplyAnimation(playerid,"PED","phone_talk",2.1,1,1,1,1,0);
    return 1;
}
Fail this makes them look like they talking on a phone


Re: Talking Anim. - johnathon956 - 08.04.2010

Quote:
Originally Posted by Steven82
Quote:
Originally Posted by johnathon956
pawn Код:
public OnPlayerText(playerid,text[])
{
    ApplyAnimation(playerid,"PED","phone_talk",2.1,1,1,1,1,0);
    return 1;
}
Fail this makes them look like they talking on a phone
yeah i know


Re: Talking Anim. - Steven82 - 08.04.2010

Quote:
Originally Posted by johnathon956
Quote:
Originally Posted by Steven82
Quote:
Originally Posted by johnathon956
pawn Код:
public OnPlayerText(playerid,text[])
{
    ApplyAnimation(playerid,"PED","phone_talk",2.1,1,1,1,1,0);
    return 1;
}



Fail this makes them look like they talking on a phone
yeah i know
Haha thank though you got me to understand animations, thanks man.

but how do i stop animation with a command, like
Код:
/drunk



Re: Talking Anim. - DeadalusNetwork - 08.04.2010

Do the same thing maybe and apply the animation of "chat"