Problema
#4

pawn Код:
if( !strcmp(cmdtext,"/g", true,2))
{
    if(!strlen(cmdtext[2])) return SendClientMessage(playerid, 0xAFAFAFAA, "USAGE: /g [text]");
    if(gTeam[playerid] != TEAM_GROVE) return false;
    new playername[MAX_PLAYER_NAME], string[128];
    GetPlayerName(playerid, playername, sizeof(playername) );
    format(string, sizeof(string), " *TeamChat [%s]: %s", playername, cmdtext[2]);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
      if(gTeam[i] == TEAM_GROVE)
      {
        SendClientMessage(i, 0xAFAFAFAA, string);
      }
      return true;
    }
    return false;
}
________
Rock_Babe
Reply


Messages In This Thread
Problema - by Hor1z0n - 09.11.2009, 19:04
Re: Problema - by Farsek - 10.11.2009, 03:12
Re: Problema - by xxmitsu - 10.11.2009, 10:58
Problema - by [NoV]LaZ - 10.11.2009, 14:26
Re: Problema - by _V1rTu4L_ - 11.11.2009, 12:29
Re: Problema - by MJ! - 28.11.2009, 21:03
Re: Problema - by [BFN]Stunter - 29.11.2009, 07:19

Forum Jump:


Users browsing this thread: 1 Guest(s)