Help 2 Problems[rep]
#2

Try this;
pawn Код:
if( realchat )
    {
        new
            msg[ 128 ]
        ;
       
        if( !gPlayerLogged[ playerid ] )
            return 0;

        text[0] = toupper(text[0]);
       
        if( PlayerInfo[ playerid ][ pAdmin ] > 0 )
        {
            new Colors[] = { COLOR_WHITE, COLOR_YELLOW, COLOR_LIGHTGREEN, TEAM_ORANGE_COLOR, TEAM_GROVE_COLOR, 0x008100AA };
           
            format( msg, 128, "%s", text[ 0 ] );
            SetPlayerChatBubble( playerid, msg, Colors[ random( sizeof( Colors ) ) ], 50.0, 5000 );
        }
       
        if( PlayerInfo[ playerid ][ pAdmin ] > 0 )
            format( msg, 128, "%s", text[ 0 ] );
        else {
            GetPlayerName( playerid, sendername, 24 );
           
            format( msg, 128, "{247BFF}%s Spune: {FF3F0F}%s", sendername, text[ 0 ] );
            ProxDetector( 20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5 );
        }
       
        return 0;
    }
Reply


Messages In This Thread
Help 2 Problems[rep] - by Dan_Barocu - 22.02.2012, 15:46
Re: Help 2 Problems[rep] - by Toreno - 22.02.2012, 16:18
Re: Help 2 Problems[rep] - by Dan_Barocu - 22.02.2012, 16:51
Re: Help 2 Problems[rep] - by Toreno - 22.02.2012, 17:05
Re: Help 2 Problems[rep] - by Dan_Barocu - 22.02.2012, 17:37
Re: Help 2 Problems[rep] - by Dan_Barocu - 22.02.2012, 19:53
Re: Help 2 Problems[rep] - by Dan_Barocu - 22.02.2012, 21:05
Re: Help 2 Problems[rep] - by Madd Kat - 22.02.2012, 22:42
Re: Help 2 Problems[rep] - by Dan_Barocu - 23.02.2012, 15:38

Forum Jump:


Users browsing this thread: 2 Guest(s)