[Ajuda] Team Chat
#8

Quote:
Originally Posted by feliperch
Посмотреть сообщение
Й uma variбvel tenta assim
pawn Код:
public OnPlayerText(playerid, text[])
{
    if( (text[0] == '#' || text[0] == '@') && strlen(text) > 1)
    {
        for(new i = 0; i < GetMaxPlayers(); i++)
        {
            if(gTeam[i] == TEAM_GREEN)
            {
                new str[128],PlayerName[24];
                GetPlayerName(playerid,PlayerName,sizeof(PlayerName));
                format(str,sizeof(str),"[TEAM CHAT] » %s: %s", PlayerName, text[1]);
                SendClientMessage(i, 0x0080C0AA, str);
            }
        }  
    }
    return 1;
}
Compilou certinho. Obrigado. E Garfild, qual seria a melhor бrea para postar o download do Rivershell que eu estou melhorando?
Reply


Messages In This Thread
[Ajuda] Team Chat - by Wendell_. - 16.05.2011, 18:34
Re: [Ajuda] Team Chat - by TheGarfield - 16.05.2011, 18:46
Re: [Ajuda] Team Chat - by RockFire - 16.05.2011, 18:50
Re: [Ajuda] Team Chat - by Wendell_. - 16.05.2011, 18:51
Re: [Ajuda] Team Chat - by TheGarfield - 16.05.2011, 18:53
Re: [Ajuda] Team Chat - by Wendell_. - 16.05.2011, 18:55
Re: [Ajuda] Team Chat - by RockFire - 16.05.2011, 18:57
Re: [Ajuda] Team Chat - by Wendell_. - 16.05.2011, 19:02
Re: [Ajuda] Team Chat - by TheGarfield - 16.05.2011, 19:02
Re: [Ajuda] Team Chat - by RockFire - 16.05.2011, 19:04

Forum Jump:


Users browsing this thread: 1 Guest(s)