chat animation = frozen
#1

Код:
public OnPlayerText(playerid, text[])
{
	if(pInfo[playerid][IsPlayerMuted] == 1)
    {
    	SendClientMessage(playerid, COLOR_RED, "SERVER: You are muted.");
	}
	else
	{
	    new string[128];
		new Length = strlen(text);
		new TalkTime = Length*100;
		format(string, sizeof(string), "%s says: %s", GetName(playerid), text);
  		ProxDetector(20.0, playerid, string, COLOR_1, COLOR_2, COLOR_3, COLOR_4, COLOR_5);
		ApplyAnimation(playerid, "PED", "IDLE_CHAT", 4.1, 1, 1, 1, 0, TalkTime);
		return 0;
	}
	return 1;
}
i wanna make it so you can walk / talk because right now if you talk you are frozen and the animation plays. can someone teach me how to do that ?
Reply


Messages In This Thread
chat animation = frozen - by noPANDA - 07.04.2017, 10:09
Re: chat animation = frozen - by AndreiWow - 07.04.2017, 11:30
Re: chat animation = frozen - by GoldenLion - 07.04.2017, 12:03
Re: chat animation = frozen - by noPANDA - 07.04.2017, 12:50
Re: chat animation = frozen - by DuyDang2412 - 07.04.2017, 15:23

Forum Jump:


Users browsing this thread: 1 Guest(s)