View Single Post
Old 30/05/2010, 12:55 PM   #3
Lewwy
High-roller
 
Lewwy's Avatar
 
Join Date: Nov 2007
Location: Scotland
Posts: 1,043
Reputation: 5
Default Re: Is player talks, use OnePlayAnim(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0 ,0);

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.
Lewwy is offline