/c <text>
#2

I think that this code can solve your problem:


pawn Код:
dcmd_c(playerid,params[])
{
    new string[128],
    new string2[128];
    new name[30];
    GetPlayerName(playerid, name, 30);
    if (sscanf(params, "s",string2)) SendClientMessage(playerid, cinza, "/c <texto>");
    format(string, sizeof(string),"%s [ID:%d]: %s", name, playerid, string2);
    foreach (Player, i)
    {
      if(GetPlayerTeam(playerid) == GetPlayerTeam(i))
      {
        SendClientMessage(i, agua, string);
      }
    }
    return 1;
}

I hope that i have helped
Reply


Messages In This Thread
/c <text> - by blackwave - 12.12.2010, 15:03
Re: /c <text> - by rjjj - 12.12.2010, 15:31
Re: /c <text> - by blackwave - 12.12.2010, 15:40

Forum Jump:


Users browsing this thread: 1 Guest(s)