Chat animation freezes player
#15

pawn Code:
ApplyAnimation(playerid, "PED", "IDLE_CHAT", 4.0, 0, 0, 0, 0, 0, 1); // onplayertext or whatever
SetTimerEx("StopChat", 1000, false, "i", playerid);

forward StopChat(playerid); // bottom of your script
public StopChat(playerid)
{
     return ClearAnimations(playerid);
}
Works for sure, used to be on my server. I know it's not efficient, this code is from a really old script when my code wasn't really efficient at all.
I know it's too much code for one line, but it works.
Reply


Messages In This Thread
Chat animation freezes player - by Thomas. - 17.09.2010, 19:48
Re: Chat animation freezes player - by Vince - 17.09.2010, 19:54
Re: Chat animation freezes player - by Thomas. - 17.09.2010, 19:56
Re: Chat animation freezes player - by Thomas. - 19.09.2010, 08:26
Re: Chat animation freezes player - by Dime - 19.09.2010, 08:29
Re: Chat animation freezes player - by Mauzen - 19.09.2010, 09:34
Re: Chat animation freezes player - by Thomas. - 19.09.2010, 10:21
Re: Chat animation freezes player - by Thomas. - 19.09.2010, 18:00
Re: Chat animation freezes player - by wups - 19.09.2010, 18:53
Re: Chat animation freezes player - by Thomas. - 19.09.2010, 18:57
Re: Chat animation freezes player - by wups - 19.09.2010, 19:04
Re: Chat animation freezes player - by Mike_Peterson - 19.09.2010, 19:05
Re: Chat animation freezes player - by Thomas. - 19.09.2010, 19:43
Re: Chat animation freezes player - by Thomas. - 20.09.2010, 14:55
Re: Chat animation freezes player - by Lewwy - 20.09.2010, 15:45
Re: Chat animation freezes player - by Thomas. - 20.09.2010, 17:53
Re: Chat animation freezes player - by Mike_Peterson - 20.09.2010, 18:09
Re: Chat animation freezes player - by Thomas. - 20.09.2010, 18:21
Re: Chat animation freezes player - by Thomas. - 20.09.2010, 20:32

Forum Jump:


Users browsing this thread: 5 Guest(s)