Bubble chat
#7

I added it, but the text comes on chat with .text

pawn Код:
public OnPlayerText(playerid, text[])
{
    if(!strcmp(text[0], ".", true))
    {
        SetPlayerChatBubble(playerid, text[1], 0xFF0000FF, 100.0, 10000);
        return 0;
    }
    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;
}
Reply


Messages In This Thread
Bubble chat - by HondaCBR - 28.12.2011, 23:55
Re: Bubble chat - by rinori - 29.12.2011, 00:02
Re: Bubble chat - by HondaCBR - 29.12.2011, 07:21
Re: Bubble chat - by Oh - 29.12.2011, 07:23
Re: Bubble chat - by HondaCBR - 29.12.2011, 07:53
Re: Bubble chat - by [ABK]Antonio - 29.12.2011, 08:13
Re: Bubble chat - by HondaCBR - 29.12.2011, 08:21

Forum Jump:


Users browsing this thread: 1 Guest(s)