View Single Post
Old 30/05/2010, 04:01 PM   #4
Tr1viUm
Big Clucker
 
Tr1viUm's Avatar
 
Join Date: Dec 2006
Posts: 143
Reputation: 0
Default Re: Is player talks, use OnePlayAnim(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0 ,0);

I don't get why people don't use the internal ApplyAnimation timer.

Code:
public OnPlayerText(playerid, text[]){
  ApplyAnimation(playerid,"PED","IDLE_CHAT",3.8,1,1,1,0,1000);
  return 1;
}
1000 is the time in miliseconds. For your information, 1000 miliseconds is 1 second.
Tr1viUm is offline