pawn Код:
if(strcmp(cmd, "/armaall", true) == 0)
    {
      if(IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COR, "Vocк nгo й administrador!");
      tmp = strtok(cmdtext, idx);
      if(!strlen(tmp)) return SendClientMessage(playerid, COR, "Uso: /dararma [arma] [muniзгo]");
      new arma = strval(tmp);
      tmp = strtok(cmdtext, idx);
      if(!strlen(tmp)) return SendClientMessage(playerid, COR, "Uso: /dararma [id / nome] [arma] [muniзгo]");
      new municao = strval(tmp);
      new gunname[128],string[128],sendername[24];
      GetWeaponName(arma, gunname, sizeof(gunname));
      GetPlayerName(playerid, sendername,sizeof sendername);
      format(string, sizeof(string), "[BCS | Admin] O administrador %s deu a arma %s para todos!", sendername, gunname);
      SendClientMessageToAll(COR, string);
      format(string, sizeof(string), "[BCS | Admin] Vocк deu a arma %s para todos os jogadores.", gunname);
      SendClientMessage(playerid, COR, string);
      for(new i=0; i < MAX_PLAYERS; i++)
        GivePlayerWeapon(i, arma, municao);
    }