15.12.2012, 19:54
Hey guys, I have a problem. You know when you talk IG, it will apply the chat animation that people scripted in like this:
Works perfectly, but DURING the animation talking. It freezes the player. I want the player to move and talk not freeze him while the animation is running. Like move and anim.
I can't seem to fix it, the 3rd last param which is the freeze, I edited it to 0. But no solve.
I'd like a solution, thanks.
pawn Код:
public OnPlayerText(playerid, text[])
{
if (realchat)
{
new string[128];
format(string, sizeof(string), "%s says: %s", GetName(playerid), text);
ProxDetector(30.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
format(string, sizeof(string), "says: %s", text);
SetPlayerChatBubble(playerid,string,COLOR_WHITE,5.0,5000);
ApplyAnimation(playerid,"PED","IDLE_chat",0,0,0,0,0,3000,1);
return 0;
}
return 1;
}
I can't seem to fix it, the 3rd last param which is the freeze, I edited it to 0. But no solve.
I'd like a solution, thanks.