29.12.2011, 21:43
Thx, it works, it comes in a bubble but it also comes in the chat, how can I get rid of that? Im up to there:
And how can I edit that '.' bit so now it also gives a bubble when you put "!!" after the text?
pawn Код:
if(text[0]=='.')
{
SetPlayerChatBubble(playerid, ((text[1])), COLOR_LIGHTLIGHTBLUE, 15.0, 7000);
return 1;
}
else
{
new string[256];
new sendername[MAX_PLAYER_NAME];
if(gPlayerLogged[playerid] == 0)
{
return 0;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s mуwi: %s", sendername, text);
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0,0,4,4);
return 0;
}