[HELP]IDLE_CHAT
#4

on top of script:
pawn Код:
forward anim(playerid);
pawn Код:
public OnPlayerText(playerid, text[])
{
    if (strfind(text, "yo") != -1)
  {
    ApplyAnimation(playerid, "PED", "IDLE_chat", 4.1, 0, 1, 1, 0,3000);
    SetTimerEx("anim", 2000, false, "i", playerid); //THANKS FOR DON CORRELI FOR THIS SETTIMEREX!

  }
  return 1;
and for settimerex i used the wiki cose i have only used settime till now so if there's any problem with it, ya know ima noob that had to check the wiki xD lol
then create this callback:
pawn Код:
public anim(playerid)
{
  ClearAnimations(playerid);
  return 1;
}
i didnt test anything but i think it works!
Reply


Messages In This Thread
[HELP]IDLE_CHAT - by Lilcuete - 19.12.2009, 12:52
Re: [HELP]IDLE_CHAT - by _[HuN]_Epsilon_ - 19.12.2009, 18:30
Re: [HELP]IDLE_CHAT - by Lilcuete - 19.12.2009, 20:40
Re: [HELP]IDLE_CHAT - by patchkinson - 19.12.2009, 20:52
Re: [HELP]IDLE_CHAT - by Correlli - 19.12.2009, 20:54
Re: [HELP]IDLE_CHAT - by patchkinson - 19.12.2009, 20:56
Re: [HELP]IDLE_CHAT - by Correlli - 19.12.2009, 20:57
Re: [HELP]IDLE_CHAT - by patchkinson - 19.12.2009, 20:58
Re: [HELP]IDLE_CHAT - by Correlli - 19.12.2009, 21:05
Re: [HELP]IDLE_CHAT - by patchkinson - 19.12.2009, 21:19

Forum Jump:


Users browsing this thread: 3 Guest(s)