Advertisement
Guest User

Untitled

a guest
Jul 26th, 2018
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 354.15 KB | None | 0 0
  1. if (dialogid == DIALOG_MACONHA) {
  2.    if (response) {
  3.       if (listitem == 0) {
  4.          if (Player[playerid][pFaccao] == 1) {
  5.             if (MaconhaFavela[0] < 0) {
  6.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  7.                return 1;
  8.             }
  9.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  10.             Player[playerid][pMaconha] += 10;
  11.             GivePlayerMoney(playerid, -10);
  12.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de maconha! Use: /Mochila");
  13.             MaconhaFavela[0] -= 10;
  14.             DinheiroFavela[0] += 10;
  15.             GuardarMaconha();
  16.             GuardarDinheiro();
  17.          }
  18.          if (Player[playerid][pFaccao] == 2) {
  19.             if (MaconhaFavela[1] < 0) {
  20.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  21.                return 1;
  22.             }
  23.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  24.             Player[playerid][pMaconha] += 10;
  25.             GivePlayerMoney(playerid, -10);
  26.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de maconha! Use: /Mochila");
  27.             MaconhaFavela[1] -= 10;
  28.             DinheiroFavela[1] += 10;
  29.             GuardarMaconha();
  30.             GuardarDinheiro();
  31.          }
  32.          if (Player[playerid][pFaccao] == 3) {
  33.             if (MaconhaFavela[2] < 0) {
  34.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  35.                return 1;
  36.             }
  37.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  38.             Player[playerid][pMaconha] += 10;
  39.             GivePlayerMoney(playerid, -10);
  40.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de maconha! Use: /Mochila");
  41.             MaconhaFavela[2] -= 10;
  42.             DinheiroFavela[2] += 10;
  43.             GuardarMaconha();
  44.             GuardarDinheiro();
  45.          }
  46.          if (Player[playerid][pFaccao] == 4) {
  47.             if (MaconhaFavela[3] < 0) {
  48.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  49.                return 1;
  50.             }
  51.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  52.             Player[playerid][pMaconha] += 10;
  53.             GivePlayerMoney(playerid, -10);
  54.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de maconha! Use: /Mochila");
  55.             MaconhaFavela[3] -= 10;
  56.             DinheiroFavela[3] += 10;
  57.             GuardarMaconha();
  58.             GuardarDinheiro();
  59.          }
  60.          if (Player[playerid][pFaccao] == 5) {
  61.             if (MaconhaFavela[4] < 0) {
  62.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  63.                return 1;
  64.             }
  65.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  66.             Player[playerid][pMaconha] += 10;
  67.             GivePlayerMoney(playerid, -10);
  68.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de maconha! Use: /Mochila");
  69.             MaconhaFavela[4] -= 10;
  70.             DinheiroFavela[4] += 10;
  71.             GuardarMaconha();
  72.             GuardarDinheiro();
  73.          }
  74.          if (Player[playerid][pFaccao] == 6) {
  75.             if (MaconhaFavela[5] < 0) {
  76.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  77.                return 1;
  78.             }
  79.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  80.             Player[playerid][pMaconha] += 10;
  81.             GivePlayerMoney(playerid, -10);
  82.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de maconha! Use: /Mochila");
  83.             MaconhaFavela[5] -= 10;
  84.             DinheiroFavela[5] += 10;
  85.             GuardarMaconha();
  86.             GuardarDinheiro();
  87.          }
  88.          if (Player[playerid][pFaccao] == 7) {
  89.             if (MaconhaFavela[6] < 0) {
  90.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  91.                return 1;
  92.             }
  93.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  94.             Player[playerid][pMaconha] += 10;
  95.             GivePlayerMoney(playerid, -10);
  96.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de maconha! Use: /Mochila");
  97.             MaconhaFavela[6] -= 10;
  98.             DinheiroFavela[6] += 10;
  99.             GuardarMaconha();
  100.             GuardarDinheiro();
  101.          }
  102.          if (Player[playerid][pFaccao] == 8) {
  103.             if (MaconhaFavela[7] < 0) {
  104.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  105.                return 1;
  106.             }
  107.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  108.             Player[playerid][pMaconha] += 10;
  109.             GivePlayerMoney(playerid, -10);
  110.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de maconha! Use: /Mochila");
  111.             MaconhaFavela[7] -= 10;
  112.             DinheiroFavela[7] += 10;
  113.             GuardarMaconha();
  114.             GuardarDinheiro();
  115.          }
  116.          if (Player[playerid][pFaccao] == 9) {
  117.             if (MaconhaFavela[8] < 0) {
  118.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  119.                return 1;
  120.             }
  121.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  122.             Player[playerid][pMaconha] += 10;
  123.             GivePlayerMoney(playerid, -10);
  124.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de maconha! Use: /Mochila");
  125.             MaconhaFavela[8] -= 10;
  126.             DinheiroFavela[8] += 10;
  127.             GuardarMaconha();
  128.             GuardarDinheiro();
  129.          }
  130.       }
  131.       if (listitem == 1) {
  132.          if (Player[playerid][pFaccao] == 1) {
  133.             if (MaconhaFavela[0] < 0) {
  134.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  135.                return 1;
  136.             }
  137.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  138.             Player[playerid][pMaconha] += 20;
  139.             GivePlayerMoney(playerid, -20);
  140.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de maconha! Use: /Mochila");
  141.             MaconhaFavela[0] -= 20;
  142.             DinheiroFavela[0] += 20;
  143.             GuardarMaconha();
  144.             GuardarDinheiro();
  145.          }
  146.          if (Player[playerid][pFaccao] == 2) {
  147.             if (MaconhaFavela[1] < 0) {
  148.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  149.                return 1;
  150.             }
  151.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  152.             Player[playerid][pMaconha] += 20;
  153.             GivePlayerMoney(playerid, -20);
  154.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de maconha! Use: /Mochila");
  155.             MaconhaFavela[1] -= 20;
  156.             DinheiroFavela[1] += 20;
  157.             GuardarMaconha();
  158.             GuardarDinheiro();
  159.          }
  160.          if (Player[playerid][pFaccao] == 3) {
  161.             if (MaconhaFavela[2] < 0) {
  162.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  163.                return 1;
  164.             }
  165.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  166.             Player[playerid][pMaconha] += 20;
  167.             GivePlayerMoney(playerid, -20);
  168.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de maconha! Use: /Mochila");
  169.             MaconhaFavela[2] -= 20;
  170.             DinheiroFavela[2] += 20;
  171.             GuardarMaconha();
  172.             GuardarDinheiro();
  173.          }
  174.          if (Player[playerid][pFaccao] == 4) {
  175.             if (MaconhaFavela[3] < 0) {
  176.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  177.                return 1;
  178.             }
  179.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  180.             Player[playerid][pMaconha] += 20;
  181.             GivePlayerMoney(playerid, -20);
  182.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de maconha! Use: /Mochila");
  183.             MaconhaFavela[3] -= 20;
  184.             DinheiroFavela[3] += 20;
  185.             GuardarMaconha();
  186.             GuardarDinheiro();
  187.          }
  188.          if (Player[playerid][pFaccao] == 5) {
  189.             if (MaconhaFavela[4] < 0) {
  190.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  191.                return 1;
  192.             }
  193.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  194.             Player[playerid][pMaconha] += 20;
  195.             GivePlayerMoney(playerid, -20);
  196.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de maconha! Use: /Mochila");
  197.             MaconhaFavela[4] -= 20;
  198.             DinheiroFavela[4] += 20;
  199.             GuardarMaconha();
  200.             GuardarDinheiro();
  201.          }
  202.          if (Player[playerid][pFaccao] == 6) {
  203.             if (MaconhaFavela[5] < 0) {
  204.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  205.                return 1;
  206.             }
  207.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  208.             Player[playerid][pMaconha] += 20;
  209.             GivePlayerMoney(playerid, -20);
  210.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de maconha! Use: /Mochila");
  211.             MaconhaFavela[5] -= 20;
  212.             DinheiroFavela[5] += 20;
  213.             GuardarMaconha();
  214.             GuardarDinheiro();
  215.          }
  216.          if (Player[playerid][pFaccao] == 7) {
  217.             if (MaconhaFavela[6] < 0) {
  218.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  219.                return 1;
  220.             }
  221.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  222.             Player[playerid][pMaconha] += 20;
  223.             GivePlayerMoney(playerid, -20);
  224.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de maconha! Use: /Mochila");
  225.             MaconhaFavela[6] -= 20;
  226.             DinheiroFavela[6] += 20;
  227.             GuardarMaconha();
  228.             GuardarDinheiro();
  229.          }
  230.          if (Player[playerid][pFaccao] == 8) {
  231.             if (MaconhaFavela[7] < 0) {
  232.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  233.                return 1;
  234.             }
  235.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  236.             Player[playerid][pMaconha] += 20;
  237.             GivePlayerMoney(playerid, -20);
  238.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de maconha! Use: /Mochila");
  239.             MaconhaFavela[7] -= 20;
  240.             DinheiroFavela[7] += 20;
  241.             GuardarMaconha();
  242.             GuardarDinheiro();
  243.          }
  244.          if (Player[playerid][pFaccao] == 9) {
  245.             if (MaconhaFavela[8] < 0) {
  246.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  247.                return 1;
  248.             }
  249.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  250.             Player[playerid][pMaconha] += 20;
  251.             GivePlayerMoney(playerid, -20);
  252.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de maconha! Use: /Mochila");
  253.             MaconhaFavela[8] -= 20;
  254.             DinheiroFavela[8] += 20;
  255.             GuardarMaconha();
  256.             GuardarDinheiro();
  257.          }
  258.       }
  259.       if (listitem == 2) {
  260.          if (Player[playerid][pFaccao] == 1) {
  261.             if (MaconhaFavela[0] < 0) {
  262.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  263.                return 1;
  264.             }
  265.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  266.             Player[playerid][pMaconha] += 30;
  267.             GivePlayerMoney(playerid, -30);
  268.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de maconha! Use: /Mochila");
  269.             MaconhaFavela[0] -= 30;
  270.             DinheiroFavela[0] += 30;
  271.             GuardarMaconha();
  272.             GuardarDinheiro();
  273.          }
  274.          if (Player[playerid][pFaccao] == 2) {
  275.             if (MaconhaFavela[1] < 0) {
  276.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  277.                return 1;
  278.             }
  279.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  280.             Player[playerid][pMaconha] += 30;
  281.             GivePlayerMoney(playerid, -30);
  282.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de maconha! Use: /Mochila");
  283.             MaconhaFavela[1] -= 30;
  284.             DinheiroFavela[1] += 30;
  285.             GuardarMaconha();
  286.             GuardarDinheiro();
  287.          }
  288.          if (Player[playerid][pFaccao] == 3) {
  289.             if (MaconhaFavela[2] < 0) {
  290.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  291.                return 1;
  292.             }
  293.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  294.             Player[playerid][pMaconha] += 30;
  295.             GivePlayerMoney(playerid, -30);
  296.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de maconha! Use: /Mochila");
  297.             MaconhaFavela[2] -= 30;
  298.             DinheiroFavela[2] += 30;
  299.             GuardarMaconha();
  300.             GuardarDinheiro();
  301.          }
  302.          if (Player[playerid][pFaccao] == 4) {
  303.             if (MaconhaFavela[3] < 0) {
  304.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  305.                return 1;
  306.             }
  307.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  308.             Player[playerid][pMaconha] += 30;
  309.             GivePlayerMoney(playerid, -30);
  310.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de maconha! Use: /Mochila");
  311.             MaconhaFavela[3] -= 30;
  312.             DinheiroFavela[3] += 30;
  313.             GuardarMaconha();
  314.             GuardarDinheiro();
  315.          }
  316.          if (Player[playerid][pFaccao] == 5) {
  317.             if (MaconhaFavela[4] < 0) {
  318.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  319.                return 1;
  320.             }
  321.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  322.             Player[playerid][pMaconha] += 30;
  323.             GivePlayerMoney(playerid, -30);
  324.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de maconha! Use: /Mochila");
  325.             MaconhaFavela[4] -= 30;
  326.             DinheiroFavela[4] += 30;
  327.             GuardarMaconha();
  328.             GuardarDinheiro();
  329.          }
  330.          if (Player[playerid][pFaccao] == 6) {
  331.             if (MaconhaFavela[5] < 0) {
  332.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  333.                return 1;
  334.             }
  335.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  336.             Player[playerid][pMaconha] += 30;
  337.             GivePlayerMoney(playerid, -30);
  338.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de maconha! Use: /Mochila");
  339.             MaconhaFavela[5] -= 30;
  340.             DinheiroFavela[5] += 30;
  341.             GuardarMaconha();
  342.             GuardarDinheiro();
  343.          }
  344.          if (Player[playerid][pFaccao] == 7) {
  345.             if (MaconhaFavela[6] < 0) {
  346.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  347.                return 1;
  348.             }
  349.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  350.             Player[playerid][pMaconha] += 30;
  351.             GivePlayerMoney(playerid, -30);
  352.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de maconha! Use: /Mochila");
  353.             MaconhaFavela[6] -= 30;
  354.             DinheiroFavela[6] += 30;
  355.             GuardarMaconha();
  356.             GuardarDinheiro();
  357.          }
  358.          if (Player[playerid][pFaccao] == 8) {
  359.             if (MaconhaFavela[7] < 0) {
  360.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  361.                return 1;
  362.             }
  363.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  364.             Player[playerid][pMaconha] += 30;
  365.             GivePlayerMoney(playerid, -30);
  366.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de maconha! Use: /Mochila");
  367.             MaconhaFavela[7] -= 30;
  368.             DinheiroFavela[7] += 30;
  369.             GuardarMaconha();
  370.             GuardarDinheiro();
  371.          }
  372.          if (Player[playerid][pFaccao] == 9) {
  373.             if (MaconhaFavela[8] < 0) {
  374.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  375.                return 1;
  376.             }
  377.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  378.             Player[playerid][pMaconha] += 30;
  379.             GivePlayerMoney(playerid, -30);
  380.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de maconha! Use: /Mochila");
  381.             MaconhaFavela[8] -= 30;
  382.             DinheiroFavela[8] += 30;
  383.             GuardarMaconha();
  384.             GuardarDinheiro();
  385.          }
  386.       }
  387.       if (listitem == 3) {
  388.          if (Player[playerid][pFaccao] == 1) {
  389.             if (MaconhaFavela[0] < 0) {
  390.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  391.                return 1;
  392.             }
  393.             if (GetPlayerMoney(playerid) < 40) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  394.             Player[playerid][pMaconha] += 40;
  395.             GivePlayerMoney(playerid, -40);
  396.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de maconha! Use: /Mochila");
  397.             MaconhaFavela[0] -= 40;
  398.             DinheiroFavela[0] += 40;
  399.             GuardarMaconha();
  400.             GuardarDinheiro();
  401.          }
  402.          if (Player[playerid][pFaccao] == 2) {
  403.             if (MaconhaFavela[1] < 0) {
  404.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  405.                return 1;
  406.             }
  407.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  408.                TAG_ERRO " Você não tem dinheiro suficiente.");
  409.             Player[playerid][pMaconha] += 40;
  410.             GivePlayerMoney(playerid, -40);
  411.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de maconha! Use: /Mochila");
  412.             MaconhaFavela[1] -= 40;
  413.             DinheiroFavela[1] += 40;
  414.             GuardarMaconha();
  415.             GuardarDinheiro();
  416.          }
  417.          if (Player[playerid][pFaccao] == 3) {
  418.             if (MaconhaFavela[2] < 0) {
  419.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  420.                return 1;
  421.             }
  422.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  423.                TAG_ERRO " Você não tem dinheiro suficiente.");
  424.             Player[playerid][pMaconha] += 40;
  425.             GivePlayerMoney(playerid, -40);
  426.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de maconha! Use: /Mochila");
  427.             MaconhaFavela[2] -= 40;
  428.             DinheiroFavela[2] += 40;
  429.             GuardarMaconha();
  430.             GuardarDinheiro();
  431.          }
  432.          if (Player[playerid][pFaccao] == 4) {
  433.             if (MaconhaFavela[3] < 0) {
  434.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  435.                return 1;
  436.             }
  437.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  438.                TAG_ERRO " Você não tem dinheiro suficiente.");
  439.             Player[playerid][pMaconha] += 40;
  440.             GivePlayerMoney(playerid, -40);
  441.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de maconha! Use: /Mochila");
  442.             MaconhaFavela[3] -= 40;
  443.             DinheiroFavela[3] += 40;
  444.             GuardarMaconha();
  445.             GuardarDinheiro();
  446.          }
  447.          if (Player[playerid][pFaccao] == 5) {
  448.             if (MaconhaFavela[4] < 0) {
  449.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  450.                return 1;
  451.             }
  452.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  453.                TAG_ERRO " Você não tem dinheiro suficiente.");
  454.             Player[playerid][pMaconha] += 40;
  455.             GivePlayerMoney(playerid, -40);
  456.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de maconha! Use: /Mochila");
  457.             MaconhaFavela[4] -= 40;
  458.             DinheiroFavela[4] += 40;
  459.             GuardarMaconha();
  460.             GuardarDinheiro();
  461.          }
  462.          if (Player[playerid][pFaccao] == 6) {
  463.             if (MaconhaFavela[5] < 0) {
  464.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  465.                return 1;
  466.             }
  467.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  468.                TAG_ERRO " Você não tem dinheiro suficiente.");
  469.             Player[playerid][pMaconha] += 40;
  470.             GivePlayerMoney(playerid, -40);
  471.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de maconha! Use: /Mochila");
  472.             MaconhaFavela[5] -= 40;
  473.             DinheiroFavela[5] += 40;
  474.             GuardarMaconha();
  475.             GuardarDinheiro();
  476.          }
  477.          if (Player[playerid][pFaccao] == 7) {
  478.             if (MaconhaFavela[6] < 0) {
  479.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  480.                return 1;
  481.             }
  482.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  483.                TAG_ERRO " Você não tem dinheiro suficiente.");
  484.             Player[playerid][pMaconha] += 40;
  485.             GivePlayerMoney(playerid, -40);
  486.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de maconha! Use: /Mochila");
  487.             MaconhaFavela[6] -= 40;
  488.             DinheiroFavela[6] += 40;
  489.             GuardarMaconha();
  490.             GuardarDinheiro();
  491.          }
  492.          if (Player[playerid][pFaccao] == 8) {
  493.             if (MaconhaFavela[7] < 0) {
  494.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  495.                return 1;
  496.             }
  497.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  498.                TAG_ERRO " Você não tem dinheiro suficiente.");
  499.             Player[playerid][pMaconha] += 40;
  500.             GivePlayerMoney(playerid, -40);
  501.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de maconha! Use: /Mochila");
  502.             MaconhaFavela[7] -= 40;
  503.             DinheiroFavela[7] += 40;
  504.             GuardarMaconha();
  505.             GuardarDinheiro();
  506.          }
  507.          if (Player[playerid][pFaccao] == 9) {
  508.             if (MaconhaFavela[8] < 0) {
  509.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  510.                return 1;
  511.             }
  512.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  513.                TAG_ERRO " Você não tem dinheiro suficiente.");
  514.             Player[playerid][pMaconha] += 40;
  515.             GivePlayerMoney(playerid, -40);
  516.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de maconha! Use: /Mochila");
  517.             MaconhaFavela[8] -= 40;
  518.             DinheiroFavela[8] += 40;
  519.             GuardarMaconha();
  520.             GuardarDinheiro();
  521.          }
  522.       }
  523.       if (listitem == 4) {
  524.          if (Player[playerid][pFaccao] == 1) {
  525.             if (MaconhaFavela[0] < 0) {
  526.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  527.                return 1;
  528.             }
  529.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  530.             Player[playerid][pMaconha] += 50;
  531.             GivePlayerMoney(playerid, -50);
  532.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de maconha! Use: /Mochila");
  533.             MaconhaFavela[0] -= 50;
  534.             DinheiroFavela[0] += 50;
  535.             GuardarMaconha();
  536.             GuardarDinheiro();
  537.          }
  538.          if (Player[playerid][pFaccao] == 2) {
  539.             if (MaconhaFavela[1] < 0) {
  540.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  541.                return 1;
  542.             }
  543.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  544.             Player[playerid][pMaconha] += 50;
  545.             GivePlayerMoney(playerid, -50);
  546.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de maconha! Use: /Mochila");
  547.             MaconhaFavela[1] -= 50;
  548.             DinheiroFavela[1] += 50;
  549.             GuardarMaconha();
  550.             GuardarDinheiro();
  551.          }
  552.          if (Player[playerid][pFaccao] == 3) {
  553.             if (MaconhaFavela[2] < 0) {
  554.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  555.                return 1;
  556.             }
  557.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  558.             Player[playerid][pMaconha] += 50;
  559.             GivePlayerMoney(playerid, -50);
  560.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de maconha! Use: /Mochila");
  561.             MaconhaFavela[2] -= 50;
  562.             DinheiroFavela[2] += 50;
  563.             GuardarMaconha();
  564.             GuardarDinheiro();
  565.          }
  566.          if (Player[playerid][pFaccao] == 4) {
  567.             if (MaconhaFavela[3] < 0) {
  568.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  569.                return 1;
  570.             }
  571.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  572.             Player[playerid][pMaconha] += 50;
  573.             GivePlayerMoney(playerid, -50);
  574.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de maconha! Use: /Mochila");
  575.             MaconhaFavela[3] -= 50;
  576.             DinheiroFavela[3] += 50;
  577.             GuardarMaconha();
  578.             GuardarDinheiro();
  579.          }
  580.          if (Player[playerid][pFaccao] == 5) {
  581.             if (MaconhaFavela[4] < 0) {
  582.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  583.                return 1;
  584.             }
  585.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  586.             Player[playerid][pMaconha] += 50;
  587.             GivePlayerMoney(playerid, -50);
  588.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de maconha! Use: /Mochila");
  589.             MaconhaFavela[4] -= 50;
  590.             DinheiroFavela[4] += 50;
  591.             GuardarMaconha();
  592.             GuardarDinheiro();
  593.          }
  594.          if (Player[playerid][pFaccao] == 6) {
  595.             if (MaconhaFavela[5] < 0) {
  596.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  597.                return 1;
  598.             }
  599.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  600.             Player[playerid][pMaconha] += 50;
  601.             GivePlayerMoney(playerid, -50);
  602.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de maconha! Use: /Mochila");
  603.             MaconhaFavela[5] -= 50;
  604.             DinheiroFavela[5] += 50;
  605.             GuardarMaconha();
  606.             GuardarDinheiro();
  607.          }
  608.          if (Player[playerid][pFaccao] == 7) {
  609.             if (MaconhaFavela[6] < 0) {
  610.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  611.                return 1;
  612.             }
  613.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  614.             Player[playerid][pMaconha] += 50;
  615.             GivePlayerMoney(playerid, -50);
  616.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de maconha! Use: /Mochila");
  617.             MaconhaFavela[6] -= 50;
  618.             DinheiroFavela[6] += 50;
  619.             GuardarMaconha();
  620.             GuardarDinheiro();
  621.          }
  622.          if (Player[playerid][pFaccao] == 8) {
  623.             if (MaconhaFavela[7] < 0) {
  624.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  625.                return 1;
  626.             }
  627.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  628.             Player[playerid][pMaconha] += 50;
  629.             GivePlayerMoney(playerid, -50);
  630.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de maconha! Use: /Mochila");
  631.             MaconhaFavela[7] -= 50;
  632.             DinheiroFavela[7] += 50;
  633.             GuardarMaconha();
  634.             GuardarDinheiro();
  635.          }
  636.          if (Player[playerid][pFaccao] == 9) {
  637.             if (MaconhaFavela[8] < 0) {
  638.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  639.                return 1;
  640.             }
  641.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  642.             Player[playerid][pMaconha] += 50;
  643.             GivePlayerMoney(playerid, -50);
  644.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de maconha! Use: /Mochila");
  645.             MaconhaFavela[8] -= 50;
  646.             DinheiroFavela[8] += 50;
  647.             GuardarMaconha();
  648.             GuardarDinheiro();
  649.          }
  650.       }
  651.       if (listitem == 5) {
  652.          if (Player[playerid][pFaccao] == 1) {
  653.             if (MaconhaFavela[0] < 0) {
  654.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  655.                return 1;
  656.             }
  657.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  658.             Player[playerid][pMaconha] += 60;
  659.             GivePlayerMoney(playerid, -60);
  660.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de maconha! Use: /Mochila");
  661.             MaconhaFavela[0] -= 60;
  662.             DinheiroFavela[0] += 60;
  663.             GuardarMaconha();
  664.             GuardarDinheiro();
  665.          }
  666.          if (Player[playerid][pFaccao] == 2) {
  667.             if (MaconhaFavela[1] < 0) {
  668.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  669.                return 1;
  670.             }
  671.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  672.             Player[playerid][pMaconha] += 60;
  673.             GivePlayerMoney(playerid, -60);
  674.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de maconha! Use: /Mochila");
  675.             MaconhaFavela[1] -= 60;
  676.             DinheiroFavela[1] += 60;
  677.             GuardarMaconha();
  678.             GuardarDinheiro();
  679.          }
  680.          if (Player[playerid][pFaccao] == 3) {
  681.             if (MaconhaFavela[2] < 0) {
  682.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  683.                return 1;
  684.             }
  685.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  686.             Player[playerid][pMaconha] += 60;
  687.             GivePlayerMoney(playerid, -60);
  688.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de maconha! Use: /Mochila");
  689.             MaconhaFavela[2] -= 60;
  690.             DinheiroFavela[2] += 60;
  691.             GuardarMaconha();
  692.             GuardarDinheiro();
  693.          }
  694.          if (Player[playerid][pFaccao] == 4) {
  695.             if (MaconhaFavela[3] < 0) {
  696.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  697.                return 1;
  698.             }
  699.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  700.             Player[playerid][pMaconha] += 60;
  701.             GivePlayerMoney(playerid, -60);
  702.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de maconha! Use: /Mochila");
  703.             MaconhaFavela[3] -= 60;
  704.             DinheiroFavela[3] += 60;
  705.             GuardarMaconha();
  706.             GuardarDinheiro();
  707.          }
  708.          if (Player[playerid][pFaccao] == 5) {
  709.             if (MaconhaFavela[4] < 0) {
  710.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  711.                return 1;
  712.             }
  713.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  714.             Player[playerid][pMaconha] += 60;
  715.             GivePlayerMoney(playerid, -60);
  716.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de maconha! Use: /Mochila");
  717.             MaconhaFavela[4] -= 60;
  718.             DinheiroFavela[4] += 60;
  719.             GuardarMaconha();
  720.             GuardarDinheiro();
  721.          }
  722.          if (Player[playerid][pFaccao] == 6) {
  723.             if (MaconhaFavela[5] < 0) {
  724.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  725.                return 1;
  726.             }
  727.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  728.             Player[playerid][pMaconha] += 60;
  729.             GivePlayerMoney(playerid, -60);
  730.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de maconha! Use: /Mochila");
  731.             MaconhaFavela[5] -= 60;
  732.             DinheiroFavela[5] += 60;
  733.             GuardarMaconha();
  734.             GuardarDinheiro();
  735.          }
  736.          if (Player[playerid][pFaccao] == 7) {
  737.             if (MaconhaFavela[6] < 0) {
  738.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  739.                return 1;
  740.             }
  741.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  742.             Player[playerid][pMaconha] += 60;
  743.             GivePlayerMoney(playerid, -60);
  744.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de maconha! Use: /Mochila");
  745.             MaconhaFavela[6] -= 60;
  746.             DinheiroFavela[6] += 60;
  747.             GuardarMaconha();
  748.             GuardarDinheiro();
  749.          }
  750.          if (Player[playerid][pFaccao] == 8) {
  751.             if (MaconhaFavela[7] < 0) {
  752.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  753.                return 1;
  754.             }
  755.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  756.             Player[playerid][pMaconha] += 60;
  757.             GivePlayerMoney(playerid, -60);
  758.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de maconha! Use: /Mochila");
  759.             MaconhaFavela[7] -= 60;
  760.             DinheiroFavela[7] += 60;
  761.             GuardarMaconha();
  762.             GuardarDinheiro();
  763.          }
  764.          if (Player[playerid][pFaccao] == 9) {
  765.             if (MaconhaFavela[8] < 0) {
  766.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  767.                return 1;
  768.             }
  769.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  770.             Player[playerid][pMaconha] += 60;
  771.             GivePlayerMoney(playerid, -60);
  772.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de maconha! Use: /Mochila");
  773.             MaconhaFavela[8] -= 60;
  774.             DinheiroFavela[8] += 60;
  775.             GuardarMaconha();
  776.             GuardarDinheiro();
  777.          }
  778.       }
  779.       if (listitem == 6) {
  780.          if (Player[playerid][pFaccao] == 1) {
  781.             if (MaconhaFavela[0] < 0) {
  782.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  783.                return 1;
  784.             }
  785.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  786.             Player[playerid][pMaconha] += 70;
  787.             GivePlayerMoney(playerid, -70);
  788.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de maconha! Use: /Mochila");
  789.             MaconhaFavela[0] -= 70;
  790.             DinheiroFavela[0] += 70;
  791.             GuardarMaconha();
  792.             GuardarDinheiro();
  793.          }
  794.          if (Player[playerid][pFaccao] == 2) {
  795.             if (MaconhaFavela[1] < 0) {
  796.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  797.                return 1;
  798.             }
  799.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  800.             Player[playerid][pMaconha] += 70;
  801.             GivePlayerMoney(playerid, -70);
  802.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de maconha! Use: /Mochila");
  803.             MaconhaFavela[1] -= 70;
  804.             DinheiroFavela[1] += 70;
  805.             GuardarMaconha();
  806.             GuardarDinheiro();
  807.          }
  808.          if (Player[playerid][pFaccao] == 3) {
  809.             if (MaconhaFavela[2] < 0) {
  810.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  811.                return 1;
  812.             }
  813.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  814.             Player[playerid][pMaconha] += 70;
  815.             GivePlayerMoney(playerid, -70);
  816.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de maconha! Use: /Mochila");
  817.             MaconhaFavela[2] -= 70;
  818.             DinheiroFavela[2] += 70;
  819.             GuardarMaconha();
  820.             GuardarDinheiro();
  821.          }
  822.          if (Player[playerid][pFaccao] == 4) {
  823.             if (MaconhaFavela[3] < 0) {
  824.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  825.                return 1;
  826.             }
  827.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  828.             Player[playerid][pMaconha] += 70;
  829.             GivePlayerMoney(playerid, -70);
  830.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de maconha! Use: /Mochila");
  831.             MaconhaFavela[3] -= 70;
  832.             DinheiroFavela[3] += 70;
  833.             GuardarMaconha();
  834.             GuardarDinheiro();
  835.          }
  836.          if (Player[playerid][pFaccao] == 5) {
  837.             if (MaconhaFavela[4] < 0) {
  838.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  839.                return 1;
  840.             }
  841.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  842.             Player[playerid][pMaconha] += 70;
  843.             GivePlayerMoney(playerid, -70);
  844.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de maconha! Use: /Mochila");
  845.             MaconhaFavela[4] -= 70;
  846.             DinheiroFavela[4] += 70;
  847.             GuardarMaconha();
  848.             GuardarDinheiro();
  849.          }
  850.          if (Player[playerid][pFaccao] == 6) {
  851.             if (MaconhaFavela[5] < 0) {
  852.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  853.                return 1;
  854.             }
  855.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  856.             Player[playerid][pMaconha] += 70;
  857.             GivePlayerMoney(playerid, -70);
  858.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de maconha! Use: /Mochila");
  859.             MaconhaFavela[5] -= 70;
  860.             DinheiroFavela[5] += 70;
  861.             GuardarMaconha();
  862.             GuardarDinheiro();
  863.          }
  864.          if (Player[playerid][pFaccao] == 7) {
  865.             if (MaconhaFavela[6] < 0) {
  866.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  867.                return 1;
  868.             }
  869.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  870.             Player[playerid][pMaconha] += 70;
  871.             GivePlayerMoney(playerid, -70);
  872.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de maconha! Use: /Mochila");
  873.             MaconhaFavela[6] -= 70;
  874.             DinheiroFavela[6] += 70;
  875.             GuardarMaconha();
  876.             GuardarDinheiro();
  877.          }
  878.          if (Player[playerid][pFaccao] == 8) {
  879.             if (MaconhaFavela[7] < 0) {
  880.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  881.                return 1;
  882.             }
  883.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  884.             Player[playerid][pMaconha] += 70;
  885.             GivePlayerMoney(playerid, -70);
  886.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de maconha! Use: /Mochila");
  887.             MaconhaFavela[7] -= 70;
  888.             DinheiroFavela[7] += 70;
  889.             GuardarMaconha();
  890.             GuardarDinheiro();
  891.          }
  892.          if (Player[playerid][pFaccao] == 9) {
  893.             if (MaconhaFavela[8] < 0) {
  894.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  895.                return 1;
  896.             }
  897.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  898.             Player[playerid][pMaconha] += 70;
  899.             GivePlayerMoney(playerid, -70);
  900.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de maconha! Use: /Mochila");
  901.             MaconhaFavela[8] -= 70;
  902.             DinheiroFavela[8] += 70;
  903.             GuardarMaconha();
  904.             GuardarDinheiro();
  905.          }
  906.       }
  907.       if (listitem == 7) {
  908.          if (Player[playerid][pFaccao] == 1) {
  909.             if (MaconhaFavela[0] < 0) {
  910.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  911.                return 1;
  912.             }
  913.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  914.             Player[playerid][pMaconha] += 80;
  915.             GivePlayerMoney(playerid, -80);
  916.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de maconha! Use: /Mochila");
  917.             MaconhaFavela[0] -= 80;
  918.             DinheiroFavela[0] += 80;
  919.             GuardarMaconha();
  920.             GuardarDinheiro();
  921.          }
  922.          if (Player[playerid][pFaccao] == 2) {
  923.             if (MaconhaFavela[1] < 0) {
  924.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  925.                return 1;
  926.             }
  927.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  928.             Player[playerid][pMaconha] += 80;
  929.             GivePlayerMoney(playerid, -80);
  930.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de maconha! Use: /Mochila");
  931.             MaconhaFavela[1] -= 80;
  932.             DinheiroFavela[1] += 80;
  933.             GuardarMaconha();
  934.             GuardarDinheiro();
  935.          }
  936.          if (Player[playerid][pFaccao] == 3) {
  937.             if (MaconhaFavela[2] < 0) {
  938.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  939.                return 1;
  940.             }
  941.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  942.             Player[playerid][pMaconha] += 80;
  943.             GivePlayerMoney(playerid, -80);
  944.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de maconha! Use: /Mochila");
  945.             MaconhaFavela[2] -= 80;
  946.             DinheiroFavela[2] += 80;
  947.             GuardarMaconha();
  948.             GuardarDinheiro();
  949.          }
  950.          if (Player[playerid][pFaccao] == 4) {
  951.             if (MaconhaFavela[3] < 0) {
  952.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  953.                return 1;
  954.             }
  955.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  956.             Player[playerid][pMaconha] += 80;
  957.             GivePlayerMoney(playerid, -80);
  958.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de maconha! Use: /Mochila");
  959.             MaconhaFavela[3] -= 80;
  960.             DinheiroFavela[3] += 80;
  961.             GuardarMaconha();
  962.             GuardarDinheiro();
  963.          }
  964.          if (Player[playerid][pFaccao] == 5) {
  965.             if (MaconhaFavela[4] < 0) {
  966.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  967.                return 1;
  968.             }
  969.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  970.             Player[playerid][pMaconha] += 80;
  971.             GivePlayerMoney(playerid, -80);
  972.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de maconha! Use: /Mochila");
  973.             MaconhaFavela[4] -= 80;
  974.             DinheiroFavela[4] += 80;
  975.             GuardarMaconha();
  976.             GuardarDinheiro();
  977.          }
  978.          if (Player[playerid][pFaccao] == 6) {
  979.             if (MaconhaFavela[5] < 0) {
  980.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  981.                return 1;
  982.             }
  983.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  984.             Player[playerid][pMaconha] += 80;
  985.             GivePlayerMoney(playerid, -80);
  986.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de maconha! Use: /Mochila");
  987.             MaconhaFavela[5] -= 80;
  988.             DinheiroFavela[5] += 80;
  989.             GuardarMaconha();
  990.             GuardarDinheiro();
  991.          }
  992.          if (Player[playerid][pFaccao] == 7) {
  993.             if (MaconhaFavela[6] < 0) {
  994.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  995.                return 1;
  996.             }
  997.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  998.             Player[playerid][pMaconha] += 80;
  999.             GivePlayerMoney(playerid, -80);
  1000.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de maconha! Use: /Mochila");
  1001.             MaconhaFavela[6] -= 80;
  1002.             DinheiroFavela[6] += 80;
  1003.             GuardarMaconha();
  1004.             GuardarDinheiro();
  1005.          }
  1006.          if (Player[playerid][pFaccao] == 8) {
  1007.             if (MaconhaFavela[7] < 0) {
  1008.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1009.                return 1;
  1010.             }
  1011.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1012.             Player[playerid][pMaconha] += 80;
  1013.             GivePlayerMoney(playerid, -80);
  1014.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de maconha! Use: /Mochila");
  1015.             MaconhaFavela[7] -= 80;
  1016.             DinheiroFavela[7] += 80;
  1017.             GuardarMaconha();
  1018.             GuardarDinheiro();
  1019.          }
  1020.          if (Player[playerid][pFaccao] == 9) {
  1021.             if (MaconhaFavela[8] < 0) {
  1022.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1023.                return 1;
  1024.             }
  1025.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1026.             Player[playerid][pMaconha] += 80;
  1027.             GivePlayerMoney(playerid, -80);
  1028.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de maconha! Use: /Mochila");
  1029.             MaconhaFavela[8] -= 80;
  1030.             DinheiroFavela[8] += 80;
  1031.             GuardarMaconha();
  1032.             GuardarDinheiro();
  1033.          }
  1034.       }
  1035.       if (listitem == 8) {
  1036.          if (Player[playerid][pFaccao] == 1) {
  1037.             if (MaconhaFavela[0] < 0) {
  1038.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1039.                return 1;
  1040.             }
  1041.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1042.             Player[playerid][pMaconha] += 90;
  1043.             GivePlayerMoney(playerid, -90);
  1044.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de maconha! Use: /Mochila");
  1045.             MaconhaFavela[0] -= 90;
  1046.             DinheiroFavela[0] += 90;
  1047.             GuardarMaconha();
  1048.             GuardarDinheiro();
  1049.          }
  1050.          if (Player[playerid][pFaccao] == 2) {
  1051.             if (MaconhaFavela[1] < 0) {
  1052.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1053.                return 1;
  1054.             }
  1055.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1056.             Player[playerid][pMaconha] += 90;
  1057.             GivePlayerMoney(playerid, -90);
  1058.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de maconha! Use: /Mochila");
  1059.             MaconhaFavela[1] -= 90;
  1060.             DinheiroFavela[1] += 90;
  1061.             GuardarMaconha();
  1062.             GuardarDinheiro();
  1063.          }
  1064.          if (Player[playerid][pFaccao] == 3) {
  1065.             if (MaconhaFavela[2] < 0) {
  1066.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1067.                return 1;
  1068.             }
  1069.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1070.             Player[playerid][pMaconha] += 90;
  1071.             GivePlayerMoney(playerid, -90);
  1072.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de maconha! Use: /Mochila");
  1073.             MaconhaFavela[2] -= 90;
  1074.             DinheiroFavela[2] += 90;
  1075.             GuardarMaconha();
  1076.             GuardarDinheiro();
  1077.          }
  1078.          if (Player[playerid][pFaccao] == 4) {
  1079.             if (MaconhaFavela[3] < 0) {
  1080.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1081.                return 1;
  1082.             }
  1083.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1084.             Player[playerid][pMaconha] += 90;
  1085.             GivePlayerMoney(playerid, -90);
  1086.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de maconha! Use: /Mochila");
  1087.             MaconhaFavela[3] -= 90;
  1088.             DinheiroFavela[3] += 90;
  1089.             GuardarMaconha();
  1090.             GuardarDinheiro();
  1091.          }
  1092.          if (Player[playerid][pFaccao] == 5) {
  1093.             if (MaconhaFavela[4] < 0) {
  1094.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1095.                return 1;
  1096.             }
  1097.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1098.             Player[playerid][pMaconha] += 90;
  1099.             GivePlayerMoney(playerid, -90);
  1100.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de maconha! Use: /Mochila");
  1101.             MaconhaFavela[4] -= 90;
  1102.             DinheiroFavela[4] += 90;
  1103.             GuardarMaconha();
  1104.             GuardarDinheiro();
  1105.          }
  1106.          if (Player[playerid][pFaccao] == 6) {
  1107.             if (MaconhaFavela[5] < 0) {
  1108.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1109.                return 1;
  1110.             }
  1111.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1112.             Player[playerid][pMaconha] += 90;
  1113.             GivePlayerMoney(playerid, -90);
  1114.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de maconha! Use: /Mochila");
  1115.             MaconhaFavela[5] -= 90;
  1116.             DinheiroFavela[5] += 90;
  1117.             GuardarMaconha();
  1118.             GuardarDinheiro();
  1119.          }
  1120.          if (Player[playerid][pFaccao] == 7) {
  1121.             if (MaconhaFavela[6] < 0) {
  1122.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1123.                return 1;
  1124.             }
  1125.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1126.             Player[playerid][pMaconha] += 90;
  1127.             GivePlayerMoney(playerid, -90);
  1128.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de maconha! Use: /Mochila");
  1129.             MaconhaFavela[6] -= 90;
  1130.             DinheiroFavela[6] += 90;
  1131.             GuardarMaconha();
  1132.             GuardarDinheiro();
  1133.          }
  1134.          if (Player[playerid][pFaccao] == 8) {
  1135.             if (MaconhaFavela[7] < 0) {
  1136.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1137.                return 1;
  1138.             }
  1139.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1140.             Player[playerid][pMaconha] += 90;
  1141.             GivePlayerMoney(playerid, -90);
  1142.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de maconha! Use: /Mochila");
  1143.             MaconhaFavela[7] -= 90;
  1144.             DinheiroFavela[7] += 90;
  1145.             GuardarMaconha();
  1146.             GuardarDinheiro();
  1147.          }
  1148.          if (Player[playerid][pFaccao] == 9) {
  1149.             if (MaconhaFavela[8] < 0) {
  1150.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1151.                return 1;
  1152.             }
  1153.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1154.             Player[playerid][pMaconha] += 90;
  1155.             GivePlayerMoney(playerid, -90);
  1156.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de maconha! Use: /Mochila");
  1157.             MaconhaFavela[8] -= 90;
  1158.             DinheiroFavela[8] += 90;
  1159.             GuardarMaconha();
  1160.             GuardarDinheiro();
  1161.          }
  1162.       }
  1163.       if (listitem == 9) {
  1164.          if (Player[playerid][pFaccao] == 1) {
  1165.             if (MaconhaFavela[0] < 0) {
  1166.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1167.                return 1;
  1168.             }
  1169.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1170.             Player[playerid][pMaconha] += 100;
  1171.             GivePlayerMoney(playerid, -100);
  1172.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de maconha! Use: /Mochila");
  1173.             MaconhaFavela[0] -= 100;
  1174.             DinheiroFavela[0] += 100;
  1175.             GuardarMaconha();
  1176.             GuardarDinheiro();
  1177.          }
  1178.          if (Player[playerid][pFaccao] == 2) {
  1179.             if (MaconhaFavela[1] < 0) {
  1180.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1181.                return 1;
  1182.             }
  1183.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1184.             Player[playerid][pMaconha] += 100;
  1185.             GivePlayerMoney(playerid, -100);
  1186.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de maconha! Use: /Mochila");
  1187.             MaconhaFavela[1] -= 100;
  1188.             DinheiroFavela[1] += 100;
  1189.             GuardarMaconha();
  1190.             GuardarDinheiro();
  1191.          }
  1192.          if (Player[playerid][pFaccao] == 3) {
  1193.             if (MaconhaFavela[2] < 0) {
  1194.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1195.                return 1;
  1196.             }
  1197.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1198.             Player[playerid][pMaconha] += 100;
  1199.             GivePlayerMoney(playerid, -100);
  1200.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de maconha! Use: /Mochila");
  1201.             MaconhaFavela[2] -= 100;
  1202.             DinheiroFavela[2] += 100;
  1203.             GuardarMaconha();
  1204.             GuardarDinheiro();
  1205.          }
  1206.          if (Player[playerid][pFaccao] == 4) {
  1207.             if (MaconhaFavela[3] < 0) {
  1208.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1209.                return 1;
  1210.             }
  1211.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1212.             Player[playerid][pMaconha] += 100;
  1213.             GivePlayerMoney(playerid, -100);
  1214.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de maconha! Use: /Mochila");
  1215.             MaconhaFavela[3] -= 100;
  1216.             DinheiroFavela[3] += 100;
  1217.             GuardarMaconha();
  1218.             GuardarDinheiro();
  1219.          }
  1220.          if (Player[playerid][pFaccao] == 5) {
  1221.             if (MaconhaFavela[4] < 0) {
  1222.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1223.                return 1;
  1224.             }
  1225.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1226.             Player[playerid][pMaconha] += 100;
  1227.             GivePlayerMoney(playerid, -100);
  1228.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de maconha! Use: /Mochila");
  1229.             MaconhaFavela[4] -= 100;
  1230.             DinheiroFavela[4] += 100;
  1231.             GuardarMaconha();
  1232.             GuardarDinheiro();
  1233.          }
  1234.          if (Player[playerid][pFaccao] == 6) {
  1235.             if (MaconhaFavela[5] < 0) {
  1236.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1237.                return 1;
  1238.             }
  1239.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1240.             Player[playerid][pMaconha] += 100;
  1241.             GivePlayerMoney(playerid, -100);
  1242.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de maconha! Use: /Mochila");
  1243.             MaconhaFavela[5] -= 100;
  1244.             DinheiroFavela[5] += 100;
  1245.             GuardarMaconha();
  1246.             GuardarDinheiro();
  1247.          }
  1248.          if (Player[playerid][pFaccao] == 7) {
  1249.             if (MaconhaFavela[6] < 0) {
  1250.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1251.                return 1;
  1252.             }
  1253.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1254.             Player[playerid][pMaconha] += 100;
  1255.             GivePlayerMoney(playerid, -100);
  1256.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de maconha! Use: /Mochila");
  1257.             MaconhaFavela[6] -= 100;
  1258.             DinheiroFavela[6] += 100;
  1259.             GuardarMaconha();
  1260.             GuardarDinheiro();
  1261.          }
  1262.          if (Player[playerid][pFaccao] == 8) {
  1263.             if (MaconhaFavela[7] < 0) {
  1264.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1265.                return 1;
  1266.             }
  1267.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1268.             Player[playerid][pMaconha] += 100;
  1269.             GivePlayerMoney(playerid, -100);
  1270.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de maconha! Use: /Mochila");
  1271.             MaconhaFavela[7] -= 100;
  1272.             DinheiroFavela[7] += 100;
  1273.             GuardarMaconha();
  1274.             GuardarDinheiro();
  1275.          }
  1276.          if (Player[playerid][pFaccao] == 9) {
  1277.             if (MaconhaFavela[8] < 0) {
  1278.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais maconha no armazém");
  1279.                return 1;
  1280.             }
  1281.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1282.             Player[playerid][pMaconha] += 100;
  1283.             GivePlayerMoney(playerid, -100);
  1284.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de maconha! Use: /Mochila");
  1285.             MaconhaFavela[8] -= 100;
  1286.             DinheiroFavela[8] += 100;
  1287.             GuardarMaconha();
  1288.             GuardarDinheiro();
  1289.          }
  1290.       }
  1291.    }
  1292.    return 1;
  1293. }
  1294. if (dialogid == DIALOG_COCAINA) {
  1295.    if (response) {
  1296.       if (listitem == 0) {
  1297.          if (Player[playerid][pFaccao] == 1) {
  1298.             if (CocainaFavela[0] < 0) {
  1299.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1300.                return 1;
  1301.             }
  1302.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1303.             Player[playerid][pCocaina] += 10;
  1304.             GivePlayerMoney(playerid, -10);
  1305.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Cocaina! Use: /Mochila");
  1306.             CocainaFavela[0] -= 10;
  1307.             DinheiroFavela[0] += 10;
  1308.             GuardarCocaina();
  1309.             GuardarDinheiro();
  1310.          }
  1311.          if (Player[playerid][pFaccao] == 2) {
  1312.             if (CocainaFavela[1] < 0) {
  1313.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1314.                return 1;
  1315.             }
  1316.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1317.             Player[playerid][pCocaina] += 10;
  1318.             GivePlayerMoney(playerid, -10);
  1319.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Cocaina! Use: /Mochila");
  1320.             CocainaFavela[1] -= 10;
  1321.             DinheiroFavela[1] += 10;
  1322.             GuardarCocaina();
  1323.             GuardarDinheiro();
  1324.          }
  1325.          if (Player[playerid][pFaccao] == 3) {
  1326.             if (CocainaFavela[2] < 0) {
  1327.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1328.                return 1;
  1329.             }
  1330.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1331.             Player[playerid][pCocaina] += 10;
  1332.             GivePlayerMoney(playerid, -10);
  1333.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Cocaina! Use: /Mochila");
  1334.             CocainaFavela[2] -= 10;
  1335.             DinheiroFavela[2] += 10;
  1336.             GuardarCocaina();
  1337.             GuardarDinheiro();
  1338.          }
  1339.          if (Player[playerid][pFaccao] == 4) {
  1340.             if (CocainaFavela[3] < 0) {
  1341.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1342.                return 1;
  1343.             }
  1344.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1345.             Player[playerid][pCocaina] += 10;
  1346.             GivePlayerMoney(playerid, -10);
  1347.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Cocaina! Use: /Mochila");
  1348.             CocainaFavela[3] -= 10;
  1349.             DinheiroFavela[3] += 10;
  1350.             GuardarCocaina();
  1351.             GuardarDinheiro();
  1352.          }
  1353.          if (Player[playerid][pFaccao] == 5) {
  1354.             if (CocainaFavela[4] < 0) {
  1355.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1356.                return 1;
  1357.             }
  1358.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1359.             Player[playerid][pCocaina] += 10;
  1360.             GivePlayerMoney(playerid, -10);
  1361.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Cocaina! Use: /Mochila");
  1362.             CocainaFavela[4] -= 10;
  1363.             DinheiroFavela[4] += 10;
  1364.             GuardarCocaina();
  1365.             GuardarDinheiro();
  1366.          }
  1367.          if (Player[playerid][pFaccao] == 6) {
  1368.             if (CocainaFavela[5] < 0) {
  1369.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1370.                return 1;
  1371.             }
  1372.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1373.             Player[playerid][pCocaina] += 10;
  1374.             GivePlayerMoney(playerid, -10);
  1375.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Cocaina! Use: /Mochila");
  1376.             CocainaFavela[5] -= 10;
  1377.             DinheiroFavela[5] += 10;
  1378.             GuardarCocaina();
  1379.             GuardarDinheiro();
  1380.          }
  1381.          if (Player[playerid][pFaccao] == 7) {
  1382.             if (CocainaFavela[6] < 0) {
  1383.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1384.                return 1;
  1385.             }
  1386.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1387.             Player[playerid][pCocaina] += 10;
  1388.             GivePlayerMoney(playerid, -10);
  1389.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Cocaina! Use: /Mochila");
  1390.             CocainaFavela[6] -= 10;
  1391.             DinheiroFavela[6] += 10;
  1392.             GuardarCocaina();
  1393.             GuardarDinheiro();
  1394.          }
  1395.          if (Player[playerid][pFaccao] == 8) {
  1396.             if (CocainaFavela[7] < 0) {
  1397.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1398.                return 1;
  1399.             }
  1400.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1401.             Player[playerid][pCocaina] += 10;
  1402.             GivePlayerMoney(playerid, -10);
  1403.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Cocaina! Use: /Mochila");
  1404.             CocainaFavela[7] -= 10;
  1405.             DinheiroFavela[7] += 10;
  1406.             GuardarCocaina();
  1407.             GuardarDinheiro();
  1408.          }
  1409.          if (Player[playerid][pFaccao] == 9) {
  1410.             if (CocainaFavela[8] < 0) {
  1411.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1412.                return 1;
  1413.             }
  1414.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1415.             Player[playerid][pCocaina] += 10;
  1416.             GivePlayerMoney(playerid, -10);
  1417.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Cocaina! Use: /Mochila");
  1418.             CocainaFavela[8] -= 10;
  1419.             DinheiroFavela[8] += 10;
  1420.             GuardarCocaina();
  1421.             GuardarDinheiro();
  1422.          }
  1423.       }
  1424.       if (listitem == 1) {
  1425.          if (Player[playerid][pFaccao] == 1) {
  1426.             if (CocainaFavela[0] < 0) {
  1427.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1428.                return 1;
  1429.             }
  1430.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1431.             Player[playerid][pCocaina] += 20;
  1432.             GivePlayerMoney(playerid, -20);
  1433.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Cocaina! Use: /Mochila");
  1434.             CocainaFavela[0] -= 20;
  1435.             DinheiroFavela[0] += 20;
  1436.             GuardarCocaina();
  1437.             GuardarDinheiro();
  1438.          }
  1439.          if (Player[playerid][pFaccao] == 2) {
  1440.             if (CocainaFavela[1] < 0) {
  1441.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1442.                return 1;
  1443.             }
  1444.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1445.             Player[playerid][pCocaina] += 20;
  1446.             GivePlayerMoney(playerid, -20);
  1447.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Cocaina! Use: /Mochila");
  1448.             CocainaFavela[1] -= 20;
  1449.             DinheiroFavela[1] += 20;
  1450.             GuardarCocaina();
  1451.             GuardarDinheiro();
  1452.          }
  1453.          if (Player[playerid][pFaccao] == 3) {
  1454.             if (CocainaFavela[2] < 0) {
  1455.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1456.                return 1;
  1457.             }
  1458.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1459.             Player[playerid][pCocaina] += 20;
  1460.             GivePlayerMoney(playerid, -20);
  1461.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Cocaina! Use: /Mochila");
  1462.             CocainaFavela[2] -= 20;
  1463.             DinheiroFavela[2] += 20;
  1464.             GuardarCocaina();
  1465.             GuardarDinheiro();
  1466.          }
  1467.          if (Player[playerid][pFaccao] == 4) {
  1468.             if (CocainaFavela[3] < 0) {
  1469.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1470.                return 1;
  1471.             }
  1472.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1473.             Player[playerid][pCocaina] += 20;
  1474.             GivePlayerMoney(playerid, -20);
  1475.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Cocaina! Use: /Mochila");
  1476.             CocainaFavela[3] -= 20;
  1477.             DinheiroFavela[3] += 20;
  1478.             GuardarCocaina();
  1479.             GuardarDinheiro();
  1480.          }
  1481.          if (Player[playerid][pFaccao] == 5) {
  1482.             if (CocainaFavela[4] < 0) {
  1483.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1484.                return 1;
  1485.             }
  1486.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1487.             Player[playerid][pCocaina] += 20;
  1488.             GivePlayerMoney(playerid, -20);
  1489.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Cocaina! Use: /Mochila");
  1490.             CocainaFavela[4] -= 20;
  1491.             DinheiroFavela[4] += 20;
  1492.             GuardarCocaina();
  1493.             GuardarDinheiro();
  1494.          }
  1495.          if (Player[playerid][pFaccao] == 6) {
  1496.             if (CocainaFavela[5] < 0) {
  1497.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1498.                return 1;
  1499.             }
  1500.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1501.             Player[playerid][pCocaina] += 20;
  1502.             GivePlayerMoney(playerid, -20);
  1503.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Cocaina! Use: /Mochila");
  1504.             CocainaFavela[5] -= 20;
  1505.             DinheiroFavela[5] += 20;
  1506.             GuardarCocaina();
  1507.             GuardarDinheiro();
  1508.          }
  1509.          if (Player[playerid][pFaccao] == 7) {
  1510.             if (CocainaFavela[6] < 0) {
  1511.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1512.                return 1;
  1513.             }
  1514.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1515.             Player[playerid][pCocaina] += 20;
  1516.             GivePlayerMoney(playerid, -20);
  1517.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Cocaina! Use: /Mochila");
  1518.             CocainaFavela[6] -= 20;
  1519.             DinheiroFavela[6] += 20;
  1520.             GuardarCocaina();
  1521.             GuardarDinheiro();
  1522.          }
  1523.          if (Player[playerid][pFaccao] == 8) {
  1524.             if (CocainaFavela[7] < 0) {
  1525.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1526.                return 1;
  1527.             }
  1528.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1529.             Player[playerid][pCocaina] += 20;
  1530.             GivePlayerMoney(playerid, -20);
  1531.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Cocaina! Use: /Mochila");
  1532.             CocainaFavela[7] -= 20;
  1533.             DinheiroFavela[7] += 20;
  1534.             GuardarCocaina();
  1535.             GuardarDinheiro();
  1536.          }
  1537.          if (Player[playerid][pFaccao] == 9) {
  1538.             if (CocainaFavela[8] < 0) {
  1539.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1540.                return 1;
  1541.             }
  1542.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1543.             Player[playerid][pCocaina] += 20;
  1544.             GivePlayerMoney(playerid, -20);
  1545.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Cocaina! Use: /Mochila");
  1546.             CocainaFavela[8] -= 20;
  1547.             DinheiroFavela[8] += 20;
  1548.             GuardarCocaina();
  1549.             GuardarDinheiro();
  1550.          }
  1551.       }
  1552.       if (listitem == 2) {
  1553.          if (Player[playerid][pFaccao] == 1) {
  1554.             if (CocainaFavela[0] < 0) {
  1555.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1556.                return 1;
  1557.             }
  1558.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1559.             Player[playerid][pCocaina] += 30;
  1560.             GivePlayerMoney(playerid, -30);
  1561.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Cocaina! Use: /Mochila");
  1562.             CocainaFavela[0] -= 30;
  1563.             DinheiroFavela[0] += 30;
  1564.             GuardarCocaina();
  1565.             GuardarDinheiro();
  1566.          }
  1567.          if (Player[playerid][pFaccao] == 2) {
  1568.             if (CocainaFavela[1] < 0) {
  1569.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1570.                return 1;
  1571.             }
  1572.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1573.             Player[playerid][pCocaina] += 30;
  1574.             GivePlayerMoney(playerid, -30);
  1575.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Cocaina! Use: /Mochila");
  1576.             CocainaFavela[1] -= 30;
  1577.             DinheiroFavela[1] += 30;
  1578.             GuardarCocaina();
  1579.             GuardarDinheiro();
  1580.          }
  1581.          if (Player[playerid][pFaccao] == 3) {
  1582.             if (CocainaFavela[2] < 0) {
  1583.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1584.                return 1;
  1585.             }
  1586.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1587.             Player[playerid][pCocaina] += 30;
  1588.             GivePlayerMoney(playerid, -30);
  1589.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Cocaina! Use: /Mochila");
  1590.             CocainaFavela[2] -= 30;
  1591.             DinheiroFavela[2] += 30;
  1592.             GuardarCocaina();
  1593.             GuardarDinheiro();
  1594.          }
  1595.          if (Player[playerid][pFaccao] == 4) {
  1596.             if (CocainaFavela[3] < 0) {
  1597.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1598.                return 1;
  1599.             }
  1600.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1601.             Player[playerid][pCocaina] += 30;
  1602.             GivePlayerMoney(playerid, -30);
  1603.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Cocaina! Use: /Mochila");
  1604.             CocainaFavela[3] -= 30;
  1605.             DinheiroFavela[3] += 30;
  1606.             GuardarCocaina();
  1607.             GuardarDinheiro();
  1608.          }
  1609.          if (Player[playerid][pFaccao] == 5) {
  1610.             if (CocainaFavela[4] < 0) {
  1611.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1612.                return 1;
  1613.             }
  1614.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1615.             Player[playerid][pCocaina] += 30;
  1616.             GivePlayerMoney(playerid, -30);
  1617.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Cocaina! Use: /Mochila");
  1618.             CocainaFavela[4] -= 30;
  1619.             DinheiroFavela[4] += 30;
  1620.             GuardarCocaina();
  1621.             GuardarDinheiro();
  1622.          }
  1623.          if (Player[playerid][pFaccao] == 6) {
  1624.             if (CocainaFavela[5] < 0) {
  1625.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1626.                return 1;
  1627.             }
  1628.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1629.             Player[playerid][pCocaina] += 30;
  1630.             GivePlayerMoney(playerid, -30);
  1631.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Cocaina! Use: /Mochila");
  1632.             CocainaFavela[5] -= 30;
  1633.             DinheiroFavela[5] += 30;
  1634.             GuardarCocaina();
  1635.             GuardarDinheiro();
  1636.          }
  1637.          if (Player[playerid][pFaccao] == 7) {
  1638.             if (CocainaFavela[6] < 0) {
  1639.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1640.                return 1;
  1641.             }
  1642.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1643.             Player[playerid][pCocaina] += 30;
  1644.             GivePlayerMoney(playerid, -30);
  1645.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Cocaina! Use: /Mochila");
  1646.             CocainaFavela[6] -= 30;
  1647.             DinheiroFavela[6] += 30;
  1648.             GuardarCocaina();
  1649.             GuardarDinheiro();
  1650.          }
  1651.          if (Player[playerid][pFaccao] == 8) {
  1652.             if (CocainaFavela[7] < 0) {
  1653.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1654.                return 1;
  1655.             }
  1656.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1657.             Player[playerid][pCocaina] += 30;
  1658.             GivePlayerMoney(playerid, -30);
  1659.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Cocaina! Use: /Mochila");
  1660.             CocainaFavela[7] -= 30;
  1661.             DinheiroFavela[7] += 30;
  1662.             GuardarCocaina();
  1663.             GuardarDinheiro();
  1664.          }
  1665.          if (Player[playerid][pFaccao] == 9) {
  1666.             if (CocainaFavela[8] < 0) {
  1667.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1668.                return 1;
  1669.             }
  1670.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1671.             Player[playerid][pCocaina] += 30;
  1672.             GivePlayerMoney(playerid, -30);
  1673.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Cocaina! Use: /Mochila");
  1674.             CocainaFavela[8] -= 30;
  1675.             DinheiroFavela[8] += 30;
  1676.             GuardarCocaina();
  1677.             GuardarDinheiro();
  1678.          }
  1679.       }
  1680.       if (listitem == 3) {
  1681.          if (Player[playerid][pFaccao] == 1) {
  1682.             if (CocainaFavela[0] < 0) {
  1683.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1684.                return 1;
  1685.             }
  1686.             if (GetPlayerMoney(playerid) < 40) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1687.             Player[playerid][pCocaina] += 40;
  1688.             GivePlayerMoney(playerid, -40);
  1689.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Cocaina! Use: /Mochila");
  1690.             CocainaFavela[0] -= 40;
  1691.             DinheiroFavela[0] += 40;
  1692.             GuardarCocaina();
  1693.             GuardarDinheiro();
  1694.          }
  1695.          if (Player[playerid][pFaccao] == 2) {
  1696.             if (CocainaFavela[1] < 0) {
  1697.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1698.                return 1;
  1699.             }
  1700.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  1701.                TAG_ERRO " Você não tem dinheiro suficiente.");
  1702.             Player[playerid][pCocaina] += 40;
  1703.             GivePlayerMoney(playerid, -40);
  1704.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Cocaina! Use: /Mochila");
  1705.             CocainaFavela[1] -= 40;
  1706.             DinheiroFavela[1] += 40;
  1707.             GuardarCocaina();
  1708.             GuardarDinheiro();
  1709.          }
  1710.          if (Player[playerid][pFaccao] == 3) {
  1711.             if (CocainaFavela[2] < 0) {
  1712.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1713.                return 1;
  1714.             }
  1715.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  1716.                TAG_ERRO " Você não tem dinheiro suficiente.");
  1717.             Player[playerid][pCocaina] += 40;
  1718.             GivePlayerMoney(playerid, -40);
  1719.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Cocaina! Use: /Mochila");
  1720.             CocainaFavela[2] -= 40;
  1721.             DinheiroFavela[2] += 40;
  1722.             GuardarCocaina();
  1723.             GuardarDinheiro();
  1724.          }
  1725.          if (Player[playerid][pFaccao] == 4) {
  1726.             if (CocainaFavela[3] < 0) {
  1727.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1728.                return 1;
  1729.             }
  1730.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  1731.                TAG_ERRO " Você não tem dinheiro suficiente.");
  1732.             Player[playerid][pCocaina] += 40;
  1733.             GivePlayerMoney(playerid, -40);
  1734.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Cocaina! Use: /Mochila");
  1735.             CocainaFavela[3] -= 40;
  1736.             DinheiroFavela[3] += 40;
  1737.             GuardarCocaina();
  1738.             GuardarDinheiro();
  1739.          }
  1740.          if (Player[playerid][pFaccao] == 5) {
  1741.             if (CocainaFavela[4] < 0) {
  1742.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1743.                return 1;
  1744.             }
  1745.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  1746.                TAG_ERRO " Você não tem dinheiro suficiente.");
  1747.             Player[playerid][pCocaina] += 40;
  1748.             GivePlayerMoney(playerid, -40);
  1749.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Cocaina! Use: /Mochila");
  1750.             CocainaFavela[4] -= 40;
  1751.             DinheiroFavela[4] += 40;
  1752.             GuardarCocaina();
  1753.             GuardarDinheiro();
  1754.          }
  1755.          if (Player[playerid][pFaccao] == 6) {
  1756.             if (CocainaFavela[5] < 0) {
  1757.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1758.                return 1;
  1759.             }
  1760.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  1761.                TAG_ERRO " Você não tem dinheiro suficiente.");
  1762.             Player[playerid][pCocaina] += 40;
  1763.             GivePlayerMoney(playerid, -40);
  1764.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Cocaina! Use: /Mochila");
  1765.             CocainaFavela[5] -= 40;
  1766.             DinheiroFavela[5] += 40;
  1767.             GuardarCocaina();
  1768.             GuardarDinheiro();
  1769.          }
  1770.          if (Player[playerid][pFaccao] == 7) {
  1771.             if (CocainaFavela[6] < 0) {
  1772.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1773.                return 1;
  1774.             }
  1775.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  1776.                TAG_ERRO " Você não tem dinheiro suficiente.");
  1777.             Player[playerid][pCocaina] += 40;
  1778.             GivePlayerMoney(playerid, -40);
  1779.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Cocaina! Use: /Mochila");
  1780.             CocainaFavela[6] -= 40;
  1781.             DinheiroFavela[6] += 40;
  1782.             GuardarCocaina();
  1783.             GuardarDinheiro();
  1784.          }
  1785.          if (Player[playerid][pFaccao] == 8) {
  1786.             if (CocainaFavela[7] < 0) {
  1787.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1788.                return 1;
  1789.             }
  1790.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  1791.                TAG_ERRO " Você não tem dinheiro suficiente.");
  1792.             Player[playerid][pCocaina] += 40;
  1793.             GivePlayerMoney(playerid, -40);
  1794.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Cocaina! Use: /Mochila");
  1795.             CocainaFavela[7] -= 40;
  1796.             DinheiroFavela[7] += 40;
  1797.             GuardarCocaina();
  1798.             GuardarDinheiro();
  1799.          }
  1800.          if (Player[playerid][pFaccao] == 9) {
  1801.             if (CocainaFavela[8] < 0) {
  1802.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1803.                return 1;
  1804.             }
  1805.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  1806.                TAG_ERRO " Você não tem dinheiro suficiente.");
  1807.             Player[playerid][pCocaina] += 40;
  1808.             GivePlayerMoney(playerid, -40);
  1809.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Cocaina! Use: /Mochila");
  1810.             CocainaFavela[8] -= 40;
  1811.             DinheiroFavela[8] += 40;
  1812.             GuardarCocaina();
  1813.             GuardarDinheiro();
  1814.          }
  1815.       }
  1816.       if (listitem == 4) {
  1817.          if (Player[playerid][pFaccao] == 1) {
  1818.             if (CocainaFavela[0] < 0) {
  1819.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1820.                return 1;
  1821.             }
  1822.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1823.             Player[playerid][pCocaina] += 50;
  1824.             GivePlayerMoney(playerid, -50);
  1825.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Cocaina! Use: /Mochila");
  1826.             CocainaFavela[0] -= 50;
  1827.             DinheiroFavela[0] += 50;
  1828.             GuardarCocaina();
  1829.             GuardarDinheiro();
  1830.          }
  1831.          if (Player[playerid][pFaccao] == 2) {
  1832.             if (CocainaFavela[1] < 0) {
  1833.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1834.                return 1;
  1835.             }
  1836.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1837.             Player[playerid][pCocaina] += 50;
  1838.             GivePlayerMoney(playerid, -50);
  1839.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Cocaina! Use: /Mochila");
  1840.             CocainaFavela[1] -= 50;
  1841.             DinheiroFavela[1] += 50;
  1842.             GuardarCocaina();
  1843.             GuardarDinheiro();
  1844.          }
  1845.          if (Player[playerid][pFaccao] == 3) {
  1846.             if (CocainaFavela[2] < 0) {
  1847.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1848.                return 1;
  1849.             }
  1850.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1851.             Player[playerid][pCocaina] += 50;
  1852.             GivePlayerMoney(playerid, -50);
  1853.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Cocaina! Use: /Mochila");
  1854.             CocainaFavela[2] -= 50;
  1855.             DinheiroFavela[2] += 50;
  1856.             GuardarCocaina();
  1857.             GuardarDinheiro();
  1858.          }
  1859.          if (Player[playerid][pFaccao] == 4) {
  1860.             if (CocainaFavela[3] < 0) {
  1861.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1862.                return 1;
  1863.             }
  1864.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1865.             Player[playerid][pCocaina] += 50;
  1866.             GivePlayerMoney(playerid, -50);
  1867.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Cocaina! Use: /Mochila");
  1868.             CocainaFavela[3] -= 50;
  1869.             DinheiroFavela[3] += 50;
  1870.             GuardarCocaina();
  1871.             GuardarDinheiro();
  1872.          }
  1873.          if (Player[playerid][pFaccao] == 5) {
  1874.             if (CocainaFavela[4] < 0) {
  1875.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1876.                return 1;
  1877.             }
  1878.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1879.             Player[playerid][pCocaina] += 50;
  1880.             GivePlayerMoney(playerid, -50);
  1881.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Cocaina! Use: /Mochila");
  1882.             CocainaFavela[4] -= 50;
  1883.             DinheiroFavela[4] += 50;
  1884.             GuardarCocaina();
  1885.             GuardarDinheiro();
  1886.          }
  1887.          if (Player[playerid][pFaccao] == 6) {
  1888.             if (CocainaFavela[5] < 0) {
  1889.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1890.                return 1;
  1891.             }
  1892.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1893.             Player[playerid][pCocaina] += 50;
  1894.             GivePlayerMoney(playerid, -50);
  1895.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Cocaina! Use: /Mochila");
  1896.             CocainaFavela[5] -= 50;
  1897.             DinheiroFavela[5] += 50;
  1898.             GuardarCocaina();
  1899.             GuardarDinheiro();
  1900.          }
  1901.          if (Player[playerid][pFaccao] == 7) {
  1902.             if (CocainaFavela[6] < 0) {
  1903.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1904.                return 1;
  1905.             }
  1906.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1907.             Player[playerid][pCocaina] += 50;
  1908.             GivePlayerMoney(playerid, -50);
  1909.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Cocaina! Use: /Mochila");
  1910.             CocainaFavela[6] -= 50;
  1911.             DinheiroFavela[6] += 50;
  1912.             GuardarCocaina();
  1913.             GuardarDinheiro();
  1914.          }
  1915.          if (Player[playerid][pFaccao] == 8) {
  1916.             if (CocainaFavela[7] < 0) {
  1917.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1918.                return 1;
  1919.             }
  1920.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1921.             Player[playerid][pCocaina] += 50;
  1922.             GivePlayerMoney(playerid, -50);
  1923.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Cocaina! Use: /Mochila");
  1924.             CocainaFavela[7] -= 50;
  1925.             DinheiroFavela[7] += 50;
  1926.             GuardarCocaina();
  1927.             GuardarDinheiro();
  1928.          }
  1929.          if (Player[playerid][pFaccao] == 9) {
  1930.             if (CocainaFavela[8] < 0) {
  1931.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1932.                return 1;
  1933.             }
  1934.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1935.             Player[playerid][pCocaina] += 50;
  1936.             GivePlayerMoney(playerid, -50);
  1937.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Cocaina! Use: /Mochila");
  1938.             CocainaFavela[8] -= 50;
  1939.             DinheiroFavela[8] += 50;
  1940.             GuardarCocaina();
  1941.             GuardarDinheiro();
  1942.          }
  1943.       }
  1944.       if (listitem == 5) {
  1945.          if (Player[playerid][pFaccao] == 1) {
  1946.             if (CocainaFavela[0] < 0) {
  1947.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1948.                return 1;
  1949.             }
  1950.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1951.             Player[playerid][pCocaina] += 60;
  1952.             GivePlayerMoney(playerid, -60);
  1953.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Cocaina! Use: /Mochila");
  1954.             CocainaFavela[0] -= 60;
  1955.             DinheiroFavela[0] += 60;
  1956.             GuardarCocaina();
  1957.             GuardarDinheiro();
  1958.          }
  1959.          if (Player[playerid][pFaccao] == 2) {
  1960.             if (CocainaFavela[1] < 0) {
  1961.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1962.                return 1;
  1963.             }
  1964.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1965.             Player[playerid][pCocaina] += 60;
  1966.             GivePlayerMoney(playerid, -60);
  1967.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Cocaina! Use: /Mochila");
  1968.             CocainaFavela[1] -= 60;
  1969.             DinheiroFavela[1] += 60;
  1970.             GuardarCocaina();
  1971.             GuardarDinheiro();
  1972.          }
  1973.          if (Player[playerid][pFaccao] == 3) {
  1974.             if (CocainaFavela[2] < 0) {
  1975.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1976.                return 1;
  1977.             }
  1978.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1979.             Player[playerid][pCocaina] += 60;
  1980.             GivePlayerMoney(playerid, -60);
  1981.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Cocaina! Use: /Mochila");
  1982.             CocainaFavela[2] -= 60;
  1983.             DinheiroFavela[2] += 60;
  1984.             GuardarCocaina();
  1985.             GuardarDinheiro();
  1986.          }
  1987.          if (Player[playerid][pFaccao] == 4) {
  1988.             if (CocainaFavela[3] < 0) {
  1989.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  1990.                return 1;
  1991.             }
  1992.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  1993.             Player[playerid][pCocaina] += 60;
  1994.             GivePlayerMoney(playerid, -60);
  1995.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Cocaina! Use: /Mochila");
  1996.             CocainaFavela[3] -= 60;
  1997.             DinheiroFavela[3] += 60;
  1998.             GuardarCocaina();
  1999.             GuardarDinheiro();
  2000.          }
  2001.          if (Player[playerid][pFaccao] == 5) {
  2002.             if (CocainaFavela[4] < 0) {
  2003.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2004.                return 1;
  2005.             }
  2006.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2007.             Player[playerid][pCocaina] += 60;
  2008.             GivePlayerMoney(playerid, -60);
  2009.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Cocaina! Use: /Mochila");
  2010.             CocainaFavela[4] -= 60;
  2011.             DinheiroFavela[4] += 60;
  2012.             GuardarCocaina();
  2013.             GuardarDinheiro();
  2014.          }
  2015.          if (Player[playerid][pFaccao] == 6) {
  2016.             if (CocainaFavela[5] < 0) {
  2017.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2018.                return 1;
  2019.             }
  2020.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2021.             Player[playerid][pCocaina] += 60;
  2022.             GivePlayerMoney(playerid, -60);
  2023.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Cocaina! Use: /Mochila");
  2024.             CocainaFavela[5] -= 60;
  2025.             DinheiroFavela[5] += 60;
  2026.             GuardarCocaina();
  2027.             GuardarDinheiro();
  2028.          }
  2029.          if (Player[playerid][pFaccao] == 7) {
  2030.             if (CocainaFavela[6] < 0) {
  2031.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2032.                return 1;
  2033.             }
  2034.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2035.             Player[playerid][pCocaina] += 60;
  2036.             GivePlayerMoney(playerid, -60);
  2037.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Cocaina! Use: /Mochila");
  2038.             CocainaFavela[6] -= 60;
  2039.             DinheiroFavela[6] += 60;
  2040.             GuardarCocaina();
  2041.             GuardarDinheiro();
  2042.          }
  2043.          if (Player[playerid][pFaccao] == 8) {
  2044.             if (CocainaFavela[7] < 0) {
  2045.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2046.                return 1;
  2047.             }
  2048.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2049.             Player[playerid][pCocaina] += 60;
  2050.             GivePlayerMoney(playerid, -60);
  2051.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Cocaina! Use: /Mochila");
  2052.             CocainaFavela[7] -= 60;
  2053.             DinheiroFavela[7] += 60;
  2054.             GuardarCocaina();
  2055.             GuardarDinheiro();
  2056.          }
  2057.          if (Player[playerid][pFaccao] == 9) {
  2058.             if (CocainaFavela[8] < 0) {
  2059.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2060.                return 1;
  2061.             }
  2062.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2063.             Player[playerid][pCocaina] += 60;
  2064.             GivePlayerMoney(playerid, -60);
  2065.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Cocaina! Use: /Mochila");
  2066.             CocainaFavela[8] -= 60;
  2067.             DinheiroFavela[8] += 60;
  2068.             GuardarCocaina();
  2069.             GuardarDinheiro();
  2070.          }
  2071.       }
  2072.       if (listitem == 6) {
  2073.          if (Player[playerid][pFaccao] == 1) {
  2074.             if (CocainaFavela[0] < 0) {
  2075.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2076.                return 1;
  2077.             }
  2078.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2079.             Player[playerid][pCocaina] += 70;
  2080.             GivePlayerMoney(playerid, -70);
  2081.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Cocaina! Use: /Mochila");
  2082.             CocainaFavela[0] -= 70;
  2083.             DinheiroFavela[0] += 70;
  2084.             GuardarCocaina();
  2085.             GuardarDinheiro();
  2086.          }
  2087.          if (Player[playerid][pFaccao] == 2) {
  2088.             if (CocainaFavela[1] < 0) {
  2089.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2090.                return 1;
  2091.             }
  2092.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2093.             Player[playerid][pCocaina] += 70;
  2094.             GivePlayerMoney(playerid, -70);
  2095.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Cocaina! Use: /Mochila");
  2096.             CocainaFavela[1] -= 70;
  2097.             DinheiroFavela[1] += 70;
  2098.             GuardarCocaina();
  2099.             GuardarDinheiro();
  2100.          }
  2101.          if (Player[playerid][pFaccao] == 3) {
  2102.             if (CocainaFavela[2] < 0) {
  2103.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2104.                return 1;
  2105.             }
  2106.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2107.             Player[playerid][pCocaina] += 70;
  2108.             GivePlayerMoney(playerid, -70);
  2109.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Cocaina! Use: /Mochila");
  2110.             CocainaFavela[2] -= 70;
  2111.             DinheiroFavela[2] += 70;
  2112.             GuardarCocaina();
  2113.             GuardarDinheiro();
  2114.          }
  2115.          if (Player[playerid][pFaccao] == 4) {
  2116.             if (CocainaFavela[3] < 0) {
  2117.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2118.                return 1;
  2119.             }
  2120.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2121.             Player[playerid][pCocaina] += 70;
  2122.             GivePlayerMoney(playerid, -70);
  2123.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Cocaina! Use: /Mochila");
  2124.             CocainaFavela[3] -= 70;
  2125.             DinheiroFavela[3] += 70;
  2126.             GuardarCocaina();
  2127.             GuardarDinheiro();
  2128.          }
  2129.          if (Player[playerid][pFaccao] == 5) {
  2130.             if (CocainaFavela[4] < 0) {
  2131.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2132.                return 1;
  2133.             }
  2134.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2135.             Player[playerid][pCocaina] += 70;
  2136.             GivePlayerMoney(playerid, -70);
  2137.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Cocaina! Use: /Mochila");
  2138.             CocainaFavela[4] -= 70;
  2139.             DinheiroFavela[4] += 70;
  2140.             GuardarCocaina();
  2141.             GuardarDinheiro();
  2142.          }
  2143.          if (Player[playerid][pFaccao] == 6) {
  2144.             if (CocainaFavela[5] < 0) {
  2145.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2146.                return 1;
  2147.             }
  2148.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2149.             Player[playerid][pCocaina] += 70;
  2150.             GivePlayerMoney(playerid, -70);
  2151.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Cocaina! Use: /Mochila");
  2152.             CocainaFavela[5] -= 70;
  2153.             DinheiroFavela[5] += 70;
  2154.             GuardarCocaina();
  2155.             GuardarDinheiro();
  2156.          }
  2157.          if (Player[playerid][pFaccao] == 7) {
  2158.             if (CocainaFavela[6] < 0) {
  2159.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2160.                return 1;
  2161.             }
  2162.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2163.             Player[playerid][pCocaina] += 70;
  2164.             GivePlayerMoney(playerid, -70);
  2165.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Cocaina! Use: /Mochila");
  2166.             CocainaFavela[6] -= 70;
  2167.             DinheiroFavela[6] += 70;
  2168.             GuardarCocaina();
  2169.             GuardarDinheiro();
  2170.          }
  2171.          if (Player[playerid][pFaccao] == 8) {
  2172.             if (CocainaFavela[7] < 0) {
  2173.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2174.                return 1;
  2175.             }
  2176.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2177.             Player[playerid][pCocaina] += 70;
  2178.             GivePlayerMoney(playerid, -70);
  2179.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Cocaina! Use: /Mochila");
  2180.             CocainaFavela[7] -= 70;
  2181.             DinheiroFavela[7] += 70;
  2182.             GuardarCocaina();
  2183.             GuardarDinheiro();
  2184.          }
  2185.          if (Player[playerid][pFaccao] == 9) {
  2186.             if (CocainaFavela[8] < 0) {
  2187.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2188.                return 1;
  2189.             }
  2190.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2191.             Player[playerid][pCocaina] += 70;
  2192.             GivePlayerMoney(playerid, -70);
  2193.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Cocaina! Use: /Mochila");
  2194.             CocainaFavela[8] -= 70;
  2195.             DinheiroFavela[8] += 70;
  2196.             GuardarCocaina();
  2197.             GuardarDinheiro();
  2198.          }
  2199.       }
  2200.       if (listitem == 7) {
  2201.          if (Player[playerid][pFaccao] == 1) {
  2202.             if (CocainaFavela[0] < 0) {
  2203.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2204.                return 1;
  2205.             }
  2206.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2207.             Player[playerid][pCocaina] += 80;
  2208.             GivePlayerMoney(playerid, -80);
  2209.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Cocaina! Use: /Mochila");
  2210.             CocainaFavela[0] -= 80;
  2211.             DinheiroFavela[0] += 80;
  2212.             GuardarCocaina();
  2213.             GuardarDinheiro();
  2214.          }
  2215.          if (Player[playerid][pFaccao] == 2) {
  2216.             if (CocainaFavela[1] < 0) {
  2217.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2218.                return 1;
  2219.             }
  2220.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2221.             Player[playerid][pCocaina] += 80;
  2222.             GivePlayerMoney(playerid, -80);
  2223.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Cocaina! Use: /Mochila");
  2224.             CocainaFavela[1] -= 80;
  2225.             DinheiroFavela[1] += 80;
  2226.             GuardarCocaina();
  2227.             GuardarDinheiro();
  2228.          }
  2229.          if (Player[playerid][pFaccao] == 3) {
  2230.             if (CocainaFavela[2] < 0) {
  2231.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2232.                return 1;
  2233.             }
  2234.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2235.             Player[playerid][pCocaina] += 80;
  2236.             GivePlayerMoney(playerid, -80);
  2237.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Cocaina! Use: /Mochila");
  2238.             CocainaFavela[2] -= 80;
  2239.             DinheiroFavela[2] += 80;
  2240.             GuardarCocaina();
  2241.             GuardarDinheiro();
  2242.          }
  2243.          if (Player[playerid][pFaccao] == 4) {
  2244.             if (CocainaFavela[3] < 0) {
  2245.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2246.                return 1;
  2247.             }
  2248.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2249.             Player[playerid][pCocaina] += 80;
  2250.             GivePlayerMoney(playerid, -80);
  2251.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Cocaina! Use: /Mochila");
  2252.             CocainaFavela[3] -= 80;
  2253.             DinheiroFavela[3] += 80;
  2254.             GuardarCocaina();
  2255.             GuardarDinheiro();
  2256.          }
  2257.          if (Player[playerid][pFaccao] == 5) {
  2258.             if (CocainaFavela[4] < 0) {
  2259.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2260.                return 1;
  2261.             }
  2262.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2263.             Player[playerid][pCocaina] += 80;
  2264.             GivePlayerMoney(playerid, -80);
  2265.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Cocaina! Use: /Mochila");
  2266.             CocainaFavela[4] -= 80;
  2267.             DinheiroFavela[4] += 80;
  2268.             GuardarCocaina();
  2269.             GuardarDinheiro();
  2270.          }
  2271.          if (Player[playerid][pFaccao] == 6) {
  2272.             if (CocainaFavela[5] < 0) {
  2273.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2274.                return 1;
  2275.             }
  2276.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2277.             Player[playerid][pCocaina] += 80;
  2278.             GivePlayerMoney(playerid, -80);
  2279.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Cocaina! Use: /Mochila");
  2280.             CocainaFavela[5] -= 80;
  2281.             DinheiroFavela[5] += 80;
  2282.             GuardarCocaina();
  2283.             GuardarDinheiro();
  2284.          }
  2285.          if (Player[playerid][pFaccao] == 7) {
  2286.             if (CocainaFavela[6] < 0) {
  2287.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2288.                return 1;
  2289.             }
  2290.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2291.             Player[playerid][pCocaina] += 80;
  2292.             GivePlayerMoney(playerid, -80);
  2293.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Cocaina! Use: /Mochila");
  2294.             CocainaFavela[6] -= 80;
  2295.             DinheiroFavela[6] += 80;
  2296.             GuardarCocaina();
  2297.             GuardarDinheiro();
  2298.          }
  2299.          if (Player[playerid][pFaccao] == 8) {
  2300.             if (CocainaFavela[7] < 0) {
  2301.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2302.                return 1;
  2303.             }
  2304.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2305.             Player[playerid][pCocaina] += 80;
  2306.             GivePlayerMoney(playerid, -80);
  2307.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Cocaina! Use: /Mochila");
  2308.             CocainaFavela[7] -= 80;
  2309.             DinheiroFavela[7] += 80;
  2310.             GuardarCocaina();
  2311.             GuardarDinheiro();
  2312.          }
  2313.          if (Player[playerid][pFaccao] == 9) {
  2314.             if (CocainaFavela[8] < 0) {
  2315.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2316.                return 1;
  2317.             }
  2318.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2319.             Player[playerid][pCocaina] += 80;
  2320.             GivePlayerMoney(playerid, -80);
  2321.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Cocaina! Use: /Mochila");
  2322.             CocainaFavela[8] -= 80;
  2323.             DinheiroFavela[8] += 80;
  2324.             GuardarCocaina();
  2325.             GuardarDinheiro();
  2326.          }
  2327.       }
  2328.       if (listitem == 8) {
  2329.          if (Player[playerid][pFaccao] == 1) {
  2330.             if (CocainaFavela[0] < 0) {
  2331.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2332.                return 1;
  2333.             }
  2334.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2335.             Player[playerid][pCocaina] += 90;
  2336.             GivePlayerMoney(playerid, -90);
  2337.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Cocaina! Use: /Mochila");
  2338.             CocainaFavela[0] -= 90;
  2339.             DinheiroFavela[0] += 90;
  2340.             GuardarCocaina();
  2341.             GuardarDinheiro();
  2342.          }
  2343.          if (Player[playerid][pFaccao] == 2) {
  2344.             if (CocainaFavela[1] < 0) {
  2345.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2346.                return 1;
  2347.             }
  2348.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2349.             Player[playerid][pCocaina] += 90;
  2350.             GivePlayerMoney(playerid, -90);
  2351.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Cocaina! Use: /Mochila");
  2352.             CocainaFavela[1] -= 90;
  2353.             DinheiroFavela[1] += 90;
  2354.             GuardarCocaina();
  2355.             GuardarDinheiro();
  2356.          }
  2357.          if (Player[playerid][pFaccao] == 3) {
  2358.             if (CocainaFavela[2] < 0) {
  2359.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2360.                return 1;
  2361.             }
  2362.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2363.             Player[playerid][pCocaina] += 90;
  2364.             GivePlayerMoney(playerid, -90);
  2365.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Cocaina! Use: /Mochila");
  2366.             CocainaFavela[2] -= 90;
  2367.             DinheiroFavela[2] += 90;
  2368.             GuardarCocaina();
  2369.             GuardarDinheiro();
  2370.          }
  2371.          if (Player[playerid][pFaccao] == 4) {
  2372.             if (CocainaFavela[3] < 0) {
  2373.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2374.                return 1;
  2375.             }
  2376.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2377.             Player[playerid][pCocaina] += 90;
  2378.             GivePlayerMoney(playerid, -90);
  2379.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Cocaina! Use: /Mochila");
  2380.             CocainaFavela[3] -= 90;
  2381.             DinheiroFavela[3] += 90;
  2382.             GuardarCocaina();
  2383.             GuardarDinheiro();
  2384.          }
  2385.          if (Player[playerid][pFaccao] == 5) {
  2386.             if (CocainaFavela[4] < 0) {
  2387.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2388.                return 1;
  2389.             }
  2390.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2391.             Player[playerid][pCocaina] += 90;
  2392.             GivePlayerMoney(playerid, -90);
  2393.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Cocaina! Use: /Mochila");
  2394.             CocainaFavela[4] -= 90;
  2395.             DinheiroFavela[4] += 90;
  2396.             GuardarCocaina();
  2397.             GuardarDinheiro();
  2398.          }
  2399.          if (Player[playerid][pFaccao] == 6) {
  2400.             if (CocainaFavela[5] < 0) {
  2401.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2402.                return 1;
  2403.             }
  2404.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2405.             Player[playerid][pCocaina] += 90;
  2406.             GivePlayerMoney(playerid, -90);
  2407.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Cocaina! Use: /Mochila");
  2408.             CocainaFavela[5] -= 90;
  2409.             DinheiroFavela[5] += 90;
  2410.             GuardarCocaina();
  2411.             GuardarDinheiro();
  2412.          }
  2413.          if (Player[playerid][pFaccao] == 7) {
  2414.             if (CocainaFavela[6] < 0) {
  2415.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2416.                return 1;
  2417.             }
  2418.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2419.             Player[playerid][pCocaina] += 90;
  2420.             GivePlayerMoney(playerid, -90);
  2421.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Cocaina! Use: /Mochila");
  2422.             CocainaFavela[6] -= 90;
  2423.             DinheiroFavela[6] += 90;
  2424.             GuardarCocaina();
  2425.             GuardarDinheiro();
  2426.          }
  2427.          if (Player[playerid][pFaccao] == 8) {
  2428.             if (CocainaFavela[7] < 0) {
  2429.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2430.                return 1;
  2431.             }
  2432.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2433.             Player[playerid][pCocaina] += 90;
  2434.             GivePlayerMoney(playerid, -90);
  2435.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Cocaina! Use: /Mochila");
  2436.             CocainaFavela[7] -= 90;
  2437.             DinheiroFavela[7] += 90;
  2438.             GuardarCocaina();
  2439.             GuardarDinheiro();
  2440.          }
  2441.          if (Player[playerid][pFaccao] == 9) {
  2442.             if (CocainaFavela[8] < 0) {
  2443.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2444.                return 1;
  2445.             }
  2446.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2447.             Player[playerid][pCocaina] += 90;
  2448.             GivePlayerMoney(playerid, -90);
  2449.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Cocaina! Use: /Mochila");
  2450.             CocainaFavela[8] -= 90;
  2451.             DinheiroFavela[8] += 90;
  2452.             GuardarCocaina();
  2453.             GuardarDinheiro();
  2454.          }
  2455.       }
  2456.       if (listitem == 9) {
  2457.          if (Player[playerid][pFaccao] == 1) {
  2458.             if (CocainaFavela[0] < 0) {
  2459.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2460.                return 1;
  2461.             }
  2462.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2463.             Player[playerid][pCocaina] += 100;
  2464.             GivePlayerMoney(playerid, -100);
  2465.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Cocaina! Use: /Mochila");
  2466.             CocainaFavela[0] -= 100;
  2467.             DinheiroFavela[0] += 100;
  2468.             GuardarCocaina();
  2469.             GuardarDinheiro();
  2470.          }
  2471.          if (Player[playerid][pFaccao] == 2) {
  2472.             if (CocainaFavela[1] < 0) {
  2473.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2474.                return 1;
  2475.             }
  2476.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2477.             Player[playerid][pCocaina] += 100;
  2478.             GivePlayerMoney(playerid, -100);
  2479.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Cocaina! Use: /Mochila");
  2480.             CocainaFavela[1] -= 100;
  2481.             DinheiroFavela[1] += 100;
  2482.             GuardarCocaina();
  2483.             GuardarDinheiro();
  2484.          }
  2485.          if (Player[playerid][pFaccao] == 3) {
  2486.             if (CocainaFavela[2] < 0) {
  2487.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2488.                return 1;
  2489.             }
  2490.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2491.             Player[playerid][pCocaina] += 100;
  2492.             GivePlayerMoney(playerid, -100);
  2493.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Cocaina! Use: /Mochila");
  2494.             CocainaFavela[2] -= 100;
  2495.             DinheiroFavela[2] += 100;
  2496.             GuardarCocaina();
  2497.             GuardarDinheiro();
  2498.          }
  2499.          if (Player[playerid][pFaccao] == 4) {
  2500.             if (CocainaFavela[3] < 0) {
  2501.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2502.                return 1;
  2503.             }
  2504.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2505.             Player[playerid][pCocaina] += 100;
  2506.             GivePlayerMoney(playerid, -100);
  2507.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Cocaina! Use: /Mochila");
  2508.             CocainaFavela[3] -= 100;
  2509.             DinheiroFavela[3] += 100;
  2510.             GuardarCocaina();
  2511.             GuardarDinheiro();
  2512.          }
  2513.          if (Player[playerid][pFaccao] == 5) {
  2514.             if (CocainaFavela[4] < 0) {
  2515.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2516.                return 1;
  2517.             }
  2518.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2519.             Player[playerid][pCocaina] += 100;
  2520.             GivePlayerMoney(playerid, -100);
  2521.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Cocaina! Use: /Mochila");
  2522.             CocainaFavela[4] -= 100;
  2523.             DinheiroFavela[4] += 100;
  2524.             GuardarCocaina();
  2525.             GuardarDinheiro();
  2526.          }
  2527.          if (Player[playerid][pFaccao] == 6) {
  2528.             if (CocainaFavela[5] < 0) {
  2529.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2530.                return 1;
  2531.             }
  2532.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2533.             Player[playerid][pCocaina] += 100;
  2534.             GivePlayerMoney(playerid, -100);
  2535.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Cocaina! Use: /Mochila");
  2536.             CocainaFavela[5] -= 100;
  2537.             DinheiroFavela[5] += 100;
  2538.             GuardarCocaina();
  2539.             GuardarDinheiro();
  2540.          }
  2541.          if (Player[playerid][pFaccao] == 7) {
  2542.             if (CocainaFavela[6] < 0) {
  2543.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2544.                return 1;
  2545.             }
  2546.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2547.             Player[playerid][pCocaina] += 100;
  2548.             GivePlayerMoney(playerid, -100);
  2549.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Cocaina! Use: /Mochila");
  2550.             CocainaFavela[6] -= 100;
  2551.             DinheiroFavela[6] += 100;
  2552.             GuardarCocaina();
  2553.             GuardarDinheiro();
  2554.          }
  2555.          if (Player[playerid][pFaccao] == 8) {
  2556.             if (CocainaFavela[7] < 0) {
  2557.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2558.                return 1;
  2559.             }
  2560.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2561.             Player[playerid][pCocaina] += 100;
  2562.             GivePlayerMoney(playerid, -100);
  2563.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Cocaina! Use: /Mochila");
  2564.             CocainaFavela[7] -= 100;
  2565.             DinheiroFavela[7] += 100;
  2566.             GuardarCocaina();
  2567.             GuardarDinheiro();
  2568.          }
  2569.          if (Player[playerid][pFaccao] == 9) {
  2570.             if (CocainaFavela[8] < 0) {
  2571.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Cocaina no armazém");
  2572.                return 1;
  2573.             }
  2574.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2575.             Player[playerid][pCocaina] += 100;
  2576.             GivePlayerMoney(playerid, -100);
  2577.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Cocaina! Use: /Mochila");
  2578.             CocainaFavela[8] -= 100;
  2579.             DinheiroFavela[8] += 100;
  2580.             GuardarCocaina();
  2581.             GuardarDinheiro();
  2582.          }
  2583.       }
  2584.    }
  2585.    return 1;
  2586. }
  2587. if (dialogid == DIALOG_BALINHA) {
  2588.    if (response) {
  2589.       if (listitem == 0) {
  2590.          if (Player[playerid][pFaccao] == 1) {
  2591.             if (BalinhaFavela[0] < 0) {
  2592.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2593.                return 1;
  2594.             }
  2595.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2596.             Player[playerid][pBalinha] += 10;
  2597.             GivePlayerMoney(playerid, -10);
  2598.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Balinha! Use: /Mochila");
  2599.             BalinhaFavela[0] -= 10;
  2600.             DinheiroFavela[0] += 10;
  2601.             GuardarBalinha();
  2602.             GuardarDinheiro();
  2603.          }
  2604.          if (Player[playerid][pFaccao] == 2) {
  2605.             if (BalinhaFavela[1] < 0) {
  2606.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2607.                return 1;
  2608.             }
  2609.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2610.             Player[playerid][pBalinha] += 10;
  2611.             GivePlayerMoney(playerid, -10);
  2612.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Balinha! Use: /Mochila");
  2613.             BalinhaFavela[1] -= 10;
  2614.             DinheiroFavela[1] += 10;
  2615.             GuardarBalinha();
  2616.             GuardarDinheiro();
  2617.          }
  2618.          if (Player[playerid][pFaccao] == 3) {
  2619.             if (BalinhaFavela[2] < 0) {
  2620.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2621.                return 1;
  2622.             }
  2623.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2624.             Player[playerid][pBalinha] += 10;
  2625.             GivePlayerMoney(playerid, -10);
  2626.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Balinha! Use: /Mochila");
  2627.             BalinhaFavela[2] -= 10;
  2628.             DinheiroFavela[2] += 10;
  2629.             GuardarBalinha();
  2630.             GuardarDinheiro();
  2631.          }
  2632.          if (Player[playerid][pFaccao] == 4) {
  2633.             if (BalinhaFavela[3] < 0) {
  2634.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2635.                return 1;
  2636.             }
  2637.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2638.             Player[playerid][pBalinha] += 10;
  2639.             GivePlayerMoney(playerid, -10);
  2640.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Balinha! Use: /Mochila");
  2641.             BalinhaFavela[3] -= 10;
  2642.             DinheiroFavela[3] += 10;
  2643.             GuardarBalinha();
  2644.             GuardarDinheiro();
  2645.          }
  2646.          if (Player[playerid][pFaccao] == 5) {
  2647.             if (BalinhaFavela[4] < 0) {
  2648.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2649.                return 1;
  2650.             }
  2651.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2652.             Player[playerid][pBalinha] += 10;
  2653.             GivePlayerMoney(playerid, -10);
  2654.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Balinha! Use: /Mochila");
  2655.             BalinhaFavela[4] -= 10;
  2656.             DinheiroFavela[4] += 10;
  2657.             GuardarBalinha();
  2658.             GuardarDinheiro();
  2659.          }
  2660.          if (Player[playerid][pFaccao] == 6) {
  2661.             if (BalinhaFavela[5] < 0) {
  2662.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2663.                return 1;
  2664.             }
  2665.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2666.             Player[playerid][pBalinha] += 10;
  2667.             GivePlayerMoney(playerid, -10);
  2668.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Balinha! Use: /Mochila");
  2669.             BalinhaFavela[5] -= 10;
  2670.             DinheiroFavela[5] += 10;
  2671.             GuardarBalinha();
  2672.             GuardarDinheiro();
  2673.          }
  2674.          if (Player[playerid][pFaccao] == 7) {
  2675.             if (BalinhaFavela[6] < 0) {
  2676.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2677.                return 1;
  2678.             }
  2679.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2680.             Player[playerid][pBalinha] += 10;
  2681.             GivePlayerMoney(playerid, -10);
  2682.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Balinha! Use: /Mochila");
  2683.             BalinhaFavela[6] -= 10;
  2684.             DinheiroFavela[6] += 10;
  2685.             GuardarBalinha();
  2686.             GuardarDinheiro();
  2687.          }
  2688.          if (Player[playerid][pFaccao] == 8) {
  2689.             if (BalinhaFavela[7] < 0) {
  2690.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2691.                return 1;
  2692.             }
  2693.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2694.             Player[playerid][pBalinha] += 10;
  2695.             GivePlayerMoney(playerid, -10);
  2696.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Balinha! Use: /Mochila");
  2697.             BalinhaFavela[7] -= 10;
  2698.             DinheiroFavela[7] += 10;
  2699.             GuardarBalinha();
  2700.             GuardarDinheiro();
  2701.          }
  2702.          if (Player[playerid][pFaccao] == 9) {
  2703.             if (BalinhaFavela[8] < 0) {
  2704.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2705.                return 1;
  2706.             }
  2707.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2708.             Player[playerid][pBalinha] += 10;
  2709.             GivePlayerMoney(playerid, -10);
  2710.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Balinha! Use: /Mochila");
  2711.             BalinhaFavela[8] -= 10;
  2712.             DinheiroFavela[8] += 10;
  2713.             GuardarBalinha();
  2714.             GuardarDinheiro();
  2715.          }
  2716.       }
  2717.       if (listitem == 1) {
  2718.          if (Player[playerid][pFaccao] == 1) {
  2719.             if (BalinhaFavela[0] < 0) {
  2720.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2721.                return 1;
  2722.             }
  2723.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2724.             Player[playerid][pBalinha] += 20;
  2725.             GivePlayerMoney(playerid, -20);
  2726.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Balinha! Use: /Mochila");
  2727.             BalinhaFavela[0] -= 20;
  2728.             DinheiroFavela[0] += 20;
  2729.             GuardarBalinha();
  2730.             GuardarDinheiro();
  2731.          }
  2732.          if (Player[playerid][pFaccao] == 2) {
  2733.             if (BalinhaFavela[1] < 0) {
  2734.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2735.                return 1;
  2736.             }
  2737.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2738.             Player[playerid][pBalinha] += 20;
  2739.             GivePlayerMoney(playerid, -20);
  2740.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Balinha! Use: /Mochila");
  2741.             BalinhaFavela[1] -= 20;
  2742.             DinheiroFavela[1] += 20;
  2743.             GuardarBalinha();
  2744.             GuardarDinheiro();
  2745.          }
  2746.          if (Player[playerid][pFaccao] == 3) {
  2747.             if (BalinhaFavela[2] < 0) {
  2748.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2749.                return 1;
  2750.             }
  2751.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2752.             Player[playerid][pBalinha] += 20;
  2753.             GivePlayerMoney(playerid, -20);
  2754.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Balinha! Use: /Mochila");
  2755.             BalinhaFavela[2] -= 20;
  2756.             DinheiroFavela[2] += 20;
  2757.             GuardarBalinha();
  2758.             GuardarDinheiro();
  2759.          }
  2760.          if (Player[playerid][pFaccao] == 4) {
  2761.             if (BalinhaFavela[3] < 0) {
  2762.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2763.                return 1;
  2764.             }
  2765.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2766.             Player[playerid][pBalinha] += 20;
  2767.             GivePlayerMoney(playerid, -20);
  2768.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Balinha! Use: /Mochila");
  2769.             BalinhaFavela[3] -= 20;
  2770.             DinheiroFavela[3] += 20;
  2771.             GuardarBalinha();
  2772.             GuardarDinheiro();
  2773.          }
  2774.          if (Player[playerid][pFaccao] == 5) {
  2775.             if (BalinhaFavela[4] < 0) {
  2776.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2777.                return 1;
  2778.             }
  2779.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2780.             Player[playerid][pBalinha] += 20;
  2781.             GivePlayerMoney(playerid, -20);
  2782.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Balinha! Use: /Mochila");
  2783.             BalinhaFavela[4] -= 20;
  2784.             DinheiroFavela[4] += 20;
  2785.             GuardarBalinha();
  2786.             GuardarDinheiro();
  2787.          }
  2788.          if (Player[playerid][pFaccao] == 6) {
  2789.             if (BalinhaFavela[5] < 0) {
  2790.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2791.                return 1;
  2792.             }
  2793.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2794.             Player[playerid][pBalinha] += 20;
  2795.             GivePlayerMoney(playerid, -20);
  2796.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Balinha! Use: /Mochila");
  2797.             BalinhaFavela[5] -= 20;
  2798.             DinheiroFavela[5] += 20;
  2799.             GuardarBalinha();
  2800.             GuardarDinheiro();
  2801.          }
  2802.          if (Player[playerid][pFaccao] == 7) {
  2803.             if (BalinhaFavela[6] < 0) {
  2804.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2805.                return 1;
  2806.             }
  2807.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2808.             Player[playerid][pBalinha] += 20;
  2809.             GivePlayerMoney(playerid, -20);
  2810.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Balinha! Use: /Mochila");
  2811.             BalinhaFavela[6] -= 20;
  2812.             DinheiroFavela[6] += 20;
  2813.             GuardarBalinha();
  2814.             GuardarDinheiro();
  2815.          }
  2816.          if (Player[playerid][pFaccao] == 8) {
  2817.             if (BalinhaFavela[7] < 0) {
  2818.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2819.                return 1;
  2820.             }
  2821.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2822.             Player[playerid][pBalinha] += 20;
  2823.             GivePlayerMoney(playerid, -20);
  2824.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Balinha! Use: /Mochila");
  2825.             BalinhaFavela[7] -= 20;
  2826.             DinheiroFavela[7] += 20;
  2827.             GuardarBalinha();
  2828.             GuardarDinheiro();
  2829.          }
  2830.          if (Player[playerid][pFaccao] == 9) {
  2831.             if (BalinhaFavela[8] < 0) {
  2832.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2833.                return 1;
  2834.             }
  2835.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2836.             Player[playerid][pBalinha] += 20;
  2837.             GivePlayerMoney(playerid, -20);
  2838.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Balinha! Use: /Mochila");
  2839.             BalinhaFavela[8] -= 20;
  2840.             DinheiroFavela[8] += 20;
  2841.             GuardarBalinha();
  2842.             GuardarDinheiro();
  2843.          }
  2844.       }
  2845.       if (listitem == 2) {
  2846.          if (Player[playerid][pFaccao] == 1) {
  2847.             if (BalinhaFavela[0] < 0) {
  2848.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2849.                return 1;
  2850.             }
  2851.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2852.             Player[playerid][pBalinha] += 30;
  2853.             GivePlayerMoney(playerid, -30);
  2854.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Balinha! Use: /Mochila");
  2855.             BalinhaFavela[0] -= 30;
  2856.             DinheiroFavela[0] += 30;
  2857.             GuardarBalinha();
  2858.             GuardarDinheiro();
  2859.          }
  2860.          if (Player[playerid][pFaccao] == 2) {
  2861.             if (BalinhaFavela[1] < 0) {
  2862.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2863.                return 1;
  2864.             }
  2865.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2866.             Player[playerid][pBalinha] += 30;
  2867.             GivePlayerMoney(playerid, -30);
  2868.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Balinha! Use: /Mochila");
  2869.             BalinhaFavela[1] -= 30;
  2870.             DinheiroFavela[1] += 30;
  2871.             GuardarBalinha();
  2872.             GuardarDinheiro();
  2873.          }
  2874.          if (Player[playerid][pFaccao] == 3) {
  2875.             if (BalinhaFavela[2] < 0) {
  2876.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2877.                return 1;
  2878.             }
  2879.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2880.             Player[playerid][pBalinha] += 30;
  2881.             GivePlayerMoney(playerid, -30);
  2882.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Balinha! Use: /Mochila");
  2883.             BalinhaFavela[2] -= 30;
  2884.             DinheiroFavela[2] += 30;
  2885.             GuardarBalinha();
  2886.             GuardarDinheiro();
  2887.          }
  2888.          if (Player[playerid][pFaccao] == 4) {
  2889.             if (BalinhaFavela[3] < 0) {
  2890.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2891.                return 1;
  2892.             }
  2893.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2894.             Player[playerid][pBalinha] += 30;
  2895.             GivePlayerMoney(playerid, -30);
  2896.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Balinha! Use: /Mochila");
  2897.             BalinhaFavela[3] -= 30;
  2898.             DinheiroFavela[3] += 30;
  2899.             GuardarBalinha();
  2900.             GuardarDinheiro();
  2901.          }
  2902.          if (Player[playerid][pFaccao] == 5) {
  2903.             if (BalinhaFavela[4] < 0) {
  2904.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2905.                return 1;
  2906.             }
  2907.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2908.             Player[playerid][pBalinha] += 30;
  2909.             GivePlayerMoney(playerid, -30);
  2910.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Balinha! Use: /Mochila");
  2911.             BalinhaFavela[4] -= 30;
  2912.             DinheiroFavela[4] += 30;
  2913.             GuardarBalinha();
  2914.             GuardarDinheiro();
  2915.          }
  2916.          if (Player[playerid][pFaccao] == 6) {
  2917.             if (BalinhaFavela[5] < 0) {
  2918.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2919.                return 1;
  2920.             }
  2921.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2922.             Player[playerid][pBalinha] += 30;
  2923.             GivePlayerMoney(playerid, -30);
  2924.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Balinha! Use: /Mochila");
  2925.             BalinhaFavela[5] -= 30;
  2926.             DinheiroFavela[5] += 30;
  2927.             GuardarBalinha();
  2928.             GuardarDinheiro();
  2929.          }
  2930.          if (Player[playerid][pFaccao] == 7) {
  2931.             if (BalinhaFavela[6] < 0) {
  2932.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2933.                return 1;
  2934.             }
  2935.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2936.             Player[playerid][pBalinha] += 30;
  2937.             GivePlayerMoney(playerid, -30);
  2938.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Balinha! Use: /Mochila");
  2939.             BalinhaFavela[6] -= 30;
  2940.             DinheiroFavela[6] += 30;
  2941.             GuardarBalinha();
  2942.             GuardarDinheiro();
  2943.          }
  2944.          if (Player[playerid][pFaccao] == 8) {
  2945.             if (BalinhaFavela[7] < 0) {
  2946.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2947.                return 1;
  2948.             }
  2949.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2950.             Player[playerid][pBalinha] += 30;
  2951.             GivePlayerMoney(playerid, -30);
  2952.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Balinha! Use: /Mochila");
  2953.             BalinhaFavela[7] -= 30;
  2954.             DinheiroFavela[7] += 30;
  2955.             GuardarBalinha();
  2956.             GuardarDinheiro();
  2957.          }
  2958.          if (Player[playerid][pFaccao] == 9) {
  2959.             if (BalinhaFavela[8] < 0) {
  2960.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2961.                return 1;
  2962.             }
  2963.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2964.             Player[playerid][pBalinha] += 30;
  2965.             GivePlayerMoney(playerid, -30);
  2966.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Balinha! Use: /Mochila");
  2967.             BalinhaFavela[8] -= 30;
  2968.             DinheiroFavela[8] += 30;
  2969.             GuardarBalinha();
  2970.             GuardarDinheiro();
  2971.          }
  2972.       }
  2973.       if (listitem == 3) {
  2974.          if (Player[playerid][pFaccao] == 1) {
  2975.             if (BalinhaFavela[0] < 0) {
  2976.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2977.                return 1;
  2978.             }
  2979.             if (GetPlayerMoney(playerid) < 40) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  2980.             Player[playerid][pBalinha] += 40;
  2981.             GivePlayerMoney(playerid, -40);
  2982.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Balinha! Use: /Mochila");
  2983.             BalinhaFavela[0] -= 40;
  2984.             DinheiroFavela[0] += 40;
  2985.             GuardarBalinha();
  2986.             GuardarDinheiro();
  2987.          }
  2988.          if (Player[playerid][pFaccao] == 2) {
  2989.             if (BalinhaFavela[1] < 0) {
  2990.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  2991.                return 1;
  2992.             }
  2993.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  2994.                TAG_ERRO " Você não tem dinheiro suficiente.");
  2995.             Player[playerid][pBalinha] += 40;
  2996.             GivePlayerMoney(playerid, -40);
  2997.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Balinha! Use: /Mochila");
  2998.             BalinhaFavela[1] -= 40;
  2999.             DinheiroFavela[1] += 40;
  3000.             GuardarBalinha();
  3001.             GuardarDinheiro();
  3002.          }
  3003.          if (Player[playerid][pFaccao] == 3) {
  3004.             if (BalinhaFavela[2] < 0) {
  3005.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3006.                return 1;
  3007.             }
  3008.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  3009.                TAG_ERRO " Você não tem dinheiro suficiente.");
  3010.             Player[playerid][pBalinha] += 40;
  3011.             GivePlayerMoney(playerid, -40);
  3012.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Balinha! Use: /Mochila");
  3013.             BalinhaFavela[2] -= 40;
  3014.             DinheiroFavela[2] += 40;
  3015.             GuardarBalinha();
  3016.             GuardarDinheiro();
  3017.          }
  3018.          if (Player[playerid][pFaccao] == 4) {
  3019.             if (BalinhaFavela[3] < 0) {
  3020.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3021.                return 1;
  3022.             }
  3023.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  3024.                TAG_ERRO " Você não tem dinheiro suficiente.");
  3025.             Player[playerid][pBalinha] += 40;
  3026.             GivePlayerMoney(playerid, -40);
  3027.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Balinha! Use: /Mochila");
  3028.             BalinhaFavela[3] -= 40;
  3029.             DinheiroFavela[3] += 40;
  3030.             GuardarBalinha();
  3031.             GuardarDinheiro();
  3032.          }
  3033.          if (Player[playerid][pFaccao] == 5) {
  3034.             if (BalinhaFavela[4] < 0) {
  3035.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3036.                return 1;
  3037.             }
  3038.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  3039.                TAG_ERRO " Você não tem dinheiro suficiente.");
  3040.             Player[playerid][pBalinha] += 40;
  3041.             GivePlayerMoney(playerid, -40);
  3042.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Balinha! Use: /Mochila");
  3043.             BalinhaFavela[4] -= 40;
  3044.             DinheiroFavela[4] += 40;
  3045.             GuardarBalinha();
  3046.             GuardarDinheiro();
  3047.          }
  3048.          if (Player[playerid][pFaccao] == 6) {
  3049.             if (BalinhaFavela[5] < 0) {
  3050.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3051.                return 1;
  3052.             }
  3053.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  3054.                TAG_ERRO " Você não tem dinheiro suficiente.");
  3055.             Player[playerid][pBalinha] += 40;
  3056.             GivePlayerMoney(playerid, -40);
  3057.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Balinha! Use: /Mochila");
  3058.             BalinhaFavela[5] -= 40;
  3059.             DinheiroFavela[5] += 40;
  3060.             GuardarBalinha();
  3061.             GuardarDinheiro();
  3062.          }
  3063.          if (Player[playerid][pFaccao] == 7) {
  3064.             if (BalinhaFavela[6] < 0) {
  3065.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3066.                return 1;
  3067.             }
  3068.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  3069.                TAG_ERRO " Você não tem dinheiro suficiente.");
  3070.             Player[playerid][pBalinha] += 40;
  3071.             GivePlayerMoney(playerid, -40);
  3072.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Balinha! Use: /Mochila");
  3073.             BalinhaFavela[6] -= 40;
  3074.             DinheiroFavela[6] += 40;
  3075.             GuardarBalinha();
  3076.             GuardarDinheiro();
  3077.          }
  3078.          if (Player[playerid][pFaccao] == 8) {
  3079.             if (BalinhaFavela[7] < 0) {
  3080.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3081.                return 1;
  3082.             }
  3083.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  3084.                TAG_ERRO " Você não tem dinheiro suficiente.");
  3085.             Player[playerid][pBalinha] += 40;
  3086.             GivePlayerMoney(playerid, -40);
  3087.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Balinha! Use: /Mochila");
  3088.             BalinhaFavela[7] -= 40;
  3089.             DinheiroFavela[7] += 40;
  3090.             GuardarBalinha();
  3091.             GuardarDinheiro();
  3092.          }
  3093.          if (Player[playerid][pFaccao] == 9) {
  3094.             if (BalinhaFavela[8] < 0) {
  3095.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3096.                return 1;
  3097.             }
  3098.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  3099.                TAG_ERRO " Você não tem dinheiro suficiente.");
  3100.             Player[playerid][pBalinha] += 40;
  3101.             GivePlayerMoney(playerid, -40);
  3102.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Balinha! Use: /Mochila");
  3103.             BalinhaFavela[8] -= 40;
  3104.             DinheiroFavela[8] += 40;
  3105.             GuardarBalinha();
  3106.             GuardarDinheiro();
  3107.          }
  3108.       }
  3109.       if (listitem == 4) {
  3110.          if (Player[playerid][pFaccao] == 1) {
  3111.             if (BalinhaFavela[0] < 0) {
  3112.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3113.                return 1;
  3114.             }
  3115.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3116.             Player[playerid][pBalinha] += 50;
  3117.             GivePlayerMoney(playerid, -50);
  3118.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Balinha! Use: /Mochila");
  3119.             BalinhaFavela[0] -= 50;
  3120.             DinheiroFavela[0] += 50;
  3121.             GuardarBalinha();
  3122.             GuardarDinheiro();
  3123.          }
  3124.          if (Player[playerid][pFaccao] == 2) {
  3125.             if (BalinhaFavela[1] < 0) {
  3126.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3127.                return 1;
  3128.             }
  3129.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3130.             Player[playerid][pBalinha] += 50;
  3131.             GivePlayerMoney(playerid, -50);
  3132.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Balinha! Use: /Mochila");
  3133.             BalinhaFavela[1] -= 50;
  3134.             DinheiroFavela[1] += 50;
  3135.             GuardarBalinha();
  3136.             GuardarDinheiro();
  3137.          }
  3138.          if (Player[playerid][pFaccao] == 3) {
  3139.             if (BalinhaFavela[2] < 0) {
  3140.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3141.                return 1;
  3142.             }
  3143.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3144.             Player[playerid][pBalinha] += 50;
  3145.             GivePlayerMoney(playerid, -50);
  3146.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Balinha! Use: /Mochila");
  3147.             BalinhaFavela[2] -= 50;
  3148.             DinheiroFavela[2] += 50;
  3149.             GuardarBalinha();
  3150.             GuardarDinheiro();
  3151.          }
  3152.          if (Player[playerid][pFaccao] == 4) {
  3153.             if (BalinhaFavela[3] < 0) {
  3154.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3155.                return 1;
  3156.             }
  3157.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3158.             Player[playerid][pBalinha] += 50;
  3159.             GivePlayerMoney(playerid, -50);
  3160.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Balinha! Use: /Mochila");
  3161.             BalinhaFavela[3] -= 50;
  3162.             DinheiroFavela[3] += 50;
  3163.             GuardarBalinha();
  3164.             GuardarDinheiro();
  3165.          }
  3166.          if (Player[playerid][pFaccao] == 5) {
  3167.             if (BalinhaFavela[4] < 0) {
  3168.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3169.                return 1;
  3170.             }
  3171.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3172.             Player[playerid][pBalinha] += 50;
  3173.             GivePlayerMoney(playerid, -50);
  3174.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Balinha! Use: /Mochila");
  3175.             BalinhaFavela[4] -= 50;
  3176.             DinheiroFavela[4] += 50;
  3177.             GuardarBalinha();
  3178.             GuardarDinheiro();
  3179.          }
  3180.          if (Player[playerid][pFaccao] == 6) {
  3181.             if (BalinhaFavela[5] < 0) {
  3182.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3183.                return 1;
  3184.             }
  3185.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3186.             Player[playerid][pBalinha] += 50;
  3187.             GivePlayerMoney(playerid, -50);
  3188.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Balinha! Use: /Mochila");
  3189.             BalinhaFavela[5] -= 50;
  3190.             DinheiroFavela[5] += 50;
  3191.             GuardarBalinha();
  3192.             GuardarDinheiro();
  3193.          }
  3194.          if (Player[playerid][pFaccao] == 7) {
  3195.             if (BalinhaFavela[6] < 0) {
  3196.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3197.                return 1;
  3198.             }
  3199.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3200.             Player[playerid][pBalinha] += 50;
  3201.             GivePlayerMoney(playerid, -50);
  3202.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Balinha! Use: /Mochila");
  3203.             BalinhaFavela[6] -= 50;
  3204.             DinheiroFavela[6] += 50;
  3205.             GuardarBalinha();
  3206.             GuardarDinheiro();
  3207.          }
  3208.          if (Player[playerid][pFaccao] == 8) {
  3209.             if (BalinhaFavela[7] < 0) {
  3210.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3211.                return 1;
  3212.             }
  3213.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3214.             Player[playerid][pBalinha] += 50;
  3215.             GivePlayerMoney(playerid, -50);
  3216.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Balinha! Use: /Mochila");
  3217.             BalinhaFavela[7] -= 50;
  3218.             DinheiroFavela[7] += 50;
  3219.             GuardarBalinha();
  3220.             GuardarDinheiro();
  3221.          }
  3222.          if (Player[playerid][pFaccao] == 9) {
  3223.             if (BalinhaFavela[8] < 0) {
  3224.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3225.                return 1;
  3226.             }
  3227.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3228.             Player[playerid][pBalinha] += 50;
  3229.             GivePlayerMoney(playerid, -50);
  3230.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Balinha! Use: /Mochila");
  3231.             BalinhaFavela[8] -= 50;
  3232.             DinheiroFavela[8] += 50;
  3233.             GuardarBalinha();
  3234.             GuardarDinheiro();
  3235.          }
  3236.       }
  3237.       if (listitem == 5) {
  3238.          if (Player[playerid][pFaccao] == 1) {
  3239.             if (BalinhaFavela[0] < 0) {
  3240.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3241.                return 1;
  3242.             }
  3243.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3244.             Player[playerid][pBalinha] += 60;
  3245.             GivePlayerMoney(playerid, -60);
  3246.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Balinha! Use: /Mochila");
  3247.             BalinhaFavela[0] -= 60;
  3248.             DinheiroFavela[0] += 60;
  3249.             GuardarBalinha();
  3250.             GuardarDinheiro();
  3251.          }
  3252.          if (Player[playerid][pFaccao] == 2) {
  3253.             if (BalinhaFavela[1] < 0) {
  3254.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3255.                return 1;
  3256.             }
  3257.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3258.             Player[playerid][pBalinha] += 60;
  3259.             GivePlayerMoney(playerid, -60);
  3260.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Balinha! Use: /Mochila");
  3261.             BalinhaFavela[1] -= 60;
  3262.             DinheiroFavela[1] += 60;
  3263.             GuardarBalinha();
  3264.             GuardarDinheiro();
  3265.          }
  3266.          if (Player[playerid][pFaccao] == 3) {
  3267.             if (BalinhaFavela[2] < 0) {
  3268.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3269.                return 1;
  3270.             }
  3271.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3272.             Player[playerid][pBalinha] += 60;
  3273.             GivePlayerMoney(playerid, -60);
  3274.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Balinha! Use: /Mochila");
  3275.             BalinhaFavela[2] -= 60;
  3276.             DinheiroFavela[2] += 60;
  3277.             GuardarBalinha();
  3278.             GuardarDinheiro();
  3279.          }
  3280.          if (Player[playerid][pFaccao] == 4) {
  3281.             if (BalinhaFavela[3] < 0) {
  3282.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3283.                return 1;
  3284.             }
  3285.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3286.             Player[playerid][pBalinha] += 60;
  3287.             GivePlayerMoney(playerid, -60);
  3288.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Balinha! Use: /Mochila");
  3289.             BalinhaFavela[3] -= 60;
  3290.             DinheiroFavela[3] += 60;
  3291.             GuardarBalinha();
  3292.             GuardarDinheiro();
  3293.          }
  3294.          if (Player[playerid][pFaccao] == 5) {
  3295.             if (BalinhaFavela[4] < 0) {
  3296.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3297.                return 1;
  3298.             }
  3299.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3300.             Player[playerid][pBalinha] += 60;
  3301.             GivePlayerMoney(playerid, -60);
  3302.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Balinha! Use: /Mochila");
  3303.             BalinhaFavela[4] -= 60;
  3304.             DinheiroFavela[4] += 60;
  3305.             GuardarBalinha();
  3306.             GuardarDinheiro();
  3307.          }
  3308.          if (Player[playerid][pFaccao] == 6) {
  3309.             if (BalinhaFavela[5] < 0) {
  3310.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3311.                return 1;
  3312.             }
  3313.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3314.             Player[playerid][pBalinha] += 60;
  3315.             GivePlayerMoney(playerid, -60);
  3316.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Balinha! Use: /Mochila");
  3317.             BalinhaFavela[5] -= 60;
  3318.             DinheiroFavela[5] += 60;
  3319.             GuardarBalinha();
  3320.             GuardarDinheiro();
  3321.          }
  3322.          if (Player[playerid][pFaccao] == 7) {
  3323.             if (BalinhaFavela[6] < 0) {
  3324.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3325.                return 1;
  3326.             }
  3327.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3328.             Player[playerid][pBalinha] += 60;
  3329.             GivePlayerMoney(playerid, -60);
  3330.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Balinha! Use: /Mochila");
  3331.             BalinhaFavela[6] -= 60;
  3332.             DinheiroFavela[6] += 60;
  3333.             GuardarBalinha();
  3334.             GuardarDinheiro();
  3335.          }
  3336.          if (Player[playerid][pFaccao] == 8) {
  3337.             if (BalinhaFavela[7] < 0) {
  3338.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3339.                return 1;
  3340.             }
  3341.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3342.             Player[playerid][pBalinha] += 60;
  3343.             GivePlayerMoney(playerid, -60);
  3344.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Balinha! Use: /Mochila");
  3345.             BalinhaFavela[7] -= 60;
  3346.             DinheiroFavela[7] += 60;
  3347.             GuardarBalinha();
  3348.             GuardarDinheiro();
  3349.          }
  3350.          if (Player[playerid][pFaccao] == 9) {
  3351.             if (BalinhaFavela[8] < 0) {
  3352.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3353.                return 1;
  3354.             }
  3355.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3356.             Player[playerid][pBalinha] += 60;
  3357.             GivePlayerMoney(playerid, -60);
  3358.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Balinha! Use: /Mochila");
  3359.             BalinhaFavela[8] -= 60;
  3360.             DinheiroFavela[8] += 60;
  3361.             GuardarBalinha();
  3362.             GuardarDinheiro();
  3363.          }
  3364.       }
  3365.       if (listitem == 6) {
  3366.          if (Player[playerid][pFaccao] == 1) {
  3367.             if (BalinhaFavela[0] < 0) {
  3368.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3369.                return 1;
  3370.             }
  3371.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3372.             Player[playerid][pBalinha] += 70;
  3373.             GivePlayerMoney(playerid, -70);
  3374.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Balinha! Use: /Mochila");
  3375.             BalinhaFavela[0] -= 70;
  3376.             DinheiroFavela[0] += 70;
  3377.             GuardarBalinha();
  3378.             GuardarDinheiro();
  3379.          }
  3380.          if (Player[playerid][pFaccao] == 2) {
  3381.             if (BalinhaFavela[1] < 0) {
  3382.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3383.                return 1;
  3384.             }
  3385.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3386.             Player[playerid][pBalinha] += 70;
  3387.             GivePlayerMoney(playerid, -70);
  3388.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Balinha! Use: /Mochila");
  3389.             BalinhaFavela[1] -= 70;
  3390.             DinheiroFavela[1] += 70;
  3391.             GuardarBalinha();
  3392.             GuardarDinheiro();
  3393.          }
  3394.          if (Player[playerid][pFaccao] == 3) {
  3395.             if (BalinhaFavela[2] < 0) {
  3396.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3397.                return 1;
  3398.             }
  3399.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3400.             Player[playerid][pBalinha] += 70;
  3401.             GivePlayerMoney(playerid, -70);
  3402.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Balinha! Use: /Mochila");
  3403.             BalinhaFavela[2] -= 70;
  3404.             DinheiroFavela[2] += 70;
  3405.             GuardarBalinha();
  3406.             GuardarDinheiro();
  3407.          }
  3408.          if (Player[playerid][pFaccao] == 4) {
  3409.             if (BalinhaFavela[3] < 0) {
  3410.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3411.                return 1;
  3412.             }
  3413.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3414.             Player[playerid][pBalinha] += 70;
  3415.             GivePlayerMoney(playerid, -70);
  3416.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Balinha! Use: /Mochila");
  3417.             BalinhaFavela[3] -= 70;
  3418.             DinheiroFavela[3] += 70;
  3419.             GuardarBalinha();
  3420.             GuardarDinheiro();
  3421.          }
  3422.          if (Player[playerid][pFaccao] == 5) {
  3423.             if (BalinhaFavela[4] < 0) {
  3424.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3425.                return 1;
  3426.             }
  3427.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3428.             Player[playerid][pBalinha] += 70;
  3429.             GivePlayerMoney(playerid, -70);
  3430.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Balinha! Use: /Mochila");
  3431.             BalinhaFavela[4] -= 70;
  3432.             DinheiroFavela[4] += 70;
  3433.             GuardarBalinha();
  3434.             GuardarDinheiro();
  3435.          }
  3436.          if (Player[playerid][pFaccao] == 6) {
  3437.             if (BalinhaFavela[5] < 0) {
  3438.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3439.                return 1;
  3440.             }
  3441.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3442.             Player[playerid][pBalinha] += 70;
  3443.             GivePlayerMoney(playerid, -70);
  3444.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Balinha! Use: /Mochila");
  3445.             BalinhaFavela[5] -= 70;
  3446.             DinheiroFavela[5] += 70;
  3447.             GuardarBalinha();
  3448.             GuardarDinheiro();
  3449.          }
  3450.          if (Player[playerid][pFaccao] == 7) {
  3451.             if (BalinhaFavela[6] < 0) {
  3452.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3453.                return 1;
  3454.             }
  3455.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3456.             Player[playerid][pBalinha] += 70;
  3457.             GivePlayerMoney(playerid, -70);
  3458.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Balinha! Use: /Mochila");
  3459.             BalinhaFavela[6] -= 70;
  3460.             DinheiroFavela[6] += 70;
  3461.             GuardarBalinha();
  3462.             GuardarDinheiro();
  3463.          }
  3464.          if (Player[playerid][pFaccao] == 8) {
  3465.             if (BalinhaFavela[7] < 0) {
  3466.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3467.                return 1;
  3468.             }
  3469.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3470.             Player[playerid][pBalinha] += 70;
  3471.             GivePlayerMoney(playerid, -70);
  3472.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Balinha! Use: /Mochila");
  3473.             BalinhaFavela[7] -= 70;
  3474.             DinheiroFavela[7] += 70;
  3475.             GuardarBalinha();
  3476.             GuardarDinheiro();
  3477.          }
  3478.          if (Player[playerid][pFaccao] == 9) {
  3479.             if (BalinhaFavela[8] < 0) {
  3480.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3481.                return 1;
  3482.             }
  3483.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3484.             Player[playerid][pBalinha] += 70;
  3485.             GivePlayerMoney(playerid, -70);
  3486.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Balinha! Use: /Mochila");
  3487.             BalinhaFavela[8] -= 70;
  3488.             DinheiroFavela[8] += 70;
  3489.             GuardarBalinha();
  3490.             GuardarDinheiro();
  3491.          }
  3492.       }
  3493.       if (listitem == 7) {
  3494.          if (Player[playerid][pFaccao] == 1) {
  3495.             if (BalinhaFavela[0] < 0) {
  3496.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3497.                return 1;
  3498.             }
  3499.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3500.             Player[playerid][pBalinha] += 80;
  3501.             GivePlayerMoney(playerid, -80);
  3502.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Balinha! Use: /Mochila");
  3503.             BalinhaFavela[0] -= 80;
  3504.             DinheiroFavela[0] += 80;
  3505.             GuardarBalinha();
  3506.             GuardarDinheiro();
  3507.          }
  3508.          if (Player[playerid][pFaccao] == 2) {
  3509.             if (BalinhaFavela[1] < 0) {
  3510.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3511.                return 1;
  3512.             }
  3513.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3514.             Player[playerid][pBalinha] += 80;
  3515.             GivePlayerMoney(playerid, -80);
  3516.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Balinha! Use: /Mochila");
  3517.             BalinhaFavela[1] -= 80;
  3518.             DinheiroFavela[1] += 80;
  3519.             GuardarBalinha();
  3520.             GuardarDinheiro();
  3521.          }
  3522.          if (Player[playerid][pFaccao] == 3) {
  3523.             if (BalinhaFavela[2] < 0) {
  3524.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3525.                return 1;
  3526.             }
  3527.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3528.             Player[playerid][pBalinha] += 80;
  3529.             GivePlayerMoney(playerid, -80);
  3530.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Balinha! Use: /Mochila");
  3531.             BalinhaFavela[2] -= 80;
  3532.             DinheiroFavela[2] += 80;
  3533.             GuardarBalinha();
  3534.             GuardarDinheiro();
  3535.          }
  3536.          if (Player[playerid][pFaccao] == 4) {
  3537.             if (BalinhaFavela[3] < 0) {
  3538.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3539.                return 1;
  3540.             }
  3541.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3542.             Player[playerid][pBalinha] += 80;
  3543.             GivePlayerMoney(playerid, -80);
  3544.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Balinha! Use: /Mochila");
  3545.             BalinhaFavela[3] -= 80;
  3546.             DinheiroFavela[3] += 80;
  3547.             GuardarBalinha();
  3548.             GuardarDinheiro();
  3549.          }
  3550.          if (Player[playerid][pFaccao] == 5) {
  3551.             if (BalinhaFavela[4] < 0) {
  3552.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3553.                return 1;
  3554.             }
  3555.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3556.             Player[playerid][pBalinha] += 80;
  3557.             GivePlayerMoney(playerid, -80);
  3558.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Balinha! Use: /Mochila");
  3559.             BalinhaFavela[4] -= 80;
  3560.             DinheiroFavela[4] += 80;
  3561.             GuardarBalinha();
  3562.             GuardarDinheiro();
  3563.          }
  3564.          if (Player[playerid][pFaccao] == 6) {
  3565.             if (BalinhaFavela[5] < 0) {
  3566.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3567.                return 1;
  3568.             }
  3569.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3570.             Player[playerid][pBalinha] += 80;
  3571.             GivePlayerMoney(playerid, -80);
  3572.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Balinha! Use: /Mochila");
  3573.             BalinhaFavela[5] -= 80;
  3574.             DinheiroFavela[5] += 80;
  3575.             GuardarBalinha();
  3576.             GuardarDinheiro();
  3577.          }
  3578.          if (Player[playerid][pFaccao] == 7) {
  3579.             if (BalinhaFavela[6] < 0) {
  3580.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3581.                return 1;
  3582.             }
  3583.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3584.             Player[playerid][pBalinha] += 80;
  3585.             GivePlayerMoney(playerid, -80);
  3586.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Balinha! Use: /Mochila");
  3587.             BalinhaFavela[6] -= 80;
  3588.             DinheiroFavela[6] += 80;
  3589.             GuardarBalinha();
  3590.             GuardarDinheiro();
  3591.          }
  3592.          if (Player[playerid][pFaccao] == 8) {
  3593.             if (BalinhaFavela[7] < 0) {
  3594.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3595.                return 1;
  3596.             }
  3597.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3598.             Player[playerid][pBalinha] += 80;
  3599.             GivePlayerMoney(playerid, -80);
  3600.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Balinha! Use: /Mochila");
  3601.             BalinhaFavela[7] -= 80;
  3602.             DinheiroFavela[7] += 80;
  3603.             GuardarBalinha();
  3604.             GuardarDinheiro();
  3605.          }
  3606.          if (Player[playerid][pFaccao] == 9) {
  3607.             if (BalinhaFavela[8] < 0) {
  3608.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3609.                return 1;
  3610.             }
  3611.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3612.             Player[playerid][pBalinha] += 80;
  3613.             GivePlayerMoney(playerid, -80);
  3614.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Balinha! Use: /Mochila");
  3615.             BalinhaFavela[8] -= 80;
  3616.             DinheiroFavela[8] += 80;
  3617.             GuardarBalinha();
  3618.             GuardarDinheiro();
  3619.          }
  3620.       }
  3621.       if (listitem == 8) {
  3622.          if (Player[playerid][pFaccao] == 1) {
  3623.             if (BalinhaFavela[0] < 0) {
  3624.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3625.                return 1;
  3626.             }
  3627.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3628.             Player[playerid][pBalinha] += 90;
  3629.             GivePlayerMoney(playerid, -90);
  3630.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Balinha! Use: /Mochila");
  3631.             BalinhaFavela[0] -= 90;
  3632.             DinheiroFavela[0] += 90;
  3633.             GuardarBalinha();
  3634.             GuardarDinheiro();
  3635.          }
  3636.          if (Player[playerid][pFaccao] == 2) {
  3637.             if (BalinhaFavela[1] < 0) {
  3638.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3639.                return 1;
  3640.             }
  3641.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3642.             Player[playerid][pBalinha] += 90;
  3643.             GivePlayerMoney(playerid, -90);
  3644.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Balinha! Use: /Mochila");
  3645.             BalinhaFavela[1] -= 90;
  3646.             DinheiroFavela[1] += 90;
  3647.             GuardarBalinha();
  3648.             GuardarDinheiro();
  3649.          }
  3650.          if (Player[playerid][pFaccao] == 3) {
  3651.             if (BalinhaFavela[2] < 0) {
  3652.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3653.                return 1;
  3654.             }
  3655.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3656.             Player[playerid][pBalinha] += 90;
  3657.             GivePlayerMoney(playerid, -90);
  3658.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Balinha! Use: /Mochila");
  3659.             BalinhaFavela[2] -= 90;
  3660.             DinheiroFavela[2] += 90;
  3661.             GuardarBalinha();
  3662.             GuardarDinheiro();
  3663.          }
  3664.          if (Player[playerid][pFaccao] == 4) {
  3665.             if (BalinhaFavela[3] < 0) {
  3666.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3667.                return 1;
  3668.             }
  3669.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3670.             Player[playerid][pBalinha] += 90;
  3671.             GivePlayerMoney(playerid, -90);
  3672.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Balinha! Use: /Mochila");
  3673.             BalinhaFavela[3] -= 90;
  3674.             DinheiroFavela[3] += 90;
  3675.             GuardarBalinha();
  3676.             GuardarDinheiro();
  3677.          }
  3678.          if (Player[playerid][pFaccao] == 5) {
  3679.             if (BalinhaFavela[4] < 0) {
  3680.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3681.                return 1;
  3682.             }
  3683.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3684.             Player[playerid][pBalinha] += 90;
  3685.             GivePlayerMoney(playerid, -90);
  3686.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Balinha! Use: /Mochila");
  3687.             BalinhaFavela[4] -= 90;
  3688.             DinheiroFavela[4] += 90;
  3689.             GuardarBalinha();
  3690.             GuardarDinheiro();
  3691.          }
  3692.          if (Player[playerid][pFaccao] == 6) {
  3693.             if (BalinhaFavela[5] < 0) {
  3694.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3695.                return 1;
  3696.             }
  3697.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3698.             Player[playerid][pBalinha] += 90;
  3699.             GivePlayerMoney(playerid, -90);
  3700.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Balinha! Use: /Mochila");
  3701.             BalinhaFavela[5] -= 90;
  3702.             DinheiroFavela[5] += 90;
  3703.             GuardarBalinha();
  3704.             GuardarDinheiro();
  3705.          }
  3706.          if (Player[playerid][pFaccao] == 7) {
  3707.             if (BalinhaFavela[6] < 0) {
  3708.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3709.                return 1;
  3710.             }
  3711.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3712.             Player[playerid][pBalinha] += 90;
  3713.             GivePlayerMoney(playerid, -90);
  3714.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Balinha! Use: /Mochila");
  3715.             BalinhaFavela[6] -= 90;
  3716.             DinheiroFavela[6] += 90;
  3717.             GuardarBalinha();
  3718.             GuardarDinheiro();
  3719.          }
  3720.          if (Player[playerid][pFaccao] == 8) {
  3721.             if (BalinhaFavela[7] < 0) {
  3722.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3723.                return 1;
  3724.             }
  3725.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3726.             Player[playerid][pBalinha] += 90;
  3727.             GivePlayerMoney(playerid, -90);
  3728.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Balinha! Use: /Mochila");
  3729.             BalinhaFavela[7] -= 90;
  3730.             DinheiroFavela[7] += 90;
  3731.             GuardarBalinha();
  3732.             GuardarDinheiro();
  3733.          }
  3734.          if (Player[playerid][pFaccao] == 9) {
  3735.             if (BalinhaFavela[8] < 0) {
  3736.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3737.                return 1;
  3738.             }
  3739.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3740.             Player[playerid][pBalinha] += 90;
  3741.             GivePlayerMoney(playerid, -90);
  3742.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Balinha! Use: /Mochila");
  3743.             BalinhaFavela[8] -= 90;
  3744.             DinheiroFavela[8] += 90;
  3745.             GuardarBalinha();
  3746.             GuardarDinheiro();
  3747.          }
  3748.       }
  3749.       if (listitem == 9) {
  3750.          if (Player[playerid][pFaccao] == 1) {
  3751.             if (BalinhaFavela[0] < 0) {
  3752.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3753.                return 1;
  3754.             }
  3755.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3756.             Player[playerid][pBalinha] += 100;
  3757.             GivePlayerMoney(playerid, -100);
  3758.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Balinha! Use: /Mochila");
  3759.             BalinhaFavela[0] -= 100;
  3760.             DinheiroFavela[0] += 100;
  3761.             GuardarBalinha();
  3762.             GuardarDinheiro();
  3763.          }
  3764.          if (Player[playerid][pFaccao] == 2) {
  3765.             if (BalinhaFavela[1] < 0) {
  3766.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3767.                return 1;
  3768.             }
  3769.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3770.             Player[playerid][pBalinha] += 100;
  3771.             GivePlayerMoney(playerid, -100);
  3772.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Balinha! Use: /Mochila");
  3773.             BalinhaFavela[1] -= 100;
  3774.             DinheiroFavela[1] += 100;
  3775.             GuardarBalinha();
  3776.             GuardarDinheiro();
  3777.          }
  3778.          if (Player[playerid][pFaccao] == 3) {
  3779.             if (BalinhaFavela[2] < 0) {
  3780.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3781.                return 1;
  3782.             }
  3783.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3784.             Player[playerid][pBalinha] += 100;
  3785.             GivePlayerMoney(playerid, -100);
  3786.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Balinha! Use: /Mochila");
  3787.             BalinhaFavela[2] -= 100;
  3788.             DinheiroFavela[2] += 100;
  3789.             GuardarBalinha();
  3790.             GuardarDinheiro();
  3791.          }
  3792.          if (Player[playerid][pFaccao] == 4) {
  3793.             if (BalinhaFavela[3] < 0) {
  3794.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3795.                return 1;
  3796.             }
  3797.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3798.             Player[playerid][pBalinha] += 100;
  3799.             GivePlayerMoney(playerid, -100);
  3800.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Balinha! Use: /Mochila");
  3801.             BalinhaFavela[3] -= 100;
  3802.             DinheiroFavela[3] += 100;
  3803.             GuardarBalinha();
  3804.             GuardarDinheiro();
  3805.          }
  3806.          if (Player[playerid][pFaccao] == 5) {
  3807.             if (BalinhaFavela[4] < 0) {
  3808.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3809.                return 1;
  3810.             }
  3811.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3812.             Player[playerid][pBalinha] += 100;
  3813.             GivePlayerMoney(playerid, -100);
  3814.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Balinha! Use: /Mochila");
  3815.             BalinhaFavela[4] -= 100;
  3816.             DinheiroFavela[4] += 100;
  3817.             GuardarBalinha();
  3818.             GuardarDinheiro();
  3819.          }
  3820.          if (Player[playerid][pFaccao] == 6) {
  3821.             if (BalinhaFavela[5] < 0) {
  3822.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3823.                return 1;
  3824.             }
  3825.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3826.             Player[playerid][pBalinha] += 100;
  3827.             GivePlayerMoney(playerid, -100);
  3828.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Balinha! Use: /Mochila");
  3829.             BalinhaFavela[5] -= 100;
  3830.             DinheiroFavela[5] += 100;
  3831.             GuardarBalinha();
  3832.             GuardarDinheiro();
  3833.          }
  3834.          if (Player[playerid][pFaccao] == 7) {
  3835.             if (BalinhaFavela[6] < 0) {
  3836.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3837.                return 1;
  3838.             }
  3839.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3840.             Player[playerid][pBalinha] += 100;
  3841.             GivePlayerMoney(playerid, -100);
  3842.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Balinha! Use: /Mochila");
  3843.             BalinhaFavela[6] -= 100;
  3844.             DinheiroFavela[6] += 100;
  3845.             GuardarBalinha();
  3846.             GuardarDinheiro();
  3847.          }
  3848.          if (Player[playerid][pFaccao] == 8) {
  3849.             if (BalinhaFavela[7] < 0) {
  3850.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3851.                return 1;
  3852.             }
  3853.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3854.             Player[playerid][pBalinha] += 100;
  3855.             GivePlayerMoney(playerid, -100);
  3856.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Balinha! Use: /Mochila");
  3857.             BalinhaFavela[7] -= 100;
  3858.             DinheiroFavela[7] += 100;
  3859.             GuardarBalinha();
  3860.             GuardarDinheiro();
  3861.          }
  3862.          if (Player[playerid][pFaccao] == 9) {
  3863.             if (BalinhaFavela[8] < 0) {
  3864.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Balinha no armazém");
  3865.                return 1;
  3866.             }
  3867.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3868.             Player[playerid][pBalinha] += 100;
  3869.             GivePlayerMoney(playerid, -100);
  3870.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Balinha! Use: /Mochila");
  3871.             BalinhaFavela[8] -= 100;
  3872.             DinheiroFavela[8] += 100;
  3873.             GuardarBalinha();
  3874.             GuardarDinheiro();
  3875.          }
  3876.       }
  3877.    }
  3878.    return 1;
  3879. }
  3880. if (dialogid == DIALOG_LANCA) {
  3881.    if (response) {
  3882.       if (listitem == 0) {
  3883.          if (Player[playerid][pFaccao] == 1) {
  3884.             if (LancaFavela[0] < 0) {
  3885.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  3886.                return 1;
  3887.             }
  3888.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3889.             Player[playerid][pLanca] += 10;
  3890.             GivePlayerMoney(playerid, -10);
  3891.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Lanca! Use: /Mochila");
  3892.             LancaFavela[0] -= 10;
  3893.             DinheiroFavela[0] += 10;
  3894.             GuardarLanca();
  3895.             GuardarDinheiro();
  3896.          }
  3897.          if (Player[playerid][pFaccao] == 2) {
  3898.             if (LancaFavela[1] < 0) {
  3899.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  3900.                return 1;
  3901.             }
  3902.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3903.             Player[playerid][pLanca] += 10;
  3904.             GivePlayerMoney(playerid, -10);
  3905.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Lanca! Use: /Mochila");
  3906.             LancaFavela[1] -= 10;
  3907.             DinheiroFavela[1] += 10;
  3908.             GuardarLanca();
  3909.             GuardarDinheiro();
  3910.          }
  3911.          if (Player[playerid][pFaccao] == 3) {
  3912.             if (LancaFavela[2] < 0) {
  3913.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  3914.                return 1;
  3915.             }
  3916.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3917.             Player[playerid][pLanca] += 10;
  3918.             GivePlayerMoney(playerid, -10);
  3919.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Lanca! Use: /Mochila");
  3920.             LancaFavela[2] -= 10;
  3921.             DinheiroFavela[2] += 10;
  3922.             GuardarLanca();
  3923.             GuardarDinheiro();
  3924.          }
  3925.          if (Player[playerid][pFaccao] == 4) {
  3926.             if (LancaFavela[3] < 0) {
  3927.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  3928.                return 1;
  3929.             }
  3930.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3931.             Player[playerid][pLanca] += 10;
  3932.             GivePlayerMoney(playerid, -10);
  3933.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Lanca! Use: /Mochila");
  3934.             LancaFavela[3] -= 10;
  3935.             DinheiroFavela[3] += 10;
  3936.             GuardarLanca();
  3937.             GuardarDinheiro();
  3938.          }
  3939.          if (Player[playerid][pFaccao] == 5) {
  3940.             if (LancaFavela[4] < 0) {
  3941.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  3942.                return 1;
  3943.             }
  3944.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3945.             Player[playerid][pLanca] += 10;
  3946.             GivePlayerMoney(playerid, -10);
  3947.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Lanca! Use: /Mochila");
  3948.             LancaFavela[4] -= 10;
  3949.             DinheiroFavela[4] += 10;
  3950.             GuardarLanca();
  3951.             GuardarDinheiro();
  3952.          }
  3953.          if (Player[playerid][pFaccao] == 6) {
  3954.             if (LancaFavela[5] < 0) {
  3955.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  3956.                return 1;
  3957.             }
  3958.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3959.             Player[playerid][pLanca] += 10;
  3960.             GivePlayerMoney(playerid, -10);
  3961.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Lanca! Use: /Mochila");
  3962.             LancaFavela[5] -= 10;
  3963.             DinheiroFavela[5] += 10;
  3964.             GuardarLanca();
  3965.             GuardarDinheiro();
  3966.          }
  3967.          if (Player[playerid][pFaccao] == 7) {
  3968.             if (LancaFavela[6] < 0) {
  3969.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  3970.                return 1;
  3971.             }
  3972.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3973.             Player[playerid][pLanca] += 10;
  3974.             GivePlayerMoney(playerid, -10);
  3975.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Lanca! Use: /Mochila");
  3976.             LancaFavela[6] -= 10;
  3977.             DinheiroFavela[6] += 10;
  3978.             GuardarLanca();
  3979.             GuardarDinheiro();
  3980.          }
  3981.          if (Player[playerid][pFaccao] == 8) {
  3982.             if (LancaFavela[7] < 0) {
  3983.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  3984.                return 1;
  3985.             }
  3986.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  3987.             Player[playerid][pLanca] += 10;
  3988.             GivePlayerMoney(playerid, -10);
  3989.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Lanca! Use: /Mochila");
  3990.             LancaFavela[7] -= 10;
  3991.             DinheiroFavela[7] += 10;
  3992.             GuardarLanca();
  3993.             GuardarDinheiro();
  3994.          }
  3995.          if (Player[playerid][pFaccao] == 9) {
  3996.             if (LancaFavela[8] < 0) {
  3997.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  3998.                return 1;
  3999.             }
  4000.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4001.             Player[playerid][pLanca] += 10;
  4002.             GivePlayerMoney(playerid, -10);
  4003.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Lanca! Use: /Mochila");
  4004.             LancaFavela[8] -= 10;
  4005.             DinheiroFavela[8] += 10;
  4006.             GuardarLanca();
  4007.             GuardarDinheiro();
  4008.          }
  4009.       }
  4010.       if (listitem == 1) {
  4011.          if (Player[playerid][pFaccao] == 1) {
  4012.             if (LancaFavela[0] < 0) {
  4013.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4014.                return 1;
  4015.             }
  4016.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4017.             Player[playerid][pLanca] += 20;
  4018.             GivePlayerMoney(playerid, -20);
  4019.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Lanca! Use: /Mochila");
  4020.             LancaFavela[0] -= 20;
  4021.             DinheiroFavela[0] += 20;
  4022.             GuardarLanca();
  4023.             GuardarDinheiro();
  4024.          }
  4025.          if (Player[playerid][pFaccao] == 2) {
  4026.             if (LancaFavela[1] < 0) {
  4027.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4028.                return 1;
  4029.             }
  4030.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4031.             Player[playerid][pLanca] += 20;
  4032.             GivePlayerMoney(playerid, -20);
  4033.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Lanca! Use: /Mochila");
  4034.             LancaFavela[1] -= 20;
  4035.             DinheiroFavela[1] += 20;
  4036.             GuardarLanca();
  4037.             GuardarDinheiro();
  4038.          }
  4039.          if (Player[playerid][pFaccao] == 3) {
  4040.             if (LancaFavela[2] < 0) {
  4041.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4042.                return 1;
  4043.             }
  4044.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4045.             Player[playerid][pLanca] += 20;
  4046.             GivePlayerMoney(playerid, -20);
  4047.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Lanca! Use: /Mochila");
  4048.             LancaFavela[2] -= 20;
  4049.             DinheiroFavela[2] += 20;
  4050.             GuardarLanca();
  4051.             GuardarDinheiro();
  4052.          }
  4053.          if (Player[playerid][pFaccao] == 4) {
  4054.             if (LancaFavela[3] < 0) {
  4055.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4056.                return 1;
  4057.             }
  4058.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4059.             Player[playerid][pLanca] += 20;
  4060.             GivePlayerMoney(playerid, -20);
  4061.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Lanca! Use: /Mochila");
  4062.             LancaFavela[3] -= 20;
  4063.             DinheiroFavela[3] += 20;
  4064.             GuardarLanca();
  4065.             GuardarDinheiro();
  4066.          }
  4067.          if (Player[playerid][pFaccao] == 5) {
  4068.             if (LancaFavela[4] < 0) {
  4069.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4070.                return 1;
  4071.             }
  4072.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4073.             Player[playerid][pLanca] += 20;
  4074.             GivePlayerMoney(playerid, -20);
  4075.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Lanca! Use: /Mochila");
  4076.             LancaFavela[4] -= 20;
  4077.             DinheiroFavela[4] += 20;
  4078.             GuardarLanca();
  4079.             GuardarDinheiro();
  4080.          }
  4081.          if (Player[playerid][pFaccao] == 6) {
  4082.             if (LancaFavela[5] < 0) {
  4083.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4084.                return 1;
  4085.             }
  4086.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4087.             Player[playerid][pLanca] += 20;
  4088.             GivePlayerMoney(playerid, -20);
  4089.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Lanca! Use: /Mochila");
  4090.             LancaFavela[5] -= 20;
  4091.             DinheiroFavela[5] += 20;
  4092.             GuardarLanca();
  4093.             GuardarDinheiro();
  4094.          }
  4095.          if (Player[playerid][pFaccao] == 7) {
  4096.             if (LancaFavela[6] < 0) {
  4097.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4098.                return 1;
  4099.             }
  4100.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4101.             Player[playerid][pLanca] += 20;
  4102.             GivePlayerMoney(playerid, -20);
  4103.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Lanca! Use: /Mochila");
  4104.             LancaFavela[6] -= 20;
  4105.             DinheiroFavela[6] += 20;
  4106.             GuardarLanca();
  4107.             GuardarDinheiro();
  4108.          }
  4109.          if (Player[playerid][pFaccao] == 8) {
  4110.             if (LancaFavela[7] < 0) {
  4111.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4112.                return 1;
  4113.             }
  4114.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4115.             Player[playerid][pLanca] += 20;
  4116.             GivePlayerMoney(playerid, -20);
  4117.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Lanca! Use: /Mochila");
  4118.             LancaFavela[7] -= 20;
  4119.             DinheiroFavela[7] += 20;
  4120.             GuardarLanca();
  4121.             GuardarDinheiro();
  4122.          }
  4123.          if (Player[playerid][pFaccao] == 9) {
  4124.             if (LancaFavela[8] < 0) {
  4125.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4126.                return 1;
  4127.             }
  4128.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4129.             Player[playerid][pLanca] += 20;
  4130.             GivePlayerMoney(playerid, -20);
  4131.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Lanca! Use: /Mochila");
  4132.             LancaFavela[8] -= 20;
  4133.             DinheiroFavela[8] += 20;
  4134.             GuardarLanca();
  4135.             GuardarDinheiro();
  4136.          }
  4137.       }
  4138.       if (listitem == 2) {
  4139.          if (Player[playerid][pFaccao] == 1) {
  4140.             if (LancaFavela[0] < 0) {
  4141.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4142.                return 1;
  4143.             }
  4144.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4145.             Player[playerid][pLanca] += 30;
  4146.             GivePlayerMoney(playerid, -30);
  4147.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Lanca! Use: /Mochila");
  4148.             LancaFavela[0] -= 30;
  4149.             DinheiroFavela[0] += 30;
  4150.             GuardarLanca();
  4151.             GuardarDinheiro();
  4152.          }
  4153.          if (Player[playerid][pFaccao] == 2) {
  4154.             if (LancaFavela[1] < 0) {
  4155.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4156.                return 1;
  4157.             }
  4158.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4159.             Player[playerid][pLanca] += 30;
  4160.             GivePlayerMoney(playerid, -30);
  4161.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Lanca! Use: /Mochila");
  4162.             LancaFavela[1] -= 30;
  4163.             DinheiroFavela[1] += 30;
  4164.             GuardarLanca();
  4165.             GuardarDinheiro();
  4166.          }
  4167.          if (Player[playerid][pFaccao] == 3) {
  4168.             if (LancaFavela[2] < 0) {
  4169.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4170.                return 1;
  4171.             }
  4172.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4173.             Player[playerid][pLanca] += 30;
  4174.             GivePlayerMoney(playerid, -30);
  4175.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Lanca! Use: /Mochila");
  4176.             LancaFavela[2] -= 30;
  4177.             DinheiroFavela[2] += 30;
  4178.             GuardarLanca();
  4179.             GuardarDinheiro();
  4180.          }
  4181.          if (Player[playerid][pFaccao] == 4) {
  4182.             if (LancaFavela[3] < 0) {
  4183.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4184.                return 1;
  4185.             }
  4186.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4187.             Player[playerid][pLanca] += 30;
  4188.             GivePlayerMoney(playerid, -30);
  4189.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Lanca! Use: /Mochila");
  4190.             LancaFavela[3] -= 30;
  4191.             DinheiroFavela[3] += 30;
  4192.             GuardarLanca();
  4193.             GuardarDinheiro();
  4194.          }
  4195.          if (Player[playerid][pFaccao] == 5) {
  4196.             if (LancaFavela[4] < 0) {
  4197.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4198.                return 1;
  4199.             }
  4200.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4201.             Player[playerid][pLanca] += 30;
  4202.             GivePlayerMoney(playerid, -30);
  4203.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Lanca! Use: /Mochila");
  4204.             LancaFavela[4] -= 30;
  4205.             DinheiroFavela[4] += 30;
  4206.             GuardarLanca();
  4207.             GuardarDinheiro();
  4208.          }
  4209.          if (Player[playerid][pFaccao] == 6) {
  4210.             if (LancaFavela[5] < 0) {
  4211.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4212.                return 1;
  4213.             }
  4214.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4215.             Player[playerid][pLanca] += 30;
  4216.             GivePlayerMoney(playerid, -30);
  4217.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Lanca! Use: /Mochila");
  4218.             LancaFavela[5] -= 30;
  4219.             DinheiroFavela[5] += 30;
  4220.             GuardarLanca();
  4221.             GuardarDinheiro();
  4222.          }
  4223.          if (Player[playerid][pFaccao] == 7) {
  4224.             if (LancaFavela[6] < 0) {
  4225.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4226.                return 1;
  4227.             }
  4228.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4229.             Player[playerid][pLanca] += 30;
  4230.             GivePlayerMoney(playerid, -30);
  4231.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Lanca! Use: /Mochila");
  4232.             LancaFavela[6] -= 30;
  4233.             DinheiroFavela[6] += 30;
  4234.             GuardarLanca();
  4235.             GuardarDinheiro();
  4236.          }
  4237.          if (Player[playerid][pFaccao] == 8) {
  4238.             if (LancaFavela[7] < 0) {
  4239.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4240.                return 1;
  4241.             }
  4242.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4243.             Player[playerid][pLanca] += 30;
  4244.             GivePlayerMoney(playerid, -30);
  4245.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Lanca! Use: /Mochila");
  4246.             LancaFavela[7] -= 30;
  4247.             DinheiroFavela[7] += 30;
  4248.             GuardarLanca();
  4249.             GuardarDinheiro();
  4250.          }
  4251.          if (Player[playerid][pFaccao] == 9) {
  4252.             if (LancaFavela[8] < 0) {
  4253.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4254.                return 1;
  4255.             }
  4256.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4257.             Player[playerid][pLanca] += 30;
  4258.             GivePlayerMoney(playerid, -30);
  4259.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Lanca! Use: /Mochila");
  4260.             LancaFavela[8] -= 30;
  4261.             DinheiroFavela[8] += 30;
  4262.             GuardarLanca();
  4263.             GuardarDinheiro();
  4264.          }
  4265.       }
  4266.       if (listitem == 3) {
  4267.          if (Player[playerid][pFaccao] == 1) {
  4268.             if (LancaFavela[0] < 0) {
  4269.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4270.                return 1;
  4271.             }
  4272.             if (GetPlayerMoney(playerid) < 40) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4273.             Player[playerid][pLanca] += 40;
  4274.             GivePlayerMoney(playerid, -40);
  4275.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Lanca! Use: /Mochila");
  4276.             LancaFavela[0] -= 40;
  4277.             DinheiroFavela[0] += 40;
  4278.             GuardarLanca();
  4279.             GuardarDinheiro();
  4280.          }
  4281.          if (Player[playerid][pFaccao] == 2) {
  4282.             if (LancaFavela[1] < 0) {
  4283.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4284.                return 1;
  4285.             }
  4286.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  4287.                TAG_ERRO " Você não tem dinheiro suficiente.");
  4288.             Player[playerid][pLanca] += 40;
  4289.             GivePlayerMoney(playerid, -40);
  4290.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Lanca! Use: /Mochila");
  4291.             LancaFavela[1] -= 40;
  4292.             DinheiroFavela[1] += 40;
  4293.             GuardarLanca();
  4294.             GuardarDinheiro();
  4295.          }
  4296.          if (Player[playerid][pFaccao] == 3) {
  4297.             if (LancaFavela[2] < 0) {
  4298.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4299.                return 1;
  4300.             }
  4301.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  4302.                TAG_ERRO " Você não tem dinheiro suficiente.");
  4303.             Player[playerid][pLanca] += 40;
  4304.             GivePlayerMoney(playerid, -40);
  4305.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Lanca! Use: /Mochila");
  4306.             LancaFavela[2] -= 40;
  4307.             DinheiroFavela[2] += 40;
  4308.             GuardarLanca();
  4309.             GuardarDinheiro();
  4310.          }
  4311.          if (Player[playerid][pFaccao] == 4) {
  4312.             if (LancaFavela[3] < 0) {
  4313.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4314.                return 1;
  4315.             }
  4316.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  4317.                TAG_ERRO " Você não tem dinheiro suficiente.");
  4318.             Player[playerid][pLanca] += 40;
  4319.             GivePlayerMoney(playerid, -40);
  4320.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Lanca! Use: /Mochila");
  4321.             LancaFavela[3] -= 40;
  4322.             DinheiroFavela[3] += 40;
  4323.             GuardarLanca();
  4324.             GuardarDinheiro();
  4325.          }
  4326.          if (Player[playerid][pFaccao] == 5) {
  4327.             if (LancaFavela[4] < 0) {
  4328.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4329.                return 1;
  4330.             }
  4331.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  4332.                TAG_ERRO " Você não tem dinheiro suficiente.");
  4333.             Player[playerid][pLanca] += 40;
  4334.             GivePlayerMoney(playerid, -40);
  4335.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Lanca! Use: /Mochila");
  4336.             LancaFavela[4] -= 40;
  4337.             DinheiroFavela[4] += 40;
  4338.             GuardarLanca();
  4339.             GuardarDinheiro();
  4340.          }
  4341.          if (Player[playerid][pFaccao] == 6) {
  4342.             if (LancaFavela[5] < 0) {
  4343.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4344.                return 1;
  4345.             }
  4346.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  4347.                TAG_ERRO " Você não tem dinheiro suficiente.");
  4348.             Player[playerid][pLanca] += 40;
  4349.             GivePlayerMoney(playerid, -40);
  4350.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Lanca! Use: /Mochila");
  4351.             LancaFavela[5] -= 40;
  4352.             DinheiroFavela[5] += 40;
  4353.             GuardarLanca();
  4354.             GuardarDinheiro();
  4355.          }
  4356.          if (Player[playerid][pFaccao] == 7) {
  4357.             if (LancaFavela[6] < 0) {
  4358.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4359.                return 1;
  4360.             }
  4361.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  4362.                TAG_ERRO " Você não tem dinheiro suficiente.");
  4363.             Player[playerid][pLanca] += 40;
  4364.             GivePlayerMoney(playerid, -40);
  4365.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Lanca! Use: /Mochila");
  4366.             LancaFavela[6] -= 40;
  4367.             DinheiroFavela[6] += 40;
  4368.             GuardarLanca();
  4369.             GuardarDinheiro();
  4370.          }
  4371.          if (Player[playerid][pFaccao] == 8) {
  4372.             if (LancaFavela[7] < 0) {
  4373.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4374.                return 1;
  4375.             }
  4376.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  4377.                TAG_ERRO " Você não tem dinheiro suficiente.");
  4378.             Player[playerid][pLanca] += 40;
  4379.             GivePlayerMoney(playerid, -40);
  4380.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Lanca! Use: /Mochila");
  4381.             LancaFavela[7] -= 40;
  4382.             DinheiroFavela[7] += 40;
  4383.             GuardarLanca();
  4384.             GuardarDinheiro();
  4385.          }
  4386.          if (Player[playerid][pFaccao] == 9) {
  4387.             if (LancaFavela[8] < 0) {
  4388.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4389.                return 1;
  4390.             }
  4391.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  4392.                TAG_ERRO " Você não tem dinheiro suficiente.");
  4393.             Player[playerid][pLanca] += 40;
  4394.             GivePlayerMoney(playerid, -40);
  4395.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Lanca! Use: /Mochila");
  4396.             LancaFavela[8] -= 40;
  4397.             DinheiroFavela[8] += 40;
  4398.             GuardarLanca();
  4399.             GuardarDinheiro();
  4400.          }
  4401.       }
  4402.       if (listitem == 4) {
  4403.          if (Player[playerid][pFaccao] == 1) {
  4404.             if (LancaFavela[0] < 0) {
  4405.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4406.                return 1;
  4407.             }
  4408.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4409.             Player[playerid][pLanca] += 50;
  4410.             GivePlayerMoney(playerid, -50);
  4411.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Lanca! Use: /Mochila");
  4412.             LancaFavela[0] -= 50;
  4413.             DinheiroFavela[0] += 50;
  4414.             GuardarLanca();
  4415.             GuardarDinheiro();
  4416.          }
  4417.          if (Player[playerid][pFaccao] == 2) {
  4418.             if (LancaFavela[1] < 0) {
  4419.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4420.                return 1;
  4421.             }
  4422.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4423.             Player[playerid][pLanca] += 50;
  4424.             GivePlayerMoney(playerid, -50);
  4425.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Lanca! Use: /Mochila");
  4426.             LancaFavela[1] -= 50;
  4427.             DinheiroFavela[1] += 50;
  4428.             GuardarLanca();
  4429.             GuardarDinheiro();
  4430.          }
  4431.          if (Player[playerid][pFaccao] == 3) {
  4432.             if (LancaFavela[2] < 0) {
  4433.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4434.                return 1;
  4435.             }
  4436.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4437.             Player[playerid][pLanca] += 50;
  4438.             GivePlayerMoney(playerid, -50);
  4439.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Lanca! Use: /Mochila");
  4440.             LancaFavela[2] -= 50;
  4441.             DinheiroFavela[2] += 50;
  4442.             GuardarLanca();
  4443.             GuardarDinheiro();
  4444.          }
  4445.          if (Player[playerid][pFaccao] == 4) {
  4446.             if (LancaFavela[3] < 0) {
  4447.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4448.                return 1;
  4449.             }
  4450.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4451.             Player[playerid][pLanca] += 50;
  4452.             GivePlayerMoney(playerid, -50);
  4453.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Lanca! Use: /Mochila");
  4454.             LancaFavela[3] -= 50;
  4455.             DinheiroFavela[3] += 50;
  4456.             GuardarLanca();
  4457.             GuardarDinheiro();
  4458.          }
  4459.          if (Player[playerid][pFaccao] == 5) {
  4460.             if (LancaFavela[4] < 0) {
  4461.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4462.                return 1;
  4463.             }
  4464.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4465.             Player[playerid][pLanca] += 50;
  4466.             GivePlayerMoney(playerid, -50);
  4467.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Lanca! Use: /Mochila");
  4468.             LancaFavela[4] -= 50;
  4469.             DinheiroFavela[4] += 50;
  4470.             GuardarLanca();
  4471.             GuardarDinheiro();
  4472.          }
  4473.          if (Player[playerid][pFaccao] == 6) {
  4474.             if (LancaFavela[5] < 0) {
  4475.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4476.                return 1;
  4477.             }
  4478.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4479.             Player[playerid][pLanca] += 50;
  4480.             GivePlayerMoney(playerid, -50);
  4481.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Lanca! Use: /Mochila");
  4482.             LancaFavela[5] -= 50;
  4483.             DinheiroFavela[5] += 50;
  4484.             GuardarLanca();
  4485.             GuardarDinheiro();
  4486.          }
  4487.          if (Player[playerid][pFaccao] == 7) {
  4488.             if (LancaFavela[6] < 0) {
  4489.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4490.                return 1;
  4491.             }
  4492.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4493.             Player[playerid][pLanca] += 50;
  4494.             GivePlayerMoney(playerid, -50);
  4495.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Lanca! Use: /Mochila");
  4496.             LancaFavela[6] -= 50;
  4497.             DinheiroFavela[6] += 50;
  4498.             GuardarLanca();
  4499.             GuardarDinheiro();
  4500.          }
  4501.          if (Player[playerid][pFaccao] == 8) {
  4502.             if (LancaFavela[7] < 0) {
  4503.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4504.                return 1;
  4505.             }
  4506.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4507.             Player[playerid][pLanca] += 50;
  4508.             GivePlayerMoney(playerid, -50);
  4509.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Lanca! Use: /Mochila");
  4510.             LancaFavela[7] -= 50;
  4511.             DinheiroFavela[7] += 50;
  4512.             GuardarLanca();
  4513.             GuardarDinheiro();
  4514.          }
  4515.          if (Player[playerid][pFaccao] == 9) {
  4516.             if (LancaFavela[8] < 0) {
  4517.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4518.                return 1;
  4519.             }
  4520.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4521.             Player[playerid][pLanca] += 50;
  4522.             GivePlayerMoney(playerid, -50);
  4523.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Lanca! Use: /Mochila");
  4524.             LancaFavela[8] -= 50;
  4525.             DinheiroFavela[8] += 50;
  4526.             GuardarLanca();
  4527.             GuardarDinheiro();
  4528.          }
  4529.       }
  4530.       if (listitem == 5) {
  4531.          if (Player[playerid][pFaccao] == 1) {
  4532.             if (LancaFavela[0] < 0) {
  4533.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4534.                return 1;
  4535.             }
  4536.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4537.             Player[playerid][pLanca] += 60;
  4538.             GivePlayerMoney(playerid, -60);
  4539.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Lanca! Use: /Mochila");
  4540.             LancaFavela[0] -= 60;
  4541.             DinheiroFavela[0] += 60;
  4542.             GuardarLanca();
  4543.             GuardarDinheiro();
  4544.          }
  4545.          if (Player[playerid][pFaccao] == 2) {
  4546.             if (LancaFavela[1] < 0) {
  4547.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4548.                return 1;
  4549.             }
  4550.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4551.             Player[playerid][pLanca] += 60;
  4552.             GivePlayerMoney(playerid, -60);
  4553.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Lanca! Use: /Mochila");
  4554.             LancaFavela[1] -= 60;
  4555.             DinheiroFavela[1] += 60;
  4556.             GuardarLanca();
  4557.             GuardarDinheiro();
  4558.          }
  4559.          if (Player[playerid][pFaccao] == 3) {
  4560.             if (LancaFavela[2] < 0) {
  4561.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4562.                return 1;
  4563.             }
  4564.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4565.             Player[playerid][pLanca] += 60;
  4566.             GivePlayerMoney(playerid, -60);
  4567.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Lanca! Use: /Mochila");
  4568.             LancaFavela[2] -= 60;
  4569.             DinheiroFavela[2] += 60;
  4570.             GuardarLanca();
  4571.             GuardarDinheiro();
  4572.          }
  4573.          if (Player[playerid][pFaccao] == 4) {
  4574.             if (LancaFavela[3] < 0) {
  4575.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4576.                return 1;
  4577.             }
  4578.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4579.             Player[playerid][pLanca] += 60;
  4580.             GivePlayerMoney(playerid, -60);
  4581.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Lanca! Use: /Mochila");
  4582.             LancaFavela[3] -= 60;
  4583.             DinheiroFavela[3] += 60;
  4584.             GuardarLanca();
  4585.             GuardarDinheiro();
  4586.          }
  4587.          if (Player[playerid][pFaccao] == 5) {
  4588.             if (LancaFavela[4] < 0) {
  4589.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4590.                return 1;
  4591.             }
  4592.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4593.             Player[playerid][pLanca] += 60;
  4594.             GivePlayerMoney(playerid, -60);
  4595.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Lanca! Use: /Mochila");
  4596.             LancaFavela[4] -= 60;
  4597.             DinheiroFavela[4] += 60;
  4598.             GuardarLanca();
  4599.             GuardarDinheiro();
  4600.          }
  4601.          if (Player[playerid][pFaccao] == 6) {
  4602.             if (LancaFavela[5] < 0) {
  4603.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4604.                return 1;
  4605.             }
  4606.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4607.             Player[playerid][pLanca] += 60;
  4608.             GivePlayerMoney(playerid, -60);
  4609.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Lanca! Use: /Mochila");
  4610.             LancaFavela[5] -= 60;
  4611.             DinheiroFavela[5] += 60;
  4612.             GuardarLanca();
  4613.             GuardarDinheiro();
  4614.          }
  4615.          if (Player[playerid][pFaccao] == 7) {
  4616.             if (LancaFavela[6] < 0) {
  4617.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4618.                return 1;
  4619.             }
  4620.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4621.             Player[playerid][pLanca] += 60;
  4622.             GivePlayerMoney(playerid, -60);
  4623.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Lanca! Use: /Mochila");
  4624.             LancaFavela[6] -= 60;
  4625.             DinheiroFavela[6] += 60;
  4626.             GuardarLanca();
  4627.             GuardarDinheiro();
  4628.          }
  4629.          if (Player[playerid][pFaccao] == 8) {
  4630.             if (LancaFavela[7] < 0) {
  4631.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4632.                return 1;
  4633.             }
  4634.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4635.             Player[playerid][pLanca] += 60;
  4636.             GivePlayerMoney(playerid, -60);
  4637.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Lanca! Use: /Mochila");
  4638.             LancaFavela[7] -= 60;
  4639.             DinheiroFavela[7] += 60;
  4640.             GuardarLanca();
  4641.             GuardarDinheiro();
  4642.          }
  4643.          if (Player[playerid][pFaccao] == 9) {
  4644.             if (LancaFavela[8] < 0) {
  4645.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4646.                return 1;
  4647.             }
  4648.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4649.             Player[playerid][pLanca] += 60;
  4650.             GivePlayerMoney(playerid, -60);
  4651.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Lanca! Use: /Mochila");
  4652.             LancaFavela[8] -= 60;
  4653.             DinheiroFavela[8] += 60;
  4654.             GuardarLanca();
  4655.             GuardarDinheiro();
  4656.          }
  4657.       }
  4658.       if (listitem == 6) {
  4659.          if (Player[playerid][pFaccao] == 1) {
  4660.             if (LancaFavela[0] < 0) {
  4661.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4662.                return 1;
  4663.             }
  4664.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4665.             Player[playerid][pLanca] += 70;
  4666.             GivePlayerMoney(playerid, -70);
  4667.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Lanca! Use: /Mochila");
  4668.             LancaFavela[0] -= 70;
  4669.             DinheiroFavela[0] += 70;
  4670.             GuardarLanca();
  4671.             GuardarDinheiro();
  4672.          }
  4673.          if (Player[playerid][pFaccao] == 2) {
  4674.             if (LancaFavela[1] < 0) {
  4675.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4676.                return 1;
  4677.             }
  4678.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4679.             Player[playerid][pLanca] += 70;
  4680.             GivePlayerMoney(playerid, -70);
  4681.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Lanca! Use: /Mochila");
  4682.             LancaFavela[1] -= 70;
  4683.             DinheiroFavela[1] += 70;
  4684.             GuardarLanca();
  4685.             GuardarDinheiro();
  4686.          }
  4687.          if (Player[playerid][pFaccao] == 3) {
  4688.             if (LancaFavela[2] < 0) {
  4689.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4690.                return 1;
  4691.             }
  4692.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4693.             Player[playerid][pLanca] += 70;
  4694.             GivePlayerMoney(playerid, -70);
  4695.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Lanca! Use: /Mochila");
  4696.             LancaFavela[2] -= 70;
  4697.             DinheiroFavela[2] += 70;
  4698.             GuardarLanca();
  4699.             GuardarDinheiro();
  4700.          }
  4701.          if (Player[playerid][pFaccao] == 4) {
  4702.             if (LancaFavela[3] < 0) {
  4703.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4704.                return 1;
  4705.             }
  4706.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4707.             Player[playerid][pLanca] += 70;
  4708.             GivePlayerMoney(playerid, -70);
  4709.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Lanca! Use: /Mochila");
  4710.             LancaFavela[3] -= 70;
  4711.             DinheiroFavela[3] += 70;
  4712.             GuardarLanca();
  4713.             GuardarDinheiro();
  4714.          }
  4715.          if (Player[playerid][pFaccao] == 5) {
  4716.             if (LancaFavela[4] < 0) {
  4717.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4718.                return 1;
  4719.             }
  4720.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4721.             Player[playerid][pLanca] += 70;
  4722.             GivePlayerMoney(playerid, -70);
  4723.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Lanca! Use: /Mochila");
  4724.             LancaFavela[4] -= 70;
  4725.             DinheiroFavela[4] += 70;
  4726.             GuardarLanca();
  4727.             GuardarDinheiro();
  4728.          }
  4729.          if (Player[playerid][pFaccao] == 6) {
  4730.             if (LancaFavela[5] < 0) {
  4731.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4732.                return 1;
  4733.             }
  4734.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4735.             Player[playerid][pLanca] += 70;
  4736.             GivePlayerMoney(playerid, -70);
  4737.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Lanca! Use: /Mochila");
  4738.             LancaFavela[5] -= 70;
  4739.             DinheiroFavela[5] += 70;
  4740.             GuardarLanca();
  4741.             GuardarDinheiro();
  4742.          }
  4743.          if (Player[playerid][pFaccao] == 7) {
  4744.             if (LancaFavela[6] < 0) {
  4745.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4746.                return 1;
  4747.             }
  4748.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4749.             Player[playerid][pLanca] += 70;
  4750.             GivePlayerMoney(playerid, -70);
  4751.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Lanca! Use: /Mochila");
  4752.             LancaFavela[6] -= 70;
  4753.             DinheiroFavela[6] += 70;
  4754.             GuardarLanca();
  4755.             GuardarDinheiro();
  4756.          }
  4757.          if (Player[playerid][pFaccao] == 8) {
  4758.             if (LancaFavela[7] < 0) {
  4759.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4760.                return 1;
  4761.             }
  4762.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4763.             Player[playerid][pLanca] += 70;
  4764.             GivePlayerMoney(playerid, -70);
  4765.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Lanca! Use: /Mochila");
  4766.             LancaFavela[7] -= 70;
  4767.             DinheiroFavela[7] += 70;
  4768.             GuardarLanca();
  4769.             GuardarDinheiro();
  4770.          }
  4771.          if (Player[playerid][pFaccao] == 9) {
  4772.             if (LancaFavela[8] < 0) {
  4773.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4774.                return 1;
  4775.             }
  4776.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4777.             Player[playerid][pLanca] += 70;
  4778.             GivePlayerMoney(playerid, -70);
  4779.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Lanca! Use: /Mochila");
  4780.             LancaFavela[8] -= 70;
  4781.             DinheiroFavela[8] += 70;
  4782.             GuardarLanca();
  4783.             GuardarDinheiro();
  4784.          }
  4785.       }
  4786.       if (listitem == 7) {
  4787.          if (Player[playerid][pFaccao] == 1) {
  4788.             if (LancaFavela[0] < 0) {
  4789.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4790.                return 1;
  4791.             }
  4792.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4793.             Player[playerid][pLanca] += 80;
  4794.             GivePlayerMoney(playerid, -80);
  4795.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Lanca! Use: /Mochila");
  4796.             LancaFavela[0] -= 80;
  4797.             DinheiroFavela[0] += 80;
  4798.             GuardarLanca();
  4799.             GuardarDinheiro();
  4800.          }
  4801.          if (Player[playerid][pFaccao] == 2) {
  4802.             if (LancaFavela[1] < 0) {
  4803.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4804.                return 1;
  4805.             }
  4806.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4807.             Player[playerid][pLanca] += 80;
  4808.             GivePlayerMoney(playerid, -80);
  4809.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Lanca! Use: /Mochila");
  4810.             LancaFavela[1] -= 80;
  4811.             DinheiroFavela[1] += 80;
  4812.             GuardarLanca();
  4813.             GuardarDinheiro();
  4814.          }
  4815.          if (Player[playerid][pFaccao] == 3) {
  4816.             if (LancaFavela[2] < 0) {
  4817.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4818.                return 1;
  4819.             }
  4820.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4821.             Player[playerid][pLanca] += 80;
  4822.             GivePlayerMoney(playerid, -80);
  4823.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Lanca! Use: /Mochila");
  4824.             LancaFavela[2] -= 80;
  4825.             DinheiroFavela[2] += 80;
  4826.             GuardarLanca();
  4827.             GuardarDinheiro();
  4828.          }
  4829.          if (Player[playerid][pFaccao] == 4) {
  4830.             if (LancaFavela[3] < 0) {
  4831.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4832.                return 1;
  4833.             }
  4834.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4835.             Player[playerid][pLanca] += 80;
  4836.             GivePlayerMoney(playerid, -80);
  4837.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Lanca! Use: /Mochila");
  4838.             LancaFavela[3] -= 80;
  4839.             DinheiroFavela[3] += 80;
  4840.             GuardarLanca();
  4841.             GuardarDinheiro();
  4842.          }
  4843.          if (Player[playerid][pFaccao] == 5) {
  4844.             if (LancaFavela[4] < 0) {
  4845.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4846.                return 1;
  4847.             }
  4848.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4849.             Player[playerid][pLanca] += 80;
  4850.             GivePlayerMoney(playerid, -80);
  4851.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Lanca! Use: /Mochila");
  4852.             LancaFavela[4] -= 80;
  4853.             DinheiroFavela[4] += 80;
  4854.             GuardarLanca();
  4855.             GuardarDinheiro();
  4856.          }
  4857.          if (Player[playerid][pFaccao] == 6) {
  4858.             if (LancaFavela[5] < 0) {
  4859.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4860.                return 1;
  4861.             }
  4862.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4863.             Player[playerid][pLanca] += 80;
  4864.             GivePlayerMoney(playerid, -80);
  4865.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Lanca! Use: /Mochila");
  4866.             LancaFavela[5] -= 80;
  4867.             DinheiroFavela[5] += 80;
  4868.             GuardarLanca();
  4869.             GuardarDinheiro();
  4870.          }
  4871.          if (Player[playerid][pFaccao] == 7) {
  4872.             if (LancaFavela[6] < 0) {
  4873.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4874.                return 1;
  4875.             }
  4876.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4877.             Player[playerid][pLanca] += 80;
  4878.             GivePlayerMoney(playerid, -80);
  4879.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Lanca! Use: /Mochila");
  4880.             LancaFavela[6] -= 80;
  4881.             DinheiroFavela[6] += 80;
  4882.             GuardarLanca();
  4883.             GuardarDinheiro();
  4884.          }
  4885.          if (Player[playerid][pFaccao] == 8) {
  4886.             if (LancaFavela[7] < 0) {
  4887.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4888.                return 1;
  4889.             }
  4890.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4891.             Player[playerid][pLanca] += 80;
  4892.             GivePlayerMoney(playerid, -80);
  4893.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Lanca! Use: /Mochila");
  4894.             LancaFavela[7] -= 80;
  4895.             DinheiroFavela[7] += 80;
  4896.             GuardarLanca();
  4897.             GuardarDinheiro();
  4898.          }
  4899.          if (Player[playerid][pFaccao] == 9) {
  4900.             if (LancaFavela[8] < 0) {
  4901.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4902.                return 1;
  4903.             }
  4904.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4905.             Player[playerid][pLanca] += 80;
  4906.             GivePlayerMoney(playerid, -80);
  4907.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Lanca! Use: /Mochila");
  4908.             LancaFavela[8] -= 80;
  4909.             DinheiroFavela[8] += 80;
  4910.             GuardarLanca();
  4911.             GuardarDinheiro();
  4912.          }
  4913.       }
  4914.       if (listitem == 8) {
  4915.          if (Player[playerid][pFaccao] == 1) {
  4916.             if (LancaFavela[0] < 0) {
  4917.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4918.                return 1;
  4919.             }
  4920.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4921.             Player[playerid][pLanca] += 90;
  4922.             GivePlayerMoney(playerid, -90);
  4923.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Lanca! Use: /Mochila");
  4924.             LancaFavela[0] -= 90;
  4925.             DinheiroFavela[0] += 90;
  4926.             GuardarLanca();
  4927.             GuardarDinheiro();
  4928.          }
  4929.          if (Player[playerid][pFaccao] == 2) {
  4930.             if (LancaFavela[1] < 0) {
  4931.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4932.                return 1;
  4933.             }
  4934.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4935.             Player[playerid][pLanca] += 90;
  4936.             GivePlayerMoney(playerid, -90);
  4937.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Lanca! Use: /Mochila");
  4938.             LancaFavela[1] -= 90;
  4939.             DinheiroFavela[1] += 90;
  4940.             GuardarLanca();
  4941.             GuardarDinheiro();
  4942.          }
  4943.          if (Player[playerid][pFaccao] == 3) {
  4944.             if (LancaFavela[2] < 0) {
  4945.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4946.                return 1;
  4947.             }
  4948.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4949.             Player[playerid][pLanca] += 90;
  4950.             GivePlayerMoney(playerid, -90);
  4951.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Lanca! Use: /Mochila");
  4952.             LancaFavela[2] -= 90;
  4953.             DinheiroFavela[2] += 90;
  4954.             GuardarLanca();
  4955.             GuardarDinheiro();
  4956.          }
  4957.          if (Player[playerid][pFaccao] == 4) {
  4958.             if (LancaFavela[3] < 0) {
  4959.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4960.                return 1;
  4961.             }
  4962.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4963.             Player[playerid][pLanca] += 90;
  4964.             GivePlayerMoney(playerid, -90);
  4965.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Lanca! Use: /Mochila");
  4966.             LancaFavela[3] -= 90;
  4967.             DinheiroFavela[3] += 90;
  4968.             GuardarLanca();
  4969.             GuardarDinheiro();
  4970.          }
  4971.          if (Player[playerid][pFaccao] == 5) {
  4972.             if (LancaFavela[4] < 0) {
  4973.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4974.                return 1;
  4975.             }
  4976.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4977.             Player[playerid][pLanca] += 90;
  4978.             GivePlayerMoney(playerid, -90);
  4979.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Lanca! Use: /Mochila");
  4980.             LancaFavela[4] -= 90;
  4981.             DinheiroFavela[4] += 90;
  4982.             GuardarLanca();
  4983.             GuardarDinheiro();
  4984.          }
  4985.          if (Player[playerid][pFaccao] == 6) {
  4986.             if (LancaFavela[5] < 0) {
  4987.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  4988.                return 1;
  4989.             }
  4990.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  4991.             Player[playerid][pLanca] += 90;
  4992.             GivePlayerMoney(playerid, -90);
  4993.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Lanca! Use: /Mochila");
  4994.             LancaFavela[5] -= 90;
  4995.             DinheiroFavela[5] += 90;
  4996.             GuardarLanca();
  4997.             GuardarDinheiro();
  4998.          }
  4999.          if (Player[playerid][pFaccao] == 7) {
  5000.             if (LancaFavela[6] < 0) {
  5001.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  5002.                return 1;
  5003.             }
  5004.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5005.             Player[playerid][pLanca] += 90;
  5006.             GivePlayerMoney(playerid, -90);
  5007.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Lanca! Use: /Mochila");
  5008.             LancaFavela[6] -= 90;
  5009.             DinheiroFavela[6] += 90;
  5010.             GuardarLanca();
  5011.             GuardarDinheiro();
  5012.          }
  5013.          if (Player[playerid][pFaccao] == 8) {
  5014.             if (LancaFavela[7] < 0) {
  5015.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  5016.                return 1;
  5017.             }
  5018.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5019.             Player[playerid][pLanca] += 90;
  5020.             GivePlayerMoney(playerid, -90);
  5021.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Lanca! Use: /Mochila");
  5022.             LancaFavela[7] -= 90;
  5023.             DinheiroFavela[7] += 90;
  5024.             GuardarLanca();
  5025.             GuardarDinheiro();
  5026.          }
  5027.          if (Player[playerid][pFaccao] == 9) {
  5028.             if (LancaFavela[8] < 0) {
  5029.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  5030.                return 1;
  5031.             }
  5032.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5033.             Player[playerid][pLanca] += 90;
  5034.             GivePlayerMoney(playerid, -90);
  5035.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Lanca! Use: /Mochila");
  5036.             LancaFavela[8] -= 90;
  5037.             DinheiroFavela[8] += 90;
  5038.             GuardarLanca();
  5039.             GuardarDinheiro();
  5040.          }
  5041.       }
  5042.       if (listitem == 9) {
  5043.          if (Player[playerid][pFaccao] == 1) {
  5044.             if (LancaFavela[0] < 0) {
  5045.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  5046.                return 1;
  5047.             }
  5048.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5049.             Player[playerid][pLanca] += 100;
  5050.             GivePlayerMoney(playerid, -100);
  5051.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Lanca! Use: /Mochila");
  5052.             LancaFavela[0] -= 100;
  5053.             DinheiroFavela[0] += 100;
  5054.             GuardarLanca();
  5055.             GuardarDinheiro();
  5056.          }
  5057.          if (Player[playerid][pFaccao] == 2) {
  5058.             if (LancaFavela[1] < 0) {
  5059.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  5060.                return 1;
  5061.             }
  5062.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5063.             Player[playerid][pLanca] += 100;
  5064.             GivePlayerMoney(playerid, -100);
  5065.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Lanca! Use: /Mochila");
  5066.             LancaFavela[1] -= 100;
  5067.             DinheiroFavela[1] += 100;
  5068.             GuardarLanca();
  5069.             GuardarDinheiro();
  5070.          }
  5071.          if (Player[playerid][pFaccao] == 3) {
  5072.             if (LancaFavela[2] < 0) {
  5073.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  5074.                return 1;
  5075.             }
  5076.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5077.             Player[playerid][pLanca] += 100;
  5078.             GivePlayerMoney(playerid, -100);
  5079.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Lanca! Use: /Mochila");
  5080.             LancaFavela[2] -= 100;
  5081.             DinheiroFavela[2] += 100;
  5082.             GuardarLanca();
  5083.             GuardarDinheiro();
  5084.          }
  5085.          if (Player[playerid][pFaccao] == 4) {
  5086.             if (LancaFavela[3] < 0) {
  5087.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  5088.                return 1;
  5089.             }
  5090.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5091.             Player[playerid][pLanca] += 100;
  5092.             GivePlayerMoney(playerid, -100);
  5093.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Lanca! Use: /Mochila");
  5094.             LancaFavela[3] -= 100;
  5095.             DinheiroFavela[3] += 100;
  5096.             GuardarLanca();
  5097.             GuardarDinheiro();
  5098.          }
  5099.          if (Player[playerid][pFaccao] == 5) {
  5100.             if (LancaFavela[4] < 0) {
  5101.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  5102.                return 1;
  5103.             }
  5104.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5105.             Player[playerid][pLanca] += 100;
  5106.             GivePlayerMoney(playerid, -100);
  5107.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Lanca! Use: /Mochila");
  5108.             LancaFavela[4] -= 100;
  5109.             DinheiroFavela[4] += 100;
  5110.             GuardarLanca();
  5111.             GuardarDinheiro();
  5112.          }
  5113.          if (Player[playerid][pFaccao] == 6) {
  5114.             if (LancaFavela[5] < 0) {
  5115.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  5116.                return 1;
  5117.             }
  5118.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5119.             Player[playerid][pLanca] += 100;
  5120.             GivePlayerMoney(playerid, -100);
  5121.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Lanca! Use: /Mochila");
  5122.             LancaFavela[5] -= 100;
  5123.             DinheiroFavela[5] += 100;
  5124.             GuardarLanca();
  5125.             GuardarDinheiro();
  5126.          }
  5127.          if (Player[playerid][pFaccao] == 7) {
  5128.             if (LancaFavela[6] < 0) {
  5129.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  5130.                return 1;
  5131.             }
  5132.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5133.             Player[playerid][pLanca] += 100;
  5134.             GivePlayerMoney(playerid, -100);
  5135.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Lanca! Use: /Mochila");
  5136.             LancaFavela[6] -= 100;
  5137.             DinheiroFavela[6] += 100;
  5138.             GuardarLanca();
  5139.             GuardarDinheiro();
  5140.          }
  5141.          if (Player[playerid][pFaccao] == 8) {
  5142.             if (LancaFavela[7] < 0) {
  5143.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  5144.                return 1;
  5145.             }
  5146.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5147.             Player[playerid][pLanca] += 100;
  5148.             GivePlayerMoney(playerid, -100);
  5149.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Lanca! Use: /Mochila");
  5150.             LancaFavela[7] -= 100;
  5151.             DinheiroFavela[7] += 100;
  5152.             GuardarLanca();
  5153.             GuardarDinheiro();
  5154.          }
  5155.          if (Player[playerid][pFaccao] == 9) {
  5156.             if (LancaFavela[8] < 0) {
  5157.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Lanca no armazém");
  5158.                return 1;
  5159.             }
  5160.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5161.             Player[playerid][pLanca] += 100;
  5162.             GivePlayerMoney(playerid, -100);
  5163.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Lanca! Use: /Mochila");
  5164.             LancaFavela[8] -= 100;
  5165.             DinheiroFavela[8] += 100;
  5166.             GuardarLanca();
  5167.             GuardarDinheiro();
  5168.          }
  5169.       }
  5170.    }
  5171.    return 1;
  5172. }
  5173. if (dialogid == DIALOG_FOGOS) {
  5174.    if (response) {
  5175.       if (listitem == 0) {
  5176.          if (Player[playerid][pFaccao] == 1) {
  5177.             if (FogosFavela[0] < 0) {
  5178.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5179.                return 1;
  5180.             }
  5181.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5182.             Player[playerid][pFogos] += 10;
  5183.             GivePlayerMoney(playerid, -10);
  5184.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Fogos! Use: /Mochila");
  5185.             FogosFavela[0] -= 10;
  5186.             DinheiroFavela[0] += 10;
  5187.             GuardarFogos();
  5188.             GuardarDinheiro();
  5189.          }
  5190.          if (Player[playerid][pFaccao] == 2) {
  5191.             if (FogosFavela[1] < 0) {
  5192.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5193.                return 1;
  5194.             }
  5195.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5196.             Player[playerid][pFogos] += 10;
  5197.             GivePlayerMoney(playerid, -10);
  5198.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Fogos! Use: /Mochila");
  5199.             FogosFavela[1] -= 10;
  5200.             DinheiroFavela[1] += 10;
  5201.             GuardarFogos();
  5202.             GuardarDinheiro();
  5203.          }
  5204.          if (Player[playerid][pFaccao] == 3) {
  5205.             if (FogosFavela[2] < 0) {
  5206.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5207.                return 1;
  5208.             }
  5209.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5210.             Player[playerid][pFogos] += 10;
  5211.             GivePlayerMoney(playerid, -10);
  5212.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Fogos! Use: /Mochila");
  5213.             FogosFavela[2] -= 10;
  5214.             DinheiroFavela[2] += 10;
  5215.             GuardarFogos();
  5216.             GuardarDinheiro();
  5217.          }
  5218.          if (Player[playerid][pFaccao] == 4) {
  5219.             if (FogosFavela[3] < 0) {
  5220.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5221.                return 1;
  5222.             }
  5223.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5224.             Player[playerid][pFogos] += 10;
  5225.             GivePlayerMoney(playerid, -10);
  5226.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Fogos! Use: /Mochila");
  5227.             FogosFavela[3] -= 10;
  5228.             DinheiroFavela[3] += 10;
  5229.             GuardarFogos();
  5230.             GuardarDinheiro();
  5231.          }
  5232.          if (Player[playerid][pFaccao] == 5) {
  5233.             if (FogosFavela[4] < 0) {
  5234.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5235.                return 1;
  5236.             }
  5237.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5238.             Player[playerid][pFogos] += 10;
  5239.             GivePlayerMoney(playerid, -10);
  5240.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Fogos! Use: /Mochila");
  5241.             FogosFavela[4] -= 10;
  5242.             DinheiroFavela[4] += 10;
  5243.             GuardarFogos();
  5244.             GuardarDinheiro();
  5245.          }
  5246.          if (Player[playerid][pFaccao] == 6) {
  5247.             if (FogosFavela[5] < 0) {
  5248.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5249.                return 1;
  5250.             }
  5251.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5252.             Player[playerid][pFogos] += 10;
  5253.             GivePlayerMoney(playerid, -10);
  5254.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Fogos! Use: /Mochila");
  5255.             FogosFavela[5] -= 10;
  5256.             DinheiroFavela[5] += 10;
  5257.             GuardarFogos();
  5258.             GuardarDinheiro();
  5259.          }
  5260.          if (Player[playerid][pFaccao] == 7) {
  5261.             if (FogosFavela[6] < 0) {
  5262.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5263.                return 1;
  5264.             }
  5265.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5266.             Player[playerid][pFogos] += 10;
  5267.             GivePlayerMoney(playerid, -10);
  5268.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Fogos! Use: /Mochila");
  5269.             FogosFavela[6] -= 10;
  5270.             DinheiroFavela[6] += 10;
  5271.             GuardarFogos();
  5272.             GuardarDinheiro();
  5273.          }
  5274.          if (Player[playerid][pFaccao] == 8) {
  5275.             if (FogosFavela[7] < 0) {
  5276.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5277.                return 1;
  5278.             }
  5279.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5280.             Player[playerid][pFogos] += 10;
  5281.             GivePlayerMoney(playerid, -10);
  5282.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Fogos! Use: /Mochila");
  5283.             FogosFavela[7] -= 10;
  5284.             DinheiroFavela[7] += 10;
  5285.             GuardarFogos();
  5286.             GuardarDinheiro();
  5287.          }
  5288.          if (Player[playerid][pFaccao] == 9) {
  5289.             if (FogosFavela[8] < 0) {
  5290.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5291.                return 1;
  5292.             }
  5293.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5294.             Player[playerid][pFogos] += 10;
  5295.             GivePlayerMoney(playerid, -10);
  5296.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Fogos! Use: /Mochila");
  5297.             FogosFavela[8] -= 10;
  5298.             DinheiroFavela[8] += 10;
  5299.             GuardarFogos();
  5300.             GuardarDinheiro();
  5301.          }
  5302.          if (Player[playerid][pFaccao] == 10) {
  5303.             if (FogosFavela[9] < 0) {
  5304.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5305.                return 1;
  5306.             }
  5307.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5308.             Player[playerid][pFogos] += 10;
  5309.             GivePlayerMoney(playerid, -10);
  5310.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Fogos! Use: /Mochila");
  5311.             FogosFavela[9] -= 10;
  5312.             DinheiroFavela[9] += 10;
  5313.             GuardarFogos();
  5314.             GuardarDinheiro();
  5315.          }
  5316.          if (Player[playerid][pFaccao] == 11) {
  5317.             if (FogosFavela[10] < 0) {
  5318.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5319.                return 1;
  5320.             }
  5321.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5322.             Player[playerid][pFogos] += 10;
  5323.             GivePlayerMoney(playerid, -10);
  5324.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Fogos! Use: /Mochila");
  5325.             FogosFavela[10] -= 10;
  5326.             DinheiroFavela[10] += 10;
  5327.             GuardarFogos();
  5328.             GuardarDinheiro();
  5329.          }
  5330.          if (Player[playerid][pFaccao] == 12) {
  5331.             if (FogosFavela[11] < 0) {
  5332.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5333.                return 1;
  5334.             }
  5335.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5336.             Player[playerid][pFogos] += 10;
  5337.             GivePlayerMoney(playerid, -10);
  5338.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 10 de Fogos! Use: /Mochila");
  5339.             FogosFavela[11] -= 10;
  5340.             DinheiroFavela[11] += 10;
  5341.             GuardarFogos();
  5342.             GuardarDinheiro();
  5343.          }
  5344.       }
  5345.       if (listitem == 1) {
  5346.          if (Player[playerid][pFaccao] == 1) {
  5347.             if (FogosFavela[0] < 0) {
  5348.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5349.                return 1;
  5350.             }
  5351.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5352.             Player[playerid][pFogos] += 20;
  5353.             GivePlayerMoney(playerid, -20);
  5354.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Fogos! Use: /Mochila");
  5355.             FogosFavela[0] -= 20;
  5356.             DinheiroFavela[0] += 20;
  5357.             GuardarFogos();
  5358.             GuardarDinheiro();
  5359.          }
  5360.          if (Player[playerid][pFaccao] == 2) {
  5361.             if (FogosFavela[1] < 0) {
  5362.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5363.                return 1;
  5364.             }
  5365.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5366.             Player[playerid][pFogos] += 20;
  5367.             GivePlayerMoney(playerid, -20);
  5368.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Fogos! Use: /Mochila");
  5369.             FogosFavela[1] -= 20;
  5370.             DinheiroFavela[1] += 20;
  5371.             GuardarFogos();
  5372.             GuardarDinheiro();
  5373.          }
  5374.          if (Player[playerid][pFaccao] == 3) {
  5375.             if (FogosFavela[2] < 0) {
  5376.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5377.                return 1;
  5378.             }
  5379.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5380.             Player[playerid][pFogos] += 20;
  5381.             GivePlayerMoney(playerid, -20);
  5382.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Fogos! Use: /Mochila");
  5383.             FogosFavela[2] -= 20;
  5384.             DinheiroFavela[2] += 20;
  5385.             GuardarFogos();
  5386.             GuardarDinheiro();
  5387.          }
  5388.          if (Player[playerid][pFaccao] == 4) {
  5389.             if (FogosFavela[3] < 0) {
  5390.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5391.                return 1;
  5392.             }
  5393.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5394.             Player[playerid][pFogos] += 20;
  5395.             GivePlayerMoney(playerid, -20);
  5396.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Fogos! Use: /Mochila");
  5397.             FogosFavela[3] -= 20;
  5398.             DinheiroFavela[3] += 20;
  5399.             GuardarFogos();
  5400.             GuardarDinheiro();
  5401.          }
  5402.          if (Player[playerid][pFaccao] == 5) {
  5403.             if (FogosFavela[4] < 0) {
  5404.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5405.                return 1;
  5406.             }
  5407.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5408.             Player[playerid][pFogos] += 20;
  5409.             GivePlayerMoney(playerid, -20);
  5410.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Fogos! Use: /Mochila");
  5411.             FogosFavela[4] -= 20;
  5412.             DinheiroFavela[4] += 20;
  5413.             GuardarFogos();
  5414.             GuardarDinheiro();
  5415.          }
  5416.          if (Player[playerid][pFaccao] == 6) {
  5417.             if (FogosFavela[5] < 0) {
  5418.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5419.                return 1;
  5420.             }
  5421.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5422.             Player[playerid][pFogos] += 20;
  5423.             GivePlayerMoney(playerid, -20);
  5424.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Fogos! Use: /Mochila");
  5425.             FogosFavela[5] -= 20;
  5426.             DinheiroFavela[5] += 20;
  5427.             GuardarFogos();
  5428.             GuardarDinheiro();
  5429.          }
  5430.          if (Player[playerid][pFaccao] == 7) {
  5431.             if (FogosFavela[6] < 0) {
  5432.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5433.                return 1;
  5434.             }
  5435.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5436.             Player[playerid][pFogos] += 20;
  5437.             GivePlayerMoney(playerid, -20);
  5438.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Fogos! Use: /Mochila");
  5439.             FogosFavela[6] -= 20;
  5440.             DinheiroFavela[6] += 20;
  5441.             GuardarFogos();
  5442.             GuardarDinheiro();
  5443.          }
  5444.          if (Player[playerid][pFaccao] == 8) {
  5445.             if (FogosFavela[7] < 0) {
  5446.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5447.                return 1;
  5448.             }
  5449.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5450.             Player[playerid][pFogos] += 20;
  5451.             GivePlayerMoney(playerid, -20);
  5452.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Fogos! Use: /Mochila");
  5453.             FogosFavela[7] -= 20;
  5454.             DinheiroFavela[7] += 20;
  5455.             GuardarFogos();
  5456.             GuardarDinheiro();
  5457.          }
  5458.          if (Player[playerid][pFaccao] == 9) {
  5459.             if (FogosFavela[8] < 0) {
  5460.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5461.                return 1;
  5462.             }
  5463.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5464.             Player[playerid][pFogos] += 20;
  5465.             GivePlayerMoney(playerid, -20);
  5466.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Fogos! Use: /Mochila");
  5467.             FogosFavela[8] -= 20;
  5468.             DinheiroFavela[8] += 20;
  5469.             GuardarFogos();
  5470.             GuardarDinheiro();
  5471.          }
  5472.          if (Player[playerid][pFaccao] == 10) {
  5473.             if (FogosFavela[9] < 0) {
  5474.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5475.                return 1;
  5476.             }
  5477.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5478.             Player[playerid][pFogos] += 20;
  5479.             GivePlayerMoney(playerid, -20);
  5480.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Fogos! Use: /Mochila");
  5481.             FogosFavela[9] -= 20;
  5482.             DinheiroFavela[9] += 20;
  5483.             GuardarFogos();
  5484.             GuardarDinheiro();
  5485.          }
  5486.          if (Player[playerid][pFaccao] == 11) {
  5487.             if (FogosFavela[10] < 0) {
  5488.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5489.                return 1;
  5490.             }
  5491.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5492.             Player[playerid][pFogos] += 20;
  5493.             GivePlayerMoney(playerid, -20);
  5494.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Fogos! Use: /Mochila");
  5495.             FogosFavela[10] -= 20;
  5496.             DinheiroFavela[10] += 20;
  5497.             GuardarFogos();
  5498.             GuardarDinheiro();
  5499.          }
  5500.          if (Player[playerid][pFaccao] == 12) {
  5501.             if (FogosFavela[11] < 0) {
  5502.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5503.                return 1;
  5504.             }
  5505.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5506.             Player[playerid][pFogos] += 20;
  5507.             GivePlayerMoney(playerid, -20);
  5508.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 20 de Fogos! Use: /Mochila");
  5509.             FogosFavela[11] -= 20;
  5510.             DinheiroFavela[11] += 20;
  5511.             GuardarFogos();
  5512.             GuardarDinheiro();
  5513.          }
  5514.       }
  5515.       if (listitem == 2) {
  5516.          if (Player[playerid][pFaccao] == 1) {
  5517.             if (FogosFavela[0] < 0) {
  5518.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5519.                return 1;
  5520.             }
  5521.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5522.             Player[playerid][pFogos] += 30;
  5523.             GivePlayerMoney(playerid, -30);
  5524.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Fogos! Use: /Mochila");
  5525.             FogosFavela[0] -= 30;
  5526.             DinheiroFavela[0] += 30;
  5527.             GuardarFogos();
  5528.             GuardarDinheiro();
  5529.          }
  5530.          if (Player[playerid][pFaccao] == 2) {
  5531.             if (FogosFavela[1] < 0) {
  5532.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5533.                return 1;
  5534.             }
  5535.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5536.             Player[playerid][pFogos] += 30;
  5537.             GivePlayerMoney(playerid, -30);
  5538.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Fogos! Use: /Mochila");
  5539.             FogosFavela[1] -= 30;
  5540.             DinheiroFavela[1] += 30;
  5541.             GuardarFogos();
  5542.             GuardarDinheiro();
  5543.          }
  5544.          if (Player[playerid][pFaccao] == 3) {
  5545.             if (FogosFavela[2] < 0) {
  5546.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5547.                return 1;
  5548.             }
  5549.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5550.             Player[playerid][pFogos] += 30;
  5551.             GivePlayerMoney(playerid, -30);
  5552.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Fogos! Use: /Mochila");
  5553.             FogosFavela[2] -= 30;
  5554.             DinheiroFavela[2] += 30;
  5555.             GuardarFogos();
  5556.             GuardarDinheiro();
  5557.          }
  5558.          if (Player[playerid][pFaccao] == 4) {
  5559.             if (FogosFavela[3] < 0) {
  5560.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5561.                return 1;
  5562.             }
  5563.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5564.             Player[playerid][pFogos] += 30;
  5565.             GivePlayerMoney(playerid, -30);
  5566.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Fogos! Use: /Mochila");
  5567.             FogosFavela[3] -= 30;
  5568.             DinheiroFavela[3] += 30;
  5569.             GuardarFogos();
  5570.             GuardarDinheiro();
  5571.          }
  5572.          if (Player[playerid][pFaccao] == 5) {
  5573.             if (FogosFavela[4] < 0) {
  5574.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5575.                return 1;
  5576.             }
  5577.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5578.             Player[playerid][pFogos] += 30;
  5579.             GivePlayerMoney(playerid, -30);
  5580.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Fogos! Use: /Mochila");
  5581.             FogosFavela[4] -= 30;
  5582.             DinheiroFavela[4] += 30;
  5583.             GuardarFogos();
  5584.             GuardarDinheiro();
  5585.          }
  5586.          if (Player[playerid][pFaccao] == 6) {
  5587.             if (FogosFavela[5] < 0) {
  5588.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5589.                return 1;
  5590.             }
  5591.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5592.             Player[playerid][pFogos] += 30;
  5593.             GivePlayerMoney(playerid, -30);
  5594.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Fogos! Use: /Mochila");
  5595.             FogosFavela[5] -= 30;
  5596.             DinheiroFavela[5] += 30;
  5597.             GuardarFogos();
  5598.             GuardarDinheiro();
  5599.          }
  5600.          if (Player[playerid][pFaccao] == 7) {
  5601.             if (FogosFavela[6] < 0) {
  5602.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5603.                return 1;
  5604.             }
  5605.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5606.             Player[playerid][pFogos] += 30;
  5607.             GivePlayerMoney(playerid, -30);
  5608.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Fogos! Use: /Mochila");
  5609.             FogosFavela[6] -= 30;
  5610.             DinheiroFavela[6] += 30;
  5611.             GuardarFogos();
  5612.             GuardarDinheiro();
  5613.          }
  5614.          if (Player[playerid][pFaccao] == 8) {
  5615.             if (FogosFavela[7] < 0) {
  5616.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5617.                return 1;
  5618.             }
  5619.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5620.             Player[playerid][pFogos] += 30;
  5621.             GivePlayerMoney(playerid, -30);
  5622.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Fogos! Use: /Mochila");
  5623.             FogosFavela[7] -= 30;
  5624.             DinheiroFavela[7] += 30;
  5625.             GuardarFogos();
  5626.             GuardarDinheiro();
  5627.          }
  5628.          if (Player[playerid][pFaccao] == 9) {
  5629.             if (FogosFavela[8] < 0) {
  5630.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5631.                return 1;
  5632.             }
  5633.             if (GetPlayerMoney(playerid) < 30) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5634.             Player[playerid][pFogos] += 30;
  5635.             GivePlayerMoney(playerid, -30);
  5636.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Fogos! Use: /Mochila");
  5637.             FogosFavela[8] -= 30;
  5638.             DinheiroFavela[8] += 30;
  5639.             GuardarFogos();
  5640.             GuardarDinheiro();
  5641.          }
  5642.          if (Player[playerid][pFaccao] == 10) {
  5643.             if (FogosFavela[9] < 0) {
  5644.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5645.                return 1;
  5646.             }
  5647.             if (GetPlayerMoney(playerid) < 20) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5648.             Player[playerid][pFogos] += 30;
  5649.             GivePlayerMoney(playerid, -30);
  5650.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Fogos! Use: /Mochila");
  5651.             FogosFavela[9] -= 30;
  5652.             DinheiroFavela[9] += 30;
  5653.             GuardarFogos();
  5654.             GuardarDinheiro();
  5655.          }
  5656.          if (Player[playerid][pFaccao] == 11) {
  5657.             if (FogosFavela[10] < 0) {
  5658.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5659.                return 1;
  5660.             }
  5661.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5662.             Player[playerid][pFogos] += 30;
  5663.             GivePlayerMoney(playerid, -30);
  5664.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Fogos! Use: /Mochila");
  5665.             FogosFavela[10] -= 30;
  5666.             DinheiroFavela[10] += 30;
  5667.             GuardarFogos();
  5668.             GuardarDinheiro();
  5669.          }
  5670.          if (Player[playerid][pFaccao] == 12) {
  5671.             if (FogosFavela[11] < 0) {
  5672.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5673.                return 1;
  5674.             }
  5675.             if (GetPlayerMoney(playerid) < 10) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5676.             Player[playerid][pFogos] += 30;
  5677.             GivePlayerMoney(playerid, -30);
  5678.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 30 de Fogos! Use: /Mochila");
  5679.             FogosFavela[11] -= 30;
  5680.             DinheiroFavela[11] += 30;
  5681.             GuardarFogos();
  5682.             GuardarDinheiro();
  5683.          }
  5684.       }
  5685.       if (listitem == 3) {
  5686.          if (Player[playerid][pFaccao] == 1) {
  5687.             if (FogosFavela[0] < 0) {
  5688.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5689.                return 1;
  5690.             }
  5691.             if (GetPlayerMoney(playerid) < 40) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5692.             Player[playerid][pFogos] += 40;
  5693.             GivePlayerMoney(playerid, -40);
  5694.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Fogos! Use: /Mochila");
  5695.             FogosFavela[0] -= 40;
  5696.             DinheiroFavela[0] += 40;
  5697.             GuardarFogos();
  5698.             GuardarDinheiro();
  5699.          }
  5700.          if (Player[playerid][pFaccao] == 2) {
  5701.             if (FogosFavela[1] < 0) {
  5702.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5703.                return 1;
  5704.             }
  5705.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  5706.                TAG_ERRO " Você não tem dinheiro suficiente.");
  5707.             Player[playerid][pFogos] += 40;
  5708.             GivePlayerMoney(playerid, -40);
  5709.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Fogos! Use: /Mochila");
  5710.             FogosFavela[1] -= 40;
  5711.             DinheiroFavela[1] += 40;
  5712.             GuardarFogos();
  5713.             GuardarDinheiro();
  5714.          }
  5715.          if (Player[playerid][pFaccao] == 3) {
  5716.             if (FogosFavela[2] < 0) {
  5717.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5718.                return 1;
  5719.             }
  5720.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  5721.                TAG_ERRO " Você não tem dinheiro suficiente.");
  5722.             Player[playerid][pFogos] += 40;
  5723.             GivePlayerMoney(playerid, -40);
  5724.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Fogos! Use: /Mochila");
  5725.             FogosFavela[2] -= 40;
  5726.             DinheiroFavela[2] += 40;
  5727.             GuardarFogos();
  5728.             GuardarDinheiro();
  5729.          }
  5730.          if (Player[playerid][pFaccao] == 4) {
  5731.             if (FogosFavela[3] < 0) {
  5732.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5733.                return 1;
  5734.             }
  5735.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  5736.                TAG_ERRO " Você não tem dinheiro suficiente.");
  5737.             Player[playerid][pFogos] += 40;
  5738.             GivePlayerMoney(playerid, -40);
  5739.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Fogos! Use: /Mochila");
  5740.             FogosFavela[3] -= 40;
  5741.             DinheiroFavela[3] += 40;
  5742.             GuardarFogos();
  5743.             GuardarDinheiro();
  5744.          }
  5745.          if (Player[playerid][pFaccao] == 5) {
  5746.             if (FogosFavela[4] < 0) {
  5747.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5748.                return 1;
  5749.             }
  5750.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  5751.                TAG_ERRO " Você não tem dinheiro suficiente.");
  5752.             Player[playerid][pFogos] += 40;
  5753.             GivePlayerMoney(playerid, -40);
  5754.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Fogos! Use: /Mochila");
  5755.             FogosFavela[4] -= 40;
  5756.             DinheiroFavela[4] += 40;
  5757.             GuardarFogos();
  5758.             GuardarDinheiro();
  5759.          }
  5760.          if (Player[playerid][pFaccao] == 6) {
  5761.             if (FogosFavela[5] < 0) {
  5762.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5763.                return 1;
  5764.             }
  5765.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  5766.                TAG_ERRO " Você não tem dinheiro suficiente.");
  5767.             Player[playerid][pFogos] += 40;
  5768.             GivePlayerMoney(playerid, -40);
  5769.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Fogos! Use: /Mochila");
  5770.             FogosFavela[5] -= 40;
  5771.             DinheiroFavela[5] += 40;
  5772.             GuardarFogos();
  5773.             GuardarDinheiro();
  5774.          }
  5775.          if (Player[playerid][pFaccao] == 7) {
  5776.             if (FogosFavela[6] < 0) {
  5777.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5778.                return 1;
  5779.             }
  5780.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  5781.                TAG_ERRO " Você não tem dinheiro suficiente.");
  5782.             Player[playerid][pFogos] += 40;
  5783.             GivePlayerMoney(playerid, -40);
  5784.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Fogos! Use: /Mochila");
  5785.             FogosFavela[6] -= 40;
  5786.             DinheiroFavela[6] += 40;
  5787.             GuardarFogos();
  5788.             GuardarDinheiro();
  5789.          }
  5790.          if (Player[playerid][pFaccao] == 8) {
  5791.             if (FogosFavela[7] < 0) {
  5792.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5793.                return 1;
  5794.             }
  5795.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  5796.                TAG_ERRO " Você não tem dinheiro suficiente.");
  5797.             Player[playerid][pFogos] += 40;
  5798.             GivePlayerMoney(playerid, -40);
  5799.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Fogos! Use: /Mochila");
  5800.             FogosFavela[7] -= 40;
  5801.             DinheiroFavela[7] += 40;
  5802.             GuardarFogos();
  5803.             GuardarDinheiro();
  5804.          }
  5805.          if (Player[playerid][pFaccao] == 9) {
  5806.             if (FogosFavela[8] < 0) {
  5807.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5808.                return 1;
  5809.             }
  5810.             if (GetPlayerMoney(playerid) >= 40) return SendClientMessage(playerid, COR_ERRO, ""
  5811.                TAG_ERRO " Você não tem dinheiro suficiente.");
  5812.             Player[playerid][pFogos] += 40;
  5813.             GivePlayerMoney(playerid, -40);
  5814.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Fogos! Use: /Mochila");
  5815.             FogosFavela[8] -= 40;
  5816.             DinheiroFavela[8] += 40;
  5817.             GuardarFogos();
  5818.             GuardarDinheiro();
  5819.          }
  5820.          if (Player[playerid][pFaccao] == 10) {
  5821.             if (FogosFavela[9] < 0) {
  5822.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5823.                return 1;
  5824.             }
  5825.             if (GetPlayerMoney(playerid) < 40) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5826.             Player[playerid][pFogos] += 40;
  5827.             GivePlayerMoney(playerid, -40);
  5828.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Fogos! Use: /Mochila");
  5829.             FogosFavela[9] -= 40;
  5830.             DinheiroFavela[9] += 40;
  5831.             GuardarFogos();
  5832.             GuardarDinheiro();
  5833.          }
  5834.          if (Player[playerid][pFaccao] == 11) {
  5835.             if (FogosFavela[10] < 0) {
  5836.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5837.                return 1;
  5838.             }
  5839.             if (GetPlayerMoney(playerid) < 40) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5840.             Player[playerid][pFogos] += 40;
  5841.             GivePlayerMoney(playerid, -40);
  5842.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Fogos! Use: /Mochila");
  5843.             FogosFavela[10] -= 40;
  5844.             DinheiroFavela[10] += 40;
  5845.             GuardarFogos();
  5846.             GuardarDinheiro();
  5847.          }
  5848.          if (Player[playerid][pFaccao] == 12) {
  5849.             if (FogosFavela[11] < 0) {
  5850.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5851.                return 1;
  5852.             }
  5853.             if (GetPlayerMoney(playerid) < 40) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5854.             Player[playerid][pFogos] += 40;
  5855.             GivePlayerMoney(playerid, -40);
  5856.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 40 de Fogos! Use: /Mochila");
  5857.             FogosFavela[11] -= 40;
  5858.             DinheiroFavela[11] += 40;
  5859.             GuardarFogos();
  5860.             GuardarDinheiro();
  5861.          }
  5862.       }
  5863.       if (listitem == 4) {
  5864.          if (Player[playerid][pFaccao] == 1) {
  5865.             if (FogosFavela[0] < 0) {
  5866.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5867.                return 1;
  5868.             }
  5869.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5870.             Player[playerid][pFogos] += 50;
  5871.             GivePlayerMoney(playerid, -50);
  5872.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Fogos! Use: /Mochila");
  5873.             FogosFavela[0] -= 50;
  5874.             DinheiroFavela[0] += 50;
  5875.             GuardarFogos();
  5876.             GuardarDinheiro();
  5877.          }
  5878.          if (Player[playerid][pFaccao] == 2) {
  5879.             if (FogosFavela[1] < 0) {
  5880.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5881.                return 1;
  5882.             }
  5883.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5884.             Player[playerid][pFogos] += 50;
  5885.             GivePlayerMoney(playerid, -50);
  5886.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Fogos! Use: /Mochila");
  5887.             FogosFavela[1] -= 50;
  5888.             DinheiroFavela[1] += 50;
  5889.             GuardarFogos();
  5890.             GuardarDinheiro();
  5891.          }
  5892.          if (Player[playerid][pFaccao] == 3) {
  5893.             if (FogosFavela[2] < 0) {
  5894.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5895.                return 1;
  5896.             }
  5897.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5898.             Player[playerid][pFogos] += 50;
  5899.             GivePlayerMoney(playerid, -50);
  5900.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Fogos! Use: /Mochila");
  5901.             FogosFavela[2] -= 50;
  5902.             DinheiroFavela[2] += 50;
  5903.             GuardarFogos();
  5904.             GuardarDinheiro();
  5905.          }
  5906.          if (Player[playerid][pFaccao] == 4) {
  5907.             if (FogosFavela[3] < 0) {
  5908.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5909.                return 1;
  5910.             }
  5911.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5912.             Player[playerid][pFogos] += 50;
  5913.             GivePlayerMoney(playerid, -50);
  5914.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Fogos! Use: /Mochila");
  5915.             FogosFavela[3] -= 50;
  5916.             DinheiroFavela[3] += 50;
  5917.             GuardarFogos();
  5918.             GuardarDinheiro();
  5919.          }
  5920.          if (Player[playerid][pFaccao] == 5) {
  5921.             if (FogosFavela[4] < 0) {
  5922.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5923.                return 1;
  5924.             }
  5925.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5926.             Player[playerid][pFogos] += 50;
  5927.             GivePlayerMoney(playerid, -50);
  5928.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Fogos! Use: /Mochila");
  5929.             FogosFavela[4] -= 50;
  5930.             DinheiroFavela[4] += 50;
  5931.             GuardarFogos();
  5932.             GuardarDinheiro();
  5933.          }
  5934.          if (Player[playerid][pFaccao] == 6) {
  5935.             if (FogosFavela[5] < 0) {
  5936.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5937.                return 1;
  5938.             }
  5939.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5940.             Player[playerid][pFogos] += 50;
  5941.             GivePlayerMoney(playerid, -50);
  5942.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Fogos! Use: /Mochila");
  5943.             FogosFavela[5] -= 50;
  5944.             DinheiroFavela[5] += 50;
  5945.             GuardarFogos();
  5946.             GuardarDinheiro();
  5947.          }
  5948.          if (Player[playerid][pFaccao] == 7) {
  5949.             if (FogosFavela[6] < 0) {
  5950.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5951.                return 1;
  5952.             }
  5953.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5954.             Player[playerid][pFogos] += 50;
  5955.             GivePlayerMoney(playerid, -50);
  5956.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Fogos! Use: /Mochila");
  5957.             FogosFavela[6] -= 50;
  5958.             DinheiroFavela[6] += 50;
  5959.             GuardarFogos();
  5960.             GuardarDinheiro();
  5961.          }
  5962.          if (Player[playerid][pFaccao] == 8) {
  5963.             if (FogosFavela[7] < 0) {
  5964.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5965.                return 1;
  5966.             }
  5967.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5968.             Player[playerid][pFogos] += 50;
  5969.             GivePlayerMoney(playerid, -50);
  5970.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Fogos! Use: /Mochila");
  5971.             FogosFavela[7] -= 50;
  5972.             DinheiroFavela[7] += 50;
  5973.             GuardarFogos();
  5974.             GuardarDinheiro();
  5975.          }
  5976.          if (Player[playerid][pFaccao] == 9) {
  5977.             if (FogosFavela[8] < 0) {
  5978.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5979.                return 1;
  5980.             }
  5981.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5982.             Player[playerid][pFogos] += 50;
  5983.             GivePlayerMoney(playerid, -50);
  5984.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Fogos! Use: /Mochila");
  5985.             FogosFavela[8] -= 50;
  5986.             DinheiroFavela[8] += 50;
  5987.             GuardarFogos();
  5988.             GuardarDinheiro();
  5989.          }
  5990.          if (Player[playerid][pFaccao] == 10) {
  5991.             if (FogosFavela[9] < 0) {
  5992.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  5993.                return 1;
  5994.             }
  5995.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  5996.             Player[playerid][pFogos] += 50;
  5997.             GivePlayerMoney(playerid, -50);
  5998.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Fogos! Use: /Mochila");
  5999.             FogosFavela[9] -= 50;
  6000.             DinheiroFavela[9] += 50;
  6001.             GuardarFogos();
  6002.             GuardarDinheiro();
  6003.          }
  6004.          if (Player[playerid][pFaccao] == 11) {
  6005.             if (FogosFavela[10] < 0) {
  6006.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6007.                return 1;
  6008.             }
  6009.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6010.             Player[playerid][pFogos] += 50;
  6011.             GivePlayerMoney(playerid, -50);
  6012.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Fogos! Use: /Mochila");
  6013.             FogosFavela[10] -= 50;
  6014.             DinheiroFavela[10] += 50;
  6015.             GuardarFogos();
  6016.             GuardarDinheiro();
  6017.          }
  6018.          if (Player[playerid][pFaccao] == 12) {
  6019.             if (FogosFavela[11] < 0) {
  6020.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6021.                return 1;
  6022.             }
  6023.             if (GetPlayerMoney(playerid) < 50) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6024.             Player[playerid][pFogos] += 50;
  6025.             GivePlayerMoney(playerid, -50);
  6026.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 50 de Fogos! Use: /Mochila");
  6027.             FogosFavela[11] -= 50;
  6028.             DinheiroFavela[11] += 50;
  6029.             GuardarFogos();
  6030.             GuardarDinheiro();
  6031.          }
  6032.       }
  6033.       if (listitem == 5) {
  6034.          if (Player[playerid][pFaccao] == 1) {
  6035.             if (FogosFavela[0] < 0) {
  6036.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6037.                return 1;
  6038.             }
  6039.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6040.             Player[playerid][pFogos] += 60;
  6041.             GivePlayerMoney(playerid, -60);
  6042.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Fogos! Use: /Mochila");
  6043.             FogosFavela[0] -= 60;
  6044.             DinheiroFavela[0] += 60;
  6045.             GuardarFogos();
  6046.             GuardarDinheiro();
  6047.          }
  6048.          if (Player[playerid][pFaccao] == 2) {
  6049.             if (FogosFavela[1] < 0) {
  6050.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6051.                return 1;
  6052.             }
  6053.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6054.             Player[playerid][pFogos] += 60;
  6055.             GivePlayerMoney(playerid, -60);
  6056.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Fogos! Use: /Mochila");
  6057.             FogosFavela[1] -= 60;
  6058.             DinheiroFavela[1] += 60;
  6059.             GuardarFogos();
  6060.             GuardarDinheiro();
  6061.          }
  6062.          if (Player[playerid][pFaccao] == 3) {
  6063.             if (FogosFavela[2] < 0) {
  6064.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6065.                return 1;
  6066.             }
  6067.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6068.             Player[playerid][pFogos] += 60;
  6069.             GivePlayerMoney(playerid, -60);
  6070.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Fogos! Use: /Mochila");
  6071.             FogosFavela[2] -= 60;
  6072.             DinheiroFavela[2] += 60;
  6073.             GuardarFogos();
  6074.             GuardarDinheiro();
  6075.          }
  6076.          if (Player[playerid][pFaccao] == 4) {
  6077.             if (FogosFavela[3] < 0) {
  6078.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6079.                return 1;
  6080.             }
  6081.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6082.             Player[playerid][pFogos] += 60;
  6083.             GivePlayerMoney(playerid, -60);
  6084.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Fogos! Use: /Mochila");
  6085.             FogosFavela[3] -= 60;
  6086.             DinheiroFavela[3] += 60;
  6087.             GuardarFogos();
  6088.             GuardarDinheiro();
  6089.          }
  6090.          if (Player[playerid][pFaccao] == 5) {
  6091.             if (FogosFavela[4] < 0) {
  6092.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6093.                return 1;
  6094.             }
  6095.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6096.             Player[playerid][pFogos] += 60;
  6097.             GivePlayerMoney(playerid, -60);
  6098.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Fogos! Use: /Mochila");
  6099.             FogosFavela[4] -= 60;
  6100.             DinheiroFavela[4] += 60;
  6101.             GuardarFogos();
  6102.             GuardarDinheiro();
  6103.          }
  6104.          if (Player[playerid][pFaccao] == 6) {
  6105.             if (FogosFavela[5] < 0) {
  6106.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6107.                return 1;
  6108.             }
  6109.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6110.             Player[playerid][pFogos] += 60;
  6111.             GivePlayerMoney(playerid, -60);
  6112.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Fogos! Use: /Mochila");
  6113.             FogosFavela[5] -= 60;
  6114.             DinheiroFavela[5] += 60;
  6115.             GuardarFogos();
  6116.             GuardarDinheiro();
  6117.          }
  6118.          if (Player[playerid][pFaccao] == 7) {
  6119.             if (FogosFavela[6] < 0) {
  6120.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6121.                return 1;
  6122.             }
  6123.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6124.             Player[playerid][pFogos] += 60;
  6125.             GivePlayerMoney(playerid, -60);
  6126.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Fogos! Use: /Mochila");
  6127.             FogosFavela[6] -= 60;
  6128.             DinheiroFavela[6] += 60;
  6129.             GuardarFogos();
  6130.             GuardarDinheiro();
  6131.          }
  6132.          if (Player[playerid][pFaccao] == 8) {
  6133.             if (FogosFavela[7] < 0) {
  6134.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6135.                return 1;
  6136.             }
  6137.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6138.             Player[playerid][pFogos] += 60;
  6139.             GivePlayerMoney(playerid, -60);
  6140.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Fogos! Use: /Mochila");
  6141.             FogosFavela[7] -= 60;
  6142.             DinheiroFavela[7] += 60;
  6143.             GuardarFogos();
  6144.             GuardarDinheiro();
  6145.          }
  6146.          if (Player[playerid][pFaccao] == 9) {
  6147.             if (FogosFavela[8] < 0) {
  6148.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6149.                return 1;
  6150.             }
  6151.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6152.             Player[playerid][pFogos] += 60;
  6153.             GivePlayerMoney(playerid, -60);
  6154.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Fogos! Use: /Mochila");
  6155.             FogosFavela[8] -= 60;
  6156.             DinheiroFavela[8] += 60;
  6157.             GuardarFogos();
  6158.             GuardarDinheiro();
  6159.          }
  6160.          if (Player[playerid][pFaccao] == 10) {
  6161.             if (FogosFavela[9] < 0) {
  6162.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6163.                return 1;
  6164.             }
  6165.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6166.             Player[playerid][pFogos] += 60;
  6167.             GivePlayerMoney(playerid, -60);
  6168.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Fogos! Use: /Mochila");
  6169.             FogosFavela[9] -= 60;
  6170.             DinheiroFavela[9] += 60;
  6171.             GuardarFogos();
  6172.             GuardarDinheiro();
  6173.          }
  6174.          if (Player[playerid][pFaccao] == 11) {
  6175.             if (FogosFavela[10] < 0) {
  6176.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6177.                return 1;
  6178.             }
  6179.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6180.             Player[playerid][pFogos] += 60;
  6181.             GivePlayerMoney(playerid, -60);
  6182.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Fogos! Use: /Mochila");
  6183.             FogosFavela[10] -= 60;
  6184.             DinheiroFavela[10] += 60;
  6185.             GuardarFogos();
  6186.             GuardarDinheiro();
  6187.          }
  6188.          if (Player[playerid][pFaccao] == 12) {
  6189.             if (FogosFavela[11] < 0) {
  6190.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6191.                return 1;
  6192.             }
  6193.             if (GetPlayerMoney(playerid) < 60) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6194.             Player[playerid][pFogos] += 60;
  6195.             GivePlayerMoney(playerid, -60);
  6196.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 60 de Fogos! Use: /Mochila");
  6197.             FogosFavela[11] -= 60;
  6198.             DinheiroFavela[11] += 60;
  6199.             GuardarFogos();
  6200.             GuardarDinheiro();
  6201.          }
  6202.       }
  6203.       if (listitem == 6) {
  6204.          if (Player[playerid][pFaccao] == 1) {
  6205.             if (FogosFavela[0] < 0) {
  6206.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6207.                return 1;
  6208.             }
  6209.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6210.             Player[playerid][pFogos] += 70;
  6211.             GivePlayerMoney(playerid, -70);
  6212.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Fogos! Use: /Mochila");
  6213.             FogosFavela[0] -= 70;
  6214.             DinheiroFavela[0] += 70;
  6215.             GuardarFogos();
  6216.             GuardarDinheiro();
  6217.          }
  6218.          if (Player[playerid][pFaccao] == 2) {
  6219.             if (FogosFavela[1] < 0) {
  6220.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6221.                return 1;
  6222.             }
  6223.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6224.             Player[playerid][pFogos] += 70;
  6225.             GivePlayerMoney(playerid, -70);
  6226.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Fogos! Use: /Mochila");
  6227.             FogosFavela[1] -= 70;
  6228.             DinheiroFavela[1] += 70;
  6229.             GuardarFogos();
  6230.             GuardarDinheiro();
  6231.          }
  6232.          if (Player[playerid][pFaccao] == 3) {
  6233.             if (FogosFavela[2] < 0) {
  6234.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6235.                return 1;
  6236.             }
  6237.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6238.             Player[playerid][pFogos] += 70;
  6239.             GivePlayerMoney(playerid, -70);
  6240.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Fogos! Use: /Mochila");
  6241.             FogosFavela[2] -= 70;
  6242.             DinheiroFavela[2] += 70;
  6243.             GuardarFogos();
  6244.             GuardarDinheiro();
  6245.          }
  6246.          if (Player[playerid][pFaccao] == 4) {
  6247.             if (FogosFavela[3] < 0) {
  6248.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6249.                return 1;
  6250.             }
  6251.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6252.             Player[playerid][pFogos] += 70;
  6253.             GivePlayerMoney(playerid, -70);
  6254.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Fogos! Use: /Mochila");
  6255.             FogosFavela[3] -= 70;
  6256.             DinheiroFavela[3] += 70;
  6257.             GuardarFogos();
  6258.             GuardarDinheiro();
  6259.          }
  6260.          if (Player[playerid][pFaccao] == 5) {
  6261.             if (FogosFavela[4] < 0) {
  6262.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6263.                return 1;
  6264.             }
  6265.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6266.             Player[playerid][pFogos] += 70;
  6267.             GivePlayerMoney(playerid, -70);
  6268.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Fogos! Use: /Mochila");
  6269.             FogosFavela[4] -= 70;
  6270.             DinheiroFavela[4] += 70;
  6271.             GuardarFogos();
  6272.             GuardarDinheiro();
  6273.          }
  6274.          if (Player[playerid][pFaccao] == 6) {
  6275.             if (FogosFavela[5] < 0) {
  6276.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6277.                return 1;
  6278.             }
  6279.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6280.             Player[playerid][pFogos] += 70;
  6281.             GivePlayerMoney(playerid, -70);
  6282.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Fogos! Use: /Mochila");
  6283.             FogosFavela[5] -= 70;
  6284.             DinheiroFavela[5] += 70;
  6285.             GuardarFogos();
  6286.             GuardarDinheiro();
  6287.          }
  6288.          if (Player[playerid][pFaccao] == 7) {
  6289.             if (FogosFavela[6] < 0) {
  6290.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6291.                return 1;
  6292.             }
  6293.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6294.             Player[playerid][pFogos] += 70;
  6295.             GivePlayerMoney(playerid, -70);
  6296.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Fogos! Use: /Mochila");
  6297.             FogosFavela[6] -= 70;
  6298.             DinheiroFavela[6] += 70;
  6299.             GuardarFogos();
  6300.             GuardarDinheiro();
  6301.          }
  6302.          if (Player[playerid][pFaccao] == 8) {
  6303.             if (FogosFavela[7] < 0) {
  6304.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6305.                return 1;
  6306.             }
  6307.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6308.             Player[playerid][pFogos] += 70;
  6309.             GivePlayerMoney(playerid, -70);
  6310.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Fogos! Use: /Mochila");
  6311.             FogosFavela[7] -= 70;
  6312.             DinheiroFavela[7] += 70;
  6313.             GuardarFogos();
  6314.             GuardarDinheiro();
  6315.          }
  6316.          if (Player[playerid][pFaccao] == 9) {
  6317.             if (FogosFavela[8] < 0) {
  6318.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6319.                return 1;
  6320.             }
  6321.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6322.             Player[playerid][pFogos] += 70;
  6323.             GivePlayerMoney(playerid, -70);
  6324.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Fogos! Use: /Mochila");
  6325.             FogosFavela[8] -= 70;
  6326.             DinheiroFavela[8] += 70;
  6327.             GuardarFogos();
  6328.             GuardarDinheiro();
  6329.          }
  6330.          if (Player[playerid][pFaccao] == 10) {
  6331.             if (FogosFavela[9] < 0) {
  6332.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6333.                return 1;
  6334.             }
  6335.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6336.             Player[playerid][pFogos] += 70;
  6337.             GivePlayerMoney(playerid, -70);
  6338.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Fogos! Use: /Mochila");
  6339.             FogosFavela[9] -= 70;
  6340.             DinheiroFavela[9] += 70;
  6341.             GuardarFogos();
  6342.             GuardarDinheiro();
  6343.          }
  6344.          if (Player[playerid][pFaccao] == 11) {
  6345.             if (FogosFavela[10] < 0) {
  6346.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6347.                return 1;
  6348.             }
  6349.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6350.             Player[playerid][pFogos] += 70;
  6351.             GivePlayerMoney(playerid, -70);
  6352.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Fogos! Use: /Mochila");
  6353.             FogosFavela[10] -= 70;
  6354.             DinheiroFavela[10] += 70;
  6355.             GuardarFogos();
  6356.             GuardarDinheiro();
  6357.          }
  6358.          if (Player[playerid][pFaccao] == 12) {
  6359.             if (FogosFavela[11] < 0) {
  6360.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6361.                return 1;
  6362.             }
  6363.             if (GetPlayerMoney(playerid) < 70) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6364.             Player[playerid][pFogos] += 70;
  6365.             GivePlayerMoney(playerid, -70);
  6366.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 70 de Fogos! Use: /Mochila");
  6367.             FogosFavela[11] -= 70;
  6368.             DinheiroFavela[11] += 70;
  6369.             GuardarFogos();
  6370.             GuardarDinheiro();
  6371.          }
  6372.       }
  6373.       if (listitem == 7) {
  6374.          if (Player[playerid][pFaccao] == 1) {
  6375.             if (FogosFavela[0] < 0) {
  6376.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6377.                return 1;
  6378.             }
  6379.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6380.             Player[playerid][pFogos] += 80;
  6381.             GivePlayerMoney(playerid, -80);
  6382.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Fogos! Use: /Mochila");
  6383.             FogosFavela[0] -= 80;
  6384.             DinheiroFavela[0] += 80;
  6385.             GuardarFogos();
  6386.             GuardarDinheiro();
  6387.          }
  6388.          if (Player[playerid][pFaccao] == 2) {
  6389.             if (FogosFavela[1] < 0) {
  6390.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6391.                return 1;
  6392.             }
  6393.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6394.             Player[playerid][pFogos] += 80;
  6395.             GivePlayerMoney(playerid, -80);
  6396.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Fogos! Use: /Mochila");
  6397.             FogosFavela[1] -= 80;
  6398.             DinheiroFavela[1] += 80;
  6399.             GuardarFogos();
  6400.             GuardarDinheiro();
  6401.          }
  6402.          if (Player[playerid][pFaccao] == 3) {
  6403.             if (FogosFavela[2] < 0) {
  6404.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6405.                return 1;
  6406.             }
  6407.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6408.             Player[playerid][pFogos] += 80;
  6409.             GivePlayerMoney(playerid, -80);
  6410.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Fogos! Use: /Mochila");
  6411.             FogosFavela[2] -= 80;
  6412.             DinheiroFavela[2] += 80;
  6413.             GuardarFogos();
  6414.             GuardarDinheiro();
  6415.          }
  6416.          if (Player[playerid][pFaccao] == 4) {
  6417.             if (FogosFavela[3] < 0) {
  6418.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6419.                return 1;
  6420.             }
  6421.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6422.             Player[playerid][pFogos] += 80;
  6423.             GivePlayerMoney(playerid, -80);
  6424.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Fogos! Use: /Mochila");
  6425.             FogosFavela[3] -= 80;
  6426.             DinheiroFavela[3] += 80;
  6427.             GuardarFogos();
  6428.             GuardarDinheiro();
  6429.          }
  6430.          if (Player[playerid][pFaccao] == 5) {
  6431.             if (FogosFavela[4] < 0) {
  6432.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6433.                return 1;
  6434.             }
  6435.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6436.             Player[playerid][pFogos] += 80;
  6437.             GivePlayerMoney(playerid, -80);
  6438.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Fogos! Use: /Mochila");
  6439.             FogosFavela[4] -= 80;
  6440.             DinheiroFavela[4] += 80;
  6441.             GuardarFogos();
  6442.             GuardarDinheiro();
  6443.          }
  6444.          if (Player[playerid][pFaccao] == 6) {
  6445.             if (FogosFavela[5] < 0) {
  6446.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6447.                return 1;
  6448.             }
  6449.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6450.             Player[playerid][pFogos] += 80;
  6451.             GivePlayerMoney(playerid, -80);
  6452.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Fogos! Use: /Mochila");
  6453.             FogosFavela[5] -= 80;
  6454.             DinheiroFavela[5] += 80;
  6455.             GuardarFogos();
  6456.             GuardarDinheiro();
  6457.          }
  6458.          if (Player[playerid][pFaccao] == 7) {
  6459.             if (FogosFavela[6] < 0) {
  6460.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6461.                return 1;
  6462.             }
  6463.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6464.             Player[playerid][pFogos] += 80;
  6465.             GivePlayerMoney(playerid, -80);
  6466.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Fogos! Use: /Mochila");
  6467.             FogosFavela[6] -= 80;
  6468.             DinheiroFavela[6] += 80;
  6469.             GuardarFogos();
  6470.             GuardarDinheiro();
  6471.          }
  6472.          if (Player[playerid][pFaccao] == 8) {
  6473.             if (FogosFavela[7] < 0) {
  6474.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6475.                return 1;
  6476.             }
  6477.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6478.             Player[playerid][pFogos] += 80;
  6479.             GivePlayerMoney(playerid, -80);
  6480.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Fogos! Use: /Mochila");
  6481.             FogosFavela[7] -= 80;
  6482.             DinheiroFavela[7] += 80;
  6483.             GuardarFogos();
  6484.             GuardarDinheiro();
  6485.          }
  6486.          if (Player[playerid][pFaccao] == 9) {
  6487.             if (FogosFavela[8] < 0) {
  6488.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6489.                return 1;
  6490.             }
  6491.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6492.             Player[playerid][pFogos] += 80;
  6493.             GivePlayerMoney(playerid, -80);
  6494.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Fogos! Use: /Mochila");
  6495.             FogosFavela[8] -= 80;
  6496.             DinheiroFavela[8] += 80;
  6497.             GuardarFogos();
  6498.             GuardarDinheiro();
  6499.          }
  6500.          if (Player[playerid][pFaccao] == 10) {
  6501.             if (FogosFavela[9] < 0) {
  6502.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6503.                return 1;
  6504.             }
  6505.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6506.             Player[playerid][pFogos] += 80;
  6507.             GivePlayerMoney(playerid, -80);
  6508.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Fogos! Use: /Mochila");
  6509.             FogosFavela[9] -= 80;
  6510.             DinheiroFavela[9] += 80;
  6511.             GuardarFogos();
  6512.             GuardarDinheiro();
  6513.          }
  6514.          if (Player[playerid][pFaccao] == 11) {
  6515.             if (FogosFavela[10] < 0) {
  6516.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6517.                return 1;
  6518.             }
  6519.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6520.             Player[playerid][pFogos] += 80;
  6521.             GivePlayerMoney(playerid, -80);
  6522.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Fogos! Use: /Mochila");
  6523.             FogosFavela[10] -= 80;
  6524.             DinheiroFavela[10] += 80;
  6525.             GuardarFogos();
  6526.             GuardarDinheiro();
  6527.          }
  6528.          if (Player[playerid][pFaccao] == 12) {
  6529.             if (FogosFavela[11] < 0) {
  6530.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6531.                return 1;
  6532.             }
  6533.             if (GetPlayerMoney(playerid) < 80) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6534.             Player[playerid][pFogos] += 80;
  6535.             GivePlayerMoney(playerid, -80);
  6536.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 80 de Fogos! Use: /Mochila");
  6537.             FogosFavela[11] -= 80;
  6538.             DinheiroFavela[11] += 80;
  6539.             GuardarFogos();
  6540.             GuardarDinheiro();
  6541.          }
  6542.       }
  6543.       if (listitem == 8) {
  6544.          if (Player[playerid][pFaccao] == 1) {
  6545.             if (FogosFavela[0] < 0) {
  6546.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6547.                return 1;
  6548.             }
  6549.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6550.             Player[playerid][pFogos] += 90;
  6551.             GivePlayerMoney(playerid, -90);
  6552.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Fogos! Use: /Mochila");
  6553.             FogosFavela[0] -= 90;
  6554.             DinheiroFavela[0] += 90;
  6555.             GuardarFogos();
  6556.             GuardarDinheiro();
  6557.          }
  6558.          if (Player[playerid][pFaccao] == 2) {
  6559.             if (FogosFavela[1] < 0) {
  6560.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6561.                return 1;
  6562.             }
  6563.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6564.             Player[playerid][pFogos] += 90;
  6565.             GivePlayerMoney(playerid, -90);
  6566.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Fogos! Use: /Mochila");
  6567.             FogosFavela[1] -= 90;
  6568.             DinheiroFavela[1] += 90;
  6569.             GuardarFogos();
  6570.             GuardarDinheiro();
  6571.          }
  6572.          if (Player[playerid][pFaccao] == 3) {
  6573.             if (FogosFavela[2] < 0) {
  6574.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6575.                return 1;
  6576.             }
  6577.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6578.             Player[playerid][pFogos] += 90;
  6579.             GivePlayerMoney(playerid, -90);
  6580.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Fogos! Use: /Mochila");
  6581.             FogosFavela[2] -= 90;
  6582.             DinheiroFavela[2] += 90;
  6583.             GuardarFogos();
  6584.             GuardarDinheiro();
  6585.          }
  6586.          if (Player[playerid][pFaccao] == 4) {
  6587.             if (FogosFavela[3] < 0) {
  6588.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6589.                return 1;
  6590.             }
  6591.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6592.             Player[playerid][pFogos] += 90;
  6593.             GivePlayerMoney(playerid, -90);
  6594.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Fogos! Use: /Mochila");
  6595.             FogosFavela[3] -= 90;
  6596.             DinheiroFavela[3] += 90;
  6597.             GuardarFogos();
  6598.             GuardarDinheiro();
  6599.          }
  6600.          if (Player[playerid][pFaccao] == 5) {
  6601.             if (FogosFavela[4] < 0) {
  6602.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6603.                return 1;
  6604.             }
  6605.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6606.             Player[playerid][pFogos] += 90;
  6607.             GivePlayerMoney(playerid, -90);
  6608.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Fogos! Use: /Mochila");
  6609.             FogosFavela[4] -= 90;
  6610.             DinheiroFavela[4] += 90;
  6611.             GuardarFogos();
  6612.             GuardarDinheiro();
  6613.          }
  6614.          if (Player[playerid][pFaccao] == 6) {
  6615.             if (FogosFavela[5] < 0) {
  6616.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6617.                return 1;
  6618.             }
  6619.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6620.             Player[playerid][pFogos] += 90;
  6621.             GivePlayerMoney(playerid, -90);
  6622.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Fogos! Use: /Mochila");
  6623.             FogosFavela[5] -= 90;
  6624.             DinheiroFavela[5] += 90;
  6625.             GuardarFogos();
  6626.             GuardarDinheiro();
  6627.          }
  6628.          if (Player[playerid][pFaccao] == 7) {
  6629.             if (FogosFavela[6] < 0) {
  6630.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6631.                return 1;
  6632.             }
  6633.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6634.             Player[playerid][pFogos] += 90;
  6635.             GivePlayerMoney(playerid, -90);
  6636.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Fogos! Use: /Mochila");
  6637.             FogosFavela[6] -= 90;
  6638.             DinheiroFavela[6] += 90;
  6639.             GuardarFogos();
  6640.             GuardarDinheiro();
  6641.          }
  6642.          if (Player[playerid][pFaccao] == 8) {
  6643.             if (FogosFavela[7] < 0) {
  6644.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6645.                return 1;
  6646.             }
  6647.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6648.             Player[playerid][pFogos] += 90;
  6649.             GivePlayerMoney(playerid, -90);
  6650.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Fogos! Use: /Mochila");
  6651.             FogosFavela[7] -= 90;
  6652.             DinheiroFavela[7] += 90;
  6653.             GuardarFogos();
  6654.             GuardarDinheiro();
  6655.          }
  6656.          if (Player[playerid][pFaccao] == 9) {
  6657.             if (FogosFavela[8] < 0) {
  6658.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6659.                return 1;
  6660.             }
  6661.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6662.             Player[playerid][pFogos] += 90;
  6663.             GivePlayerMoney(playerid, -90);
  6664.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Fogos! Use: /Mochila");
  6665.             FogosFavela[8] -= 90;
  6666.             DinheiroFavela[8] += 90;
  6667.             GuardarFogos();
  6668.             GuardarDinheiro();
  6669.          }
  6670.          if (Player[playerid][pFaccao] == 10) {
  6671.             if (FogosFavela[9] < 0) {
  6672.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6673.                return 1;
  6674.             }
  6675.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6676.             Player[playerid][pFogos] += 90;
  6677.             GivePlayerMoney(playerid, -90);
  6678.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Fogos! Use: /Mochila");
  6679.             FogosFavela[9] -= 90;
  6680.             DinheiroFavela[9] += 90;
  6681.             GuardarFogos();
  6682.             GuardarDinheiro();
  6683.          }
  6684.          if (Player[playerid][pFaccao] == 11) {
  6685.             if (FogosFavela[10] < 0) {
  6686.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6687.                return 1;
  6688.             }
  6689.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6690.             Player[playerid][pFogos] += 90;
  6691.             GivePlayerMoney(playerid, -90);
  6692.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Fogos! Use: /Mochila");
  6693.             FogosFavela[10] -= 90;
  6694.             DinheiroFavela[10] += 90;
  6695.             GuardarFogos();
  6696.             GuardarDinheiro();
  6697.          }
  6698.          if (Player[playerid][pFaccao] == 12) {
  6699.             if (FogosFavela[11] < 0) {
  6700.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6701.                return 1;
  6702.             }
  6703.             if (GetPlayerMoney(playerid) < 90) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6704.             Player[playerid][pFogos] += 90;
  6705.             GivePlayerMoney(playerid, -90);
  6706.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 90 de Fogos! Use: /Mochila");
  6707.             FogosFavela[11] -= 90;
  6708.             DinheiroFavela[11] += 90;
  6709.             GuardarFogos();
  6710.             GuardarDinheiro();
  6711.          }
  6712.       }
  6713.       if (listitem == 9) {
  6714.          if (Player[playerid][pFaccao] == 1) {
  6715.             if (FogosFavela[0] < 0) {
  6716.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6717.                return 1;
  6718.             }
  6719.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6720.             Player[playerid][pFogos] += 100;
  6721.             GivePlayerMoney(playerid, -100);
  6722.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Fogos! Use: /Mochila");
  6723.             FogosFavela[0] -= 100;
  6724.             DinheiroFavela[0] += 100;
  6725.             GuardarFogos();
  6726.             GuardarDinheiro();
  6727.          }
  6728.          if (Player[playerid][pFaccao] == 2) {
  6729.             if (FogosFavela[1] < 0) {
  6730.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6731.                return 1;
  6732.             }
  6733.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6734.             Player[playerid][pFogos] += 100;
  6735.             GivePlayerMoney(playerid, -100);
  6736.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Fogos! Use: /Mochila");
  6737.             FogosFavela[1] -= 100;
  6738.             DinheiroFavela[1] += 100;
  6739.             GuardarFogos();
  6740.             GuardarDinheiro();
  6741.          }
  6742.          if (Player[playerid][pFaccao] == 3) {
  6743.             if (FogosFavela[2] < 0) {
  6744.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6745.                return 1;
  6746.             }
  6747.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6748.             Player[playerid][pFogos] += 100;
  6749.             GivePlayerMoney(playerid, -100);
  6750.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Fogos! Use: /Mochila");
  6751.             FogosFavela[2] -= 100;
  6752.             DinheiroFavela[2] += 100;
  6753.             GuardarFogos();
  6754.             GuardarDinheiro();
  6755.          }
  6756.          if (Player[playerid][pFaccao] == 4) {
  6757.             if (FogosFavela[3] < 0) {
  6758.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6759.                return 1;
  6760.             }
  6761.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6762.             Player[playerid][pFogos] += 100;
  6763.             GivePlayerMoney(playerid, -100);
  6764.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Fogos! Use: /Mochila");
  6765.             FogosFavela[3] -= 100;
  6766.             DinheiroFavela[3] += 100;
  6767.             GuardarFogos();
  6768.             GuardarDinheiro();
  6769.          }
  6770.          if (Player[playerid][pFaccao] == 5) {
  6771.             if (FogosFavela[4] < 0) {
  6772.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6773.                return 1;
  6774.             }
  6775.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6776.             Player[playerid][pFogos] += 100;
  6777.             GivePlayerMoney(playerid, -100);
  6778.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Fogos! Use: /Mochila");
  6779.             FogosFavela[4] -= 100;
  6780.             DinheiroFavela[4] += 100;
  6781.             GuardarFogos();
  6782.             GuardarDinheiro();
  6783.          }
  6784.          if (Player[playerid][pFaccao] == 6) {
  6785.             if (FogosFavela[5] < 0) {
  6786.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6787.                return 1;
  6788.             }
  6789.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6790.             Player[playerid][pFogos] += 100;
  6791.             GivePlayerMoney(playerid, -100);
  6792.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Fogos! Use: /Mochila");
  6793.             FogosFavela[5] -= 100;
  6794.             DinheiroFavela[5] += 100;
  6795.             GuardarFogos();
  6796.             GuardarDinheiro();
  6797.          }
  6798.          if (Player[playerid][pFaccao] == 7) {
  6799.             if (FogosFavela[6] < 0) {
  6800.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6801.                return 1;
  6802.             }
  6803.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6804.             Player[playerid][pFogos] += 100;
  6805.             GivePlayerMoney(playerid, -100);
  6806.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Fogos! Use: /Mochila");
  6807.             FogosFavela[6] -= 100;
  6808.             DinheiroFavela[6] += 100;
  6809.             GuardarFogos();
  6810.             GuardarDinheiro();
  6811.          }
  6812.          if (Player[playerid][pFaccao] == 8) {
  6813.             if (FogosFavela[7] < 0) {
  6814.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6815.                return 1;
  6816.             }
  6817.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6818.             Player[playerid][pFogos] += 100;
  6819.             GivePlayerMoney(playerid, -100);
  6820.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Fogos! Use: /Mochila");
  6821.             FogosFavela[7] -= 100;
  6822.             DinheiroFavela[7] += 100;
  6823.             GuardarFogos();
  6824.             GuardarDinheiro();
  6825.          }
  6826.          if (Player[playerid][pFaccao] == 9) {
  6827.             if (FogosFavela[8] < 0) {
  6828.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6829.                return 1;
  6830.             }
  6831.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6832.             Player[playerid][pFogos] += 100;
  6833.             GivePlayerMoney(playerid, -100);
  6834.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Fogos! Use: /Mochila");
  6835.             FogosFavela[8] -= 100;
  6836.             DinheiroFavela[8] += 100;
  6837.             GuardarFogos();
  6838.             GuardarDinheiro();
  6839.          }
  6840.          if (Player[playerid][pFaccao] == 10) {
  6841.             if (FogosFavela[9] < 0) {
  6842.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6843.                return 1;
  6844.             }
  6845.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6846.             Player[playerid][pFogos] += 100;
  6847.             GivePlayerMoney(playerid, -100);
  6848.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Fogos! Use: /Mochila");
  6849.             FogosFavela[9] -= 100;
  6850.             DinheiroFavela[9] += 100;
  6851.             GuardarFogos();
  6852.             GuardarDinheiro();
  6853.          }
  6854.          if (Player[playerid][pFaccao] == 11) {
  6855.             if (FogosFavela[10] < 0) {
  6856.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6857.                return 1;
  6858.             }
  6859.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6860.             Player[playerid][pFogos] += 100;
  6861.             GivePlayerMoney(playerid, -100);
  6862.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Fogos! Use: /Mochila");
  6863.             FogosFavela[10] -= 100;
  6864.             DinheiroFavela[10] += 100;
  6865.             GuardarFogos();
  6866.             GuardarDinheiro();
  6867.          }
  6868.          if (Player[playerid][pFaccao] == 12) {
  6869.             if (FogosFavela[11] < 0) {
  6870.                SendClientMessage(playerid, COR_ERRO, "Essa favela não tem mais Fogos no armazém");
  6871.                return 1;
  6872.             }
  6873.             if (GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, COR_ERRO, " Você não tem dinheiro suficiente.");
  6874.             Player[playerid][pFogos] += 100;
  6875.             GivePlayerMoney(playerid, -100);
  6876.             SCM(playerid, 0x33AAFFFF, "Você comprou pacote de 100 de Fogos! Use: /Mochila");
  6877.             FogosFavela[11] -= 100;
  6878.             DinheiroFavela[11] += 100;
  6879.             GuardarFogos();
  6880.             GuardarDinheiro();
  6881.          }
  6882.       }
  6883.    }
  6884.    return 1;
  6885. }
  6886. if (dialogid == DIALOG_VENDERFOGOS) {
  6887.    if (response) {
  6888.       if (listitem == 0) {
  6889.          if (Player[playerid][pFogueteiro] == 1) {
  6890.             {
  6891.                ShowPlayerDialog(playerid, DIALOG_FOGOS, DIALOG_STYLE_LIST, "{FFFFFF}Pacotes de Fogos", "Fogos de 10 - R$ 20\nFogos de 20 - R$ 40\nFogos de 30 - R$ 60\nFogos de 40 - R$ 80\nFogos de 50 - R$ 100\nFogos de 60 - R$ 120\nFogos de 70 - R$ 140\nFogos de 80 - R$ 160\nFogos de 90 - R$ 180\nFogos de 100 - R$ 200", "Comprar", "Cancelar");
  6892.             }
  6893.          } else {
  6894.             SCM(playerid, COR_ERRO, ""
  6895.                TAG_ERRO " Você não é Fogueteiro!");
  6896.             return 1;
  6897.          }
  6898.       }
  6899.    }
  6900. }
  6901.  
  6902. if (dialogid == DIALOG_DROGAS) {
  6903.    if (response) {
  6904.       if (listitem == 0) {
  6905.          if (Player[playerid][pVapor] >= 1) {
  6906.             ShowPlayerDialog(playerid, DIALOG_MACONHA, DIALOG_STYLE_LIST, "Compra de Maconha", "10 gramas\n20 gramas\n30 gramas\n40 gramas\n50 gramas\n60 gramas\n70 gramas\n80 gramas\n90 gramas\n99 gramas", "Comprar", "Cancelar");
  6907.          }
  6908.       }
  6909.       if (listitem == 1) {
  6910.          if (Player[playerid][pVapor] >= 1) {
  6911.             ShowPlayerDialog(playerid, DIALOG_COCAINA, DIALOG_STYLE_LIST, "Compra de Pó", "Pó de 10\nPó de 20\nPó de 30\nPó de 40\nPó de 50\nPó de 60\nPó de 70\nPó de 80\nPó de 90\nPó de 100", "Comprar", "Cancelar");
  6912.          }
  6913.       }
  6914.       if (listitem == 2) {
  6915.          if (Player[playerid][pVapor] >= 1) {
  6916.             ShowPlayerDialog(playerid, DIALOG_BALINHA, DIALOG_STYLE_LIST, "Compra de Balinha", "Balinha de 10 - R$ 20\nBalinha de 20 - R$ 40\nBalinha de 30 - R$ 60\nBalinha de 40 - R$ 80\nBalinha de 50 - R$ 100\nBalinha de 60 - R$ 120\nBalinha de 70 - R$ 140\nBalinha de 80 - R$ 160\nBalinha de 90 - R$ 180\nBalinha de 100 - R$ 200", "Comprar", "Cancelar");
  6917.          }
  6918.       }
  6919.       if (listitem == 3) {
  6920.          if (Player[playerid][pVapor] >= 1) {
  6921.             ShowPlayerDialog(playerid, DIALOG_LANCA, DIALOG_STYLE_LIST, "Compra de Lança", "Lança de 10 - R$ 20\nLança de 20 - R$ 40\nLança de 30 - R$ 60\nLança de 40 - R$ 80\nLança de 50 - R$ 100\nLança de 60 - R$ 120\nLança de 70 - R$ 140\nLança de 80 - R$ 160\nLança de 90 - R$ 180\nLança de 100 - R$ 200", "Comprar", "Cancelar");
  6922.          }
  6923.       }
  6924.       if (listitem == 4) {
  6925.          if (Player[playerid][pFogueteiro] >= 1) {
  6926.             ShowPlayerDialog(playerid, DIALOG_FOGOS, DIALOG_STYLE_LIST, "Compra de Fogos", "Fogos de 10 - R$ 20\nFogos de 20 - R$ 40\nFogos de 30 - R$ 60\nFogos de 40 - R$ 80\nFogos de 50 - R$ 100\nFogos de 60 - R$ 120\nFogos de 70 - R$ 140\nFogos de 80 - R$ 160\nFogos de 90 - R$ 180\nFogos de 100 - R$ 200", "Comprar", "Cancelar");
  6927.          }
  6928.       }
  6929.    }
  6930. }
  6931. if (dialogid == DIALOG_ARMA) {
  6932.    if (response) {
  6933.       if (listitem == 0) {
  6934.          if (Player[playerid][pFaccao] == 1) {
  6935.             if (ArmasFavela[0] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  6936.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  6937.                TAG_ERRO " Você já equipou recentemente!");
  6938.             ArmasFavela[0]--;
  6939.             GivePlayerWeapon(playerid, 24, 1000);
  6940.             GivePlayerWeapon(playerid, 30, 1500);
  6941.             GuardarArmas();
  6942.             TempoFuzil[playerid] = 1;
  6943.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  6944.             new string2[280];
  6945.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  6946.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  6947.          }
  6948.          if (Player[playerid][pFaccao] == 2) {
  6949.             if (ArmasFavela[1] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  6950.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  6951.                TAG_ERRO " Você já equipou recentemente!");
  6952.             ArmasFavela[1]--;
  6953.             GivePlayerWeapon(playerid, 24, 1000);
  6954.             GivePlayerWeapon(playerid, 30, 1500);
  6955.             GuardarArmas();
  6956.             TempoFuzil[playerid] = 1;
  6957.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  6958.             new string2[280];
  6959.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  6960.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  6961.          }
  6962.          if (Player[playerid][pFaccao] == 3) {
  6963.             if (ArmasFavela[2] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  6964.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  6965.                TAG_ERRO " Você já equipou recentemente!");
  6966.             ArmasFavela[2]--;
  6967.             GivePlayerWeapon(playerid, 24, 1000);
  6968.             GivePlayerWeapon(playerid, 30, 1500);
  6969.             GuardarArmas();
  6970.             TempoFuzil[playerid] = 1;
  6971.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  6972.             new string2[280];
  6973.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  6974.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  6975.          }
  6976.          if (Player[playerid][pFaccao] == 4) {
  6977.             if (ArmasFavela[3] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  6978.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  6979.                TAG_ERRO " Você já equipou recentemente!");
  6980.             ArmasFavela[3]--;
  6981.             GivePlayerWeapon(playerid, 24, 1000);
  6982.             GivePlayerWeapon(playerid, 30, 1500);
  6983.             GuardarArmas();
  6984.             TempoFuzil[playerid] = 1;
  6985.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  6986.             new string2[280];
  6987.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  6988.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  6989.          }
  6990.          if (Player[playerid][pFaccao] == 5) {
  6991.             if (ArmasFavela[4] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  6992.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  6993.                TAG_ERRO " Você já equipou recentemente!");
  6994.             ArmasFavela[4]--;
  6995.             GivePlayerWeapon(playerid, 24, 1000);
  6996.             GivePlayerWeapon(playerid, 30, 1500);
  6997.             GuardarArmas();
  6998.             TempoFuzil[playerid] = 1;
  6999.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7000.             new string2[280];
  7001.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7002.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7003.          }
  7004.  
  7005.          if (Player[playerid][pFaccao] == 6) {
  7006.             if (ArmasFavela[5] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7007.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7008.                TAG_ERRO " Você já equipou recentemente!");
  7009.             ArmasFavela[5]--;
  7010.             GivePlayerWeapon(playerid, 24, 1000);
  7011.             GivePlayerWeapon(playerid, 30, 1500);
  7012.             GuardarArmas();
  7013.             TempoFuzil[playerid] = 1;
  7014.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7015.             new string2[280];
  7016.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7017.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7018.          }
  7019.          if (Player[playerid][pFaccao] == 7) {
  7020.             if (ArmasFavela[6] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7021.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7022.                TAG_ERRO " Você já equipou recentemente!");
  7023.             ArmasFavela[6]--;
  7024.             GivePlayerWeapon(playerid, 24, 1000);
  7025.             GivePlayerWeapon(playerid, 30, 1500);
  7026.             GuardarArmas();
  7027.             TempoFuzil[playerid] = 1;
  7028.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7029.             new string2[280];
  7030.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7031.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7032.          }
  7033.          if (Player[playerid][pFaccao] == 8) {
  7034.             if (ArmasFavela[7] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7035.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7036.                TAG_ERRO " Você já equipou recentemente!");
  7037.             ArmasFavela[7]--;
  7038.             GivePlayerWeapon(playerid, 24, 1000);
  7039.             GivePlayerWeapon(playerid, 30, 1500);
  7040.             GuardarArmas();
  7041.             TempoFuzil[playerid] = 1;
  7042.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7043.             new string2[280];
  7044.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7045.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7046.          }
  7047.          if (Player[playerid][pFaccao] == 9) {
  7048.             if (ArmasFavela[8] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7049.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7050.                TAG_ERRO " Você já equipou recentemente!");
  7051.             ArmasFavela[8]--;
  7052.             GivePlayerWeapon(playerid, 24, 1000);
  7053.             GivePlayerWeapon(playerid, 30, 1500);
  7054.             GuardarArmas();
  7055.             TempoFuzil[playerid] = 1;
  7056.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7057.             new string2[280];
  7058.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7059.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7060.          }
  7061.          if (Player[playerid][pFaccao] == 10) {
  7062.             if (ArmasFavela[9] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7063.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7064.                TAG_ERRO " Você já equipou recentemente!");
  7065.             ArmasFavela[9]--;
  7066.             GivePlayerWeapon(playerid, 24, 1000);
  7067.             GivePlayerWeapon(playerid, 30, 1500);
  7068.             GuardarArmas();
  7069.             TempoFuzil[playerid] = 1;
  7070.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7071.             new string2[280];
  7072.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7073.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7074.          }
  7075.          if (Player[playerid][pFaccao] == 11) {
  7076.             if (ArmasFavela[10] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7077.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7078.                TAG_ERRO " Você já equipou recentemente!");
  7079.             ArmasFavela[10]--;
  7080.             GivePlayerWeapon(playerid, 24, 1000);
  7081.             GivePlayerWeapon(playerid, 30, 1500);
  7082.             GuardarArmas();
  7083.             TempoFuzil[playerid] = 1;
  7084.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7085.             new string2[280];
  7086.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7087.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7088.          }
  7089.          if (Player[playerid][pFaccao] == 12) {
  7090.             if (ArmasFavela[11] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7091.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7092.                TAG_ERRO " Você já equipou recentemente!");
  7093.             ArmasFavela[11]--;
  7094.             GivePlayerWeapon(playerid, 24, 1000);
  7095.             GivePlayerWeapon(playerid, 30, 1500);
  7096.             GuardarArmas();
  7097.             TempoFuzil[playerid] = 1;
  7098.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7099.             new string2[280];
  7100.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7101.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7102.          }
  7103.       }
  7104.       if (listitem == 1) {
  7105.          if (Player[playerid][pFaccao] == 1) {
  7106.             if (ArmasFavela[0] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7107.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7108.                TAG_ERRO " Você já equipou recentemente!");
  7109.             ArmasFavela[0]--;
  7110.             GivePlayerWeapon(playerid, 24, 1000);
  7111.             GivePlayerWeapon(playerid, 31, 1500);
  7112.             GuardarArmas();
  7113.             TempoFuzil[playerid] = 1;
  7114.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7115.             new string2[280];
  7116.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7117.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7118.          }
  7119.          if (Player[playerid][pFaccao] == 2) {
  7120.             if (ArmasFavela[1] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7121.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7122.                TAG_ERRO " Você já equipou recentemente!");
  7123.             ArmasFavela[1]--;
  7124.             GivePlayerWeapon(playerid, 24, 1000);
  7125.             GivePlayerWeapon(playerid, 31, 1500);
  7126.             GuardarArmas();
  7127.             TempoFuzil[playerid] = 1;
  7128.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7129.             new string2[280];
  7130.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7131.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7132.          }
  7133.          if (Player[playerid][pFaccao] == 3) {
  7134.             if (ArmasFavela[2] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7135.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7136.                TAG_ERRO " Você já equipou recentemente!");
  7137.             ArmasFavela[2]--;
  7138.             GivePlayerWeapon(playerid, 24, 1000);
  7139.             GivePlayerWeapon(playerid, 31, 1500);
  7140.             GuardarArmas();
  7141.             TempoFuzil[playerid] = 1;
  7142.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7143.             new string2[280];
  7144.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7145.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7146.          }
  7147.          if (Player[playerid][pFaccao] == 4) {
  7148.             if (ArmasFavela[3] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7149.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7150.                TAG_ERRO " Você já equipou recentemente!");
  7151.             ArmasFavela[3]--;
  7152.             GivePlayerWeapon(playerid, 24, 1000);
  7153.             GivePlayerWeapon(playerid, 31, 1500);
  7154.             GuardarArmas();
  7155.             TempoFuzil[playerid] = 1;
  7156.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7157.             new string2[280];
  7158.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7159.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7160.          }
  7161.          if (Player[playerid][pFaccao] == 5) {
  7162.             if (ArmasFavela[4] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7163.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7164.                TAG_ERRO " Você já equipou recentemente!");
  7165.             ArmasFavela[4]--;
  7166.             GivePlayerWeapon(playerid, 24, 1000);
  7167.             GivePlayerWeapon(playerid, 31, 1500);
  7168.             GuardarArmas();
  7169.             TempoFuzil[playerid] = 1;
  7170.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7171.             new string2[280];
  7172.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7173.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7174.          }
  7175.          if (Player[playerid][pFaccao] == 6) {
  7176.             if (ArmasFavela[5] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7177.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7178.                TAG_ERRO " Você já equipou recentemente!");
  7179.             ArmasFavela[5]--;
  7180.             GivePlayerWeapon(playerid, 24, 1000);
  7181.             GivePlayerWeapon(playerid, 31, 1500);
  7182.             GuardarArmas();
  7183.             TempoFuzil[playerid] = 1;
  7184.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7185.             new string2[280];
  7186.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7187.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7188.          }
  7189.          if (Player[playerid][pFaccao] == 7) {
  7190.             if (ArmasFavela[6] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7191.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7192.                TAG_ERRO " Você já equipou recentemente!");
  7193.             ArmasFavela[6]--;
  7194.             GivePlayerWeapon(playerid, 24, 1000);
  7195.             GivePlayerWeapon(playerid, 31, 1500);
  7196.             GuardarArmas();
  7197.             TempoFuzil[playerid] = 1;
  7198.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7199.             new string2[280];
  7200.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7201.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7202.          }
  7203.          if (Player[playerid][pFaccao] == 8) {
  7204.             if (ArmasFavela[7] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7205.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7206.                TAG_ERRO " Você já equipou recentemente!");
  7207.             ArmasFavela[7]--;
  7208.             GivePlayerWeapon(playerid, 24, 1000);
  7209.             GivePlayerWeapon(playerid, 31, 1500);
  7210.             GuardarArmas();
  7211.             TempoFuzil[playerid] = 1;
  7212.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7213.             new string2[280];
  7214.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7215.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7216.          }
  7217.          if (Player[playerid][pFaccao] == 9) {
  7218.             if (ArmasFavela[8] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7219.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7220.                TAG_ERRO " Você já equipou recentemente!");
  7221.             ArmasFavela[8]--;
  7222.             GivePlayerWeapon(playerid, 24, 1000);
  7223.             GivePlayerWeapon(playerid, 31, 1500);
  7224.             GuardarArmas();
  7225.             TempoFuzil[playerid] = 1;
  7226.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7227.             new string2[280];
  7228.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7229.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7230.          }
  7231.          if (Player[playerid][pFaccao] == 10) {
  7232.             if (ArmasFavela[9] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7233.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7234.                TAG_ERRO " Você já equipou recentemente!");
  7235.             ArmasFavela[9]--;
  7236.             GivePlayerWeapon(playerid, 24, 1000);
  7237.             GivePlayerWeapon(playerid, 31, 1500);
  7238.             GuardarArmas();
  7239.             TempoFuzil[playerid] = 1;
  7240.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7241.             new string2[280];
  7242.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7243.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7244.          }
  7245.          if (Player[playerid][pFaccao] == 11) {
  7246.             if (ArmasFavela[10] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7247.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7248.                TAG_ERRO " Você já equipou recentemente!");
  7249.             ArmasFavela[10]--;
  7250.             GivePlayerWeapon(playerid, 24, 1000);
  7251.             GivePlayerWeapon(playerid, 31, 1500);
  7252.             GuardarArmas();
  7253.             TempoFuzil[playerid] = 1;
  7254.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7255.             new string2[280];
  7256.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7257.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7258.          }
  7259.          if (Player[playerid][pFaccao] == 12) {
  7260.             if (ArmasFavela[11] < 0) return SendClientMessage(playerid, COR_ERRO, " Essa favela não tem mais armas no armazém.");
  7261.             if (TempoFuzil[playerid] > 0) return SendClientMessage(playerid, COR_ERRO, ""
  7262.                TAG_ERRO " Você já equipou recentemente!");
  7263.             ArmasFavela[11]--;
  7264.             GivePlayerWeapon(playerid, 24, 1000);
  7265.             GivePlayerWeapon(playerid, 31, 1500);
  7266.             GuardarArmas();
  7267.             TempoFuzil[playerid] = 1;
  7268.             SetTimerEx("LiberarFuzil", 200000, 0, "d", playerid);
  7269.             new string2[280];
  7270.             format(string2, sizeof(string2), "{FFFFFF}%s {B452CD}se equipou no armazém.", getPName(playerid));
  7271.             MensagemLocal(playerid, COR_ROXO, string2, 30);
  7272.          }
  7273.       }
  7274.    }
  7275. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement