[Ajuda] Chat
#10

Como disse no outro post seu sobre isso
pawn Код:
public OnPlayerText(playerid, text[])
{
    if(text[0] == '!')
    {
        if(PlayerInfo[playerid][pTorcida] == 1)
        {
            new Nome[24], String[128];
            GetPlayerName(playerid, Nome, sizeof(Nome));
            format(String, sizeof(String), "[Chat Gaviхes da Fiel] %s : %s", Nome, text[1]);
            for(new i = 0; i < MAX_PLAYERS; i++)
            {
                if(VarTorcida[i] == Torcida[playerid])
                {
                   SendClientMessage(i, COLOR_TVP, String);
                   return 0;
                }
            }
        }
    }
    return 0;
}
Reply


Messages In This Thread
Chat - by denis15711 - 24.07.2012, 20:59
AW: Chat - by billy the kid - 24.07.2012, 21:03
Re: Chat - by denis15711 - 24.07.2012, 21:05
Re: Chat - by ViniBorn - 24.07.2012, 21:10
Re: Chat - by leonardo1434 - 24.07.2012, 21:10
Re: Chat - by denis15711 - 24.07.2012, 21:12
Re: Chat - by ViniBorn - 24.07.2012, 21:16
Re: Chat - by denis15711 - 24.07.2012, 21:24
Re: Chat - by denis15711 - 24.07.2012, 21:38
Re: Chat - by Don_Speed - 24.07.2012, 21:49

Forum Jump:


Users browsing this thread: 6 Guest(s)