Is player talks, use OnePlayAnim(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0 ,0);
#3

pawn Code:
public OnPlayerText(playerid, text[])
{
   ApplyAnimation(playerid, "PED", "IDLE_CHAT", 4.0, 0, 0, 0, 1, 1);
   SetTimerEx("StopChat", 1000, false, "i", playerid);
   return 1;
}

forward StopChat(playerid);
public StopChat(playerid)
{
   ClearAnimations(playerid);
   return 1;
}
Something like that.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)