How to make a team chat?
#6

pawn Код:
CMD:t(playerid, params[])
{
    if(!isnull(params))
    {
        new string[128];
        format(string,sizeof(string),"[TEAM]%s: %s",GetName(playerid),params);
        foreach(Player, i)
        {
            if(gTeam[i] == gTeam[playerid]) SendClientMessage(i,COLOR_RED, string);
        }
    }
    else return SendClientMessage(playerid, COLOR_WHITE, "Usage: /t(eam) [Text]");
    return 1;
}
Reply


Messages In This Thread
How to make a team chat? - by rangerxxll - 11.03.2012, 21:36
Re: How to make a team chat? - by AstonDA-G - 11.03.2012, 21:39
Re: How to make a team chat? - by rangerxxll - 11.03.2012, 21:49
Re: How to make a team chat? - by kvsolga - 11.03.2012, 21:55
Re: How to make a team chat? - by AstonDA-G - 11.03.2012, 21:58
Re: How to make a team chat? - by [ABK]Antonio - 11.03.2012, 21:59
Re: How to make a team chat? - by rangerxxll - 11.03.2012, 22:00
Re: How to make a team chat? - by [ABK]Antonio - 11.03.2012, 22:03
Re: How to make a team chat? - by kvsolga - 11.03.2012, 22:07

Forum Jump:


Users browsing this thread: 1 Guest(s)