BubbleChat
#5

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:
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;
    }
And how can I edit that '.' bit so now it also gives a bubble when you put "!!" after the text?
Reply


Messages In This Thread
BubbleChat - by HondaCBR - 29.12.2011, 16:12
Re: BubbleChat - by James Coral - 29.12.2011, 16:17
Re: BubbleChat - by HondaCBR - 29.12.2011, 19:25
Re: BubbleChat - by thimo - 29.12.2011, 19:42
Re: BubbleChat - by HondaCBR - 29.12.2011, 21:43
Re: BubbleChat - by Azzeto - 29.12.2011, 21:53
Re: BubbleChat - by HondaCBR - 29.12.2011, 22:36
Re: BubbleChat - by HondaCBR - 30.12.2011, 01:06

Forum Jump:


Users browsing this thread: 1 Guest(s)