Chat team problem
#4

pawn Код:
if(!strcmp(cmdtext, "/t", true, 2))
    {
        new gTeam[MAX_PLAYERS];
        new string[128], Player[MAX_PLAYER_NAME];
        GetPlayerName(playerid, Player, MAX_PLAYER_NAME);
        format(string, 128, "Equipe: %s: %s", Player, cmdtext[2]);
        for(new i=0; i<MAX_PLAYERS; i++) if(gTeam[i]==gTeam[playerid]) SendClientMessage(i, 0xFFFF00FF, string);
        return 1;
    }
Try that
Reply


Messages In This Thread
Chat team problem - by Amator - 27.10.2010, 17:38
Re: Chat team problem - by Jeffry - 27.10.2010, 17:44
Re : Chat team problem - by Amator - 27.10.2010, 17:50
Re: Chat team problem - by Luis- - 27.10.2010, 17:51
Re : Chat team problem - by Amator - 27.10.2010, 17:55
Re: Chat team problem - by Luis- - 27.10.2010, 18:00
Re: Chat team problem - by Jeffry - 27.10.2010, 18:07
Re: Chat team problem - by Luis- - 27.10.2010, 18:08

Forum Jump:


Users browsing this thread: 2 Guest(s)