30.06.2013, 14:23
its just an example haha but here you go
pawn Код:
public OnPlayerText(playerid, text[])
{
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",2.0,1,0,0,1,1);
return 1;
}