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;
}
ApplyAnimation(playerid,"PED","IDLE_CHAT",2.0,1,0,0,1,1);
that works for me.
with pawn Код:
|
This forum requires that you wait 120 seconds between posts. |
Read ApplyAnimation to understand it yourself and be able to script your own animation!
![]() |