SA-MP Forums Archive
[HELP] Player chat anim when typing - 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: [HELP] Player chat anim when typing (/showthread.php?tid=249348)



[HELP] Player chat anim when typing - Fredden1993 - 18.04.2011

I need something that applies the IDLE_CHAT animation if you type something ingame. I don't want the player to freeze I also want it to stop after a few seconds and reset the player to normal, I odn't want the player stuck in the animation if you know what I mean. :P

Thanks!


Re: [HELP] Player chat anim when typing - Rivera - 18.04.2011

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