AninhaahSilva

Mapa e script: Galeria

Jul 26th, 2015
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 47.63 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. #define POS_ENTRADA         -1986.3184,671.3448,46.5683
  4. #define COMPRAR_ROUPA       1702.6163,-2486.3413,911.4698
  5. #define COMPRA_LANCHONETE   1714.3373,-2479.8826,911.4625
  6.  
  7. #define NOME_LOJA           "Galeria Boulevard"
  8.  
  9. forward CarregarActors();
  10.  
  11. //________ MAPA _________//
  12. new Chao[6];
  13. new Teto[6];
  14. new Actors[14];
  15.  
  16. //______TEXTDRAWS______//
  17. new Text: TDRoupas[4];
  18. new PlayerText: PrecoRoupa[MAX_PLAYERS];
  19. new Text: TDCardapio[31];
  20.  
  21. //Pickup
  22. new PickupsLoja[3];
  23. new Text3D: TextsLoja[3];
  24.  
  25. new SkinAtual[MAX_PLAYERS];
  26. new bool: SkinsEscolhidas[307];
  27. new SkinsDisp[20][20]; // skin e preço
  28. new SkinsRandom[][] =
  29. {
  30.     {12, 160},
  31.     {23, 120},
  32.     {29, 145},
  33.     {37, 105},
  34.     {40, 185},
  35.     {55, 150},
  36.     {56, 95},
  37.     {57, 120},
  38.     {85, 160},
  39.     {88, 70},
  40.     {91, 200},
  41.     {93, 150},
  42.     {98, 140},
  43.     {112, 110},
  44.     {113, 170},
  45.     {119, 115},
  46.     {121, 90},
  47.     {126, 115},
  48.     {141, 165},
  49.     {148, 130},
  50.     {150, 140},
  51.     {169, 120},
  52.     {186, 170},
  53.     {187, 165},
  54.     {192, 135},
  55.     {211, 120},
  56.     {214, 160},
  57.     {216, 195},
  58.     {223, 125},
  59.     {224, 70},
  60.     {226, 110},
  61.     {240, 155},
  62.     {247, 180},
  63.     {249, 140},
  64.     {250, 120},
  65.     {263, 110},
  66.     {292, 150},
  67.     {295, 125},
  68.     {299, 160}
  69. };
  70. public OnFilterScriptInit()
  71. {
  72.     print("Carregando FS "NOME_LOJA"..");
  73.     Chao[0] = CreateObject(19379, 1711.18494, -2479.13916, 910.37659,   0.00000, 90.00000, 0.00000);
  74.     Chao[1] = CreateObject(19379, 1721.64282, -2479.13916, 910.37659,   0.00000, 90.00000, 0.00000);
  75.     Chao[2] = CreateObject(19379, 1711.18494, -2488.69824, 910.37659,   0.00000, 90.00000, 0.00000);
  76.     Chao[3] = CreateObject(19379, 1721.64282, -2488.69824, 910.37659,   0.00000, 90.00000, 0.00000);
  77.     Chao[4] = CreateObject(19379, 1700.73535, -2479.13916, 910.37659,   0.00000, 90.00000, 0.00000);
  78.     Chao[5] = CreateObject(19379, 1700.73535, -2488.69824, 910.37659,   0.00000, 90.00000, 0.00000);
  79.     CreateObject(19358, 1695.56775, -2491.88281, 912.20996,   0.00000, 0.00000, 0.00000);
  80.     CreateObject(19358, 1697.22412, -2493.56494, 912.21002,   0.00000, 0.00000, 90.00000);
  81.     CreateObject(19358, 1695.56506, -2485.46460, 912.20996,   0.00000, 0.00000, 0.00000);
  82.     CreateObject(19358, 1695.56006, -2482.26294, 912.21002,   0.00000, 0.00000, 0.00000);
  83.     CreateObject(19358, 1695.56055, -2479.07031, 912.21002,   0.00000, 0.00000, 0.00000);
  84.     CreateObject(19358, 1695.55225, -2475.88574, 912.20996,   0.00000, 0.00000, 0.00000);
  85.     CreateObject(19358, 1703.63562, -2493.56494, 912.21002,   0.00000, 0.00000, 90.00000);
  86.     CreateObject(19358, 1706.83862, -2493.56494, 912.21002,   0.00000, 0.00000, 90.00000);
  87.     CreateObject(19358, 1710.04016, -2493.56494, 912.21002,   0.00000, 0.00000, 90.00000);
  88.     CreateObject(19358, 1713.24963, -2493.56494, 912.21002,   0.00000, 0.00000, 90.00000);
  89.     CreateObject(19358, 1716.45349, -2493.56494, 912.21002,   0.00000, 0.00000, 90.00000);
  90.     CreateObject(19358, 1719.64465, -2493.56494, 912.21002,   0.00000, 0.00000, 90.00000);
  91.     CreateObject(19358, 1722.84766, -2493.56494, 912.21002,   0.00000, 0.00000, 90.00000);
  92.     CreateObject(19358, 1724.41406, -2491.86987, 912.20587,   0.00000, 0.00000, 0.00000);
  93.     CreateObject(19358, 1724.41138, -2488.65942, 912.20587,   0.00000, 0.00000, 0.00000);
  94.     CreateObject(19358, 1724.41284, -2485.45483, 912.20587,   0.00000, 0.00000, 0.00000);
  95.     CreateObject(19358, 1722.70837, -2483.90552, 912.21002,   0.00000, 0.00000, 90.00000);
  96.     CreateObject(19358, 1719.51233, -2483.90845, 912.21002,   0.00000, 0.00000, 90.00000);
  97.     CreateObject(19358, 1716.30750, -2483.91357, 912.21002,   0.00000, 0.00000, 90.00000);
  98.     CreateObject(19358, 1714.80273, -2485.59521, 912.21002,   0.00000, 0.00000, 0.00000);
  99.     CreateObject(19358, 1714.80029, -2488.79053, 912.21002,   0.00000, 0.00000, 0.00000);
  100.     CreateObject(19388, 1714.80090, -2492.00000, 912.21002,   0.00000, 0.00000, 0.00000);
  101.     CreateObject(19358, 1724.38684, -2482.20874, 912.20587,   0.00000, 0.00000, 0.00000);
  102.     CreateObject(19358, 1724.38550, -2479.00415, 912.21002,   0.00000, 0.00000, 0.00000);
  103.     CreateObject(19358, 1724.38770, -2475.81567, 912.20587,   0.00000, 0.00000, 0.00000);
  104.     CreateObject(19358, 1722.70850, -2474.28003, 912.21002,   0.00000, 0.00000, 90.00000);
  105.     CreateObject(19358, 1719.50769, -2474.28931, 912.21002,   0.00000, 0.00000, 90.00000);
  106.     CreateObject(19358, 1716.30737, -2474.28833, 912.21002,   0.00000, 0.00000, 90.00000);
  107.     CreateObject(19358, 1713.12659, -2474.28711, 912.21002,   0.00000, 0.00000, 90.00000);
  108.     CreateObject(19358, 1709.92578, -2474.28564, 912.21002,   0.00000, 0.00000, 90.00000);
  109.     CreateObject(19358, 1706.74731, -2474.29443, 912.21002,   0.00000, 0.00000, 90.00000);
  110.     CreateObject(19358, 1703.54565, -2474.28711, 912.20593,   0.00000, 0.00000, 90.00000);
  111.     CreateObject(19358, 1700.36450, -2474.28955, 912.20593,   0.00000, 0.00000, 90.00000);
  112.     CreateObject(19358, 1697.18115, -2474.29175, 912.20593,   0.00000, 0.00000, 90.00000);
  113.     CreateObject(2457, 1715.16235, -2481.45996, 910.35791,   0.00000, 0.00000, -90.00000);
  114.     CreateObject(2455, 1715.16235, -2483.37451, 910.35791,   0.00000, 0.00000, -90.00000);
  115.     CreateObject(2455, 1715.16235, -2480.55591, 910.35791,   0.00000, 0.00000, -90.00000);
  116.     CreateObject(2457, 1715.16248, -2478.64307, 910.35791,   0.00000, 0.00000, -90.00000);
  117.     CreateObject(2454, 1715.31140, -2476.65674, 910.34351,   0.00000, 0.00000, -180.00000);
  118.     CreateObject(2183, 1716.42297, -2486.98193, 910.44873,   0.00000, 0.00000, 0.00000);
  119.     CreateObject(2183, 1720.23792, -2492.19556, 910.44873,   0.00000, 0.00000, 0.00000);
  120.     CreateObject(1491, 1714.81226, -2492.73730, 910.43640,   0.00000, 0.00000, 90.00000);
  121.     CreateObject(1806, 1720.63098, -2492.87915, 910.44092,   0.00000, 0.00000, 0.00000);
  122.     CreateObject(1806, 1722.78540, -2492.87915, 910.44092,   0.00000, 0.00000, 0.00000);
  123.     CreateObject(1806, 1717.10120, -2487.97656, 910.44092,   0.00000, 0.00000, 0.00000);
  124.     CreateObject(1806, 1718.72302, -2487.97656, 910.44092,   0.00000, 0.00000, 0.00000);
  125.     CreateObject(1806, 1717.01294, -2484.72876, 910.44092,   0.00000, 0.00000, 180.00000);
  126.     CreateObject(1806, 1720.50452, -2489.75659, 910.44092,   0.00000, 0.00000, 180.00000);
  127.     CreateObject(2455, 1715.16150, -2477.72681, 910.35791,   0.00000, 0.00000, -90.00000);
  128.     CreateObject(1514, 1715.32336, -2476.77466, 911.62439,   0.00000, 0.00000, 208.69882);
  129.     CreateObject(1806, 1718.71997, -2484.65649, 910.44092,   0.00000, 0.00000, 180.00000);
  130.     CreateObject(1806, 1722.72571, -2489.75659, 910.44092,   0.00000, 0.00000, 180.00000);
  131.     CreateObject(14455, 1723.79456, -2489.03442, 912.02869,   0.00000, 0.00000, 90.00000);
  132.     CreateObject(1742, 1717.76904, -2493.53149, 910.44916,   0.00000, 0.00000, 180.00000);
  133.     CreateObject(1742, 1716.11450, -2493.51416, 910.44916,   0.00000, 0.00000, 180.00000);
  134.     CreateObject(11743, 1715.11121, -2483.37329, 911.37378,   0.00000, 0.00000, -90.00000);
  135.     CreateObject(2500, 1715.30225, -2480.73022, 911.36426,   0.00000, 0.00000, -90.00000);
  136.     CreateObject(2685, 1716.18726, -2483.82422, 912.48846,   0.00000, 0.00000, 0.00000);
  137.     CreateObject(1775, 1717.06287, -2483.20630, 911.56451,   0.00000, 0.00000, 228.13234);
  138.     CreateObject(19358, 1717.73389, -2482.24658, 912.20587,   0.00000, 0.00000, 0.00000);
  139.     CreateObject(2454, 1717.31519, -2476.78589, 910.35791,   0.00000, 0.00000, 90.00000);
  140.     CreateObject(2455, 1716.22693, -2476.64038, 910.35791,   0.00000, 0.00000, 180.00000);
  141.     CreateObject(19358, 1717.73389, -2482.04956, 912.21002,   0.00000, 0.00000, 0.00000);
  142.     CreateObject(19358, 1717.73389, -2478.86401, 912.21002,   0.00000, 0.00000, 0.00000);
  143.     CreateObject(1594, 1722.74475, -2482.31396, 910.93500,   0.00000, 0.00000, 0.00000);
  144.     CreateObject(1594, 1719.32910, -2482.22046, 910.93500,   0.00000, 0.00000, 0.00000);
  145.     CreateObject(1594, 1721.42175, -2479.39453, 910.93500,   0.00000, 0.00000, 0.00000);
  146.     CreateObject(1594, 1722.62976, -2476.12671, 910.93500,   0.00000, 0.00000, 0.00000);
  147.     CreateObject(19825, 1717.58081, -2480.21362, 913.09894,   0.00000, 0.00000, -90.00000);
  148.     CreateObject(1505, 1699.64771, -2493.54639, 910.46472,   0.00000, 0.00000, 0.00000);
  149.     CreateObject(19388, 1700.42993, -2493.56494, 912.21002,   0.00000, 0.00000, 90.00000);
  150.     CreateObject(19358, 1700.43103, -2480.44482, 912.21002,   0.00000, 0.00000, 90.00000);
  151.     CreateObject(19388, 1703.56946, -2480.45776, 912.21002,   0.00000, 0.00000, 90.00000);
  152.     CreateObject(19358, 1700.14233, -2478.75391, 912.20996,   0.00000, 0.00000, 0.00000);
  153.     CreateObject(19358, 1700.14270, -2475.61401, 912.20996,   0.00000, 0.00000, 0.00000);
  154.     CreateObject(19358, 1705.08655, -2478.79077, 912.20996,   0.00000, 0.00000, 0.00000);
  155.     CreateObject(19358, 1705.08655, -2475.59326, 912.21002,   0.00000, 0.00000, 0.00000);
  156.     CreateObject(1826, 1699.96240, -2481.01294, 910.45673,   0.00000, 0.00000, 0.00000);
  157.     CreateObject(14705, 1699.85632, -2480.84839, 911.53156,   0.00000, 0.00000, 0.00000);
  158.     CreateObject(14705, 1701.19922, -2480.86304, 911.53156,   0.00000, 0.00000, 0.00000);
  159.     CreateObject(325, 1699.79993, -2480.88477, 911.74298,   0.00000, 0.00000, 0.00000);
  160.     CreateObject(325, 1701.15247, -2480.93286, 911.74298,   0.00000, 0.00000, 0.00000);
  161.     CreateObject(19358, 1697.21094, -2484.10498, 912.21002,   0.00000, 0.00000, 90.00000);
  162.     CreateObject(19358, 1700.40955, -2484.09912, 912.21002,   0.00000, 0.00000, 90.00000);
  163.     CreateObject(19358, 1703.60681, -2484.08813, 912.21002,   0.00000, 0.00000, 90.00000);
  164.     CreateObject(19358, 1706.77979, -2484.07837, 912.21002,   0.00000, 0.00000, 90.00000);
  165.     CreateObject(19358, 1695.56848, -2488.67407, 912.20996,   0.00000, 0.00000, 0.00000);
  166.     CreateObject(2002, 1696.21826, -2492.86182, 910.42810,   0.00000, 0.00000, 90.00000);
  167.     CreateObject(19174, 1701.95752, -2484.18799, 912.78839,   0.00000, 0.00000, 0.00000);
  168.     CreateObject(19172, 1709.41296, -2493.47681, 912.62988,   0.00000, 0.00000, 180.00000);
  169.     CreateObject(1703, 1707.66235, -2485.94263, 910.42719,   0.00000, 0.00000, -90.00000);
  170.     CreateObject(2528, 1696.32813, -2474.88086, 910.48224,   0.00000, 0.00000, 0.00000);
  171.     CreateObject(1516, 1699.17871, -2479.63647, 910.56506,   0.00000, 0.00000, 0.00000);
  172.     CreateObject(19873, 1699.07092, -2479.67236, 911.15247,   0.00000, 0.00000, 0.00000);
  173.     CreateObject(19873, 1699.52954, -2480.00415, 911.15247,   0.00000, 0.00000, 0.00000);
  174.     CreateObject(19873, 1698.76599, -2480.04565, 911.15247,   0.00000, 0.00000, 0.00000);
  175.     CreateObject(19388, 1697.26721, -2480.44043, 912.21002,   0.00000, 0.00000, 90.00000);
  176.     CreateObject(19873, 1699.61230, -2479.52002, 911.15247,   0.00000, 0.00000, 0.00000);
  177.     CreateObject(19873, 1699.22217, -2479.23779, 911.15247,   0.00000, 0.00000, 0.00000);
  178.     CreateObject(2523, 1698.57056, -2474.85205, 910.45679,   0.00000, 0.00000, 0.00000);
  179.     CreateObject(2835, 1702.03381, -2477.51538, 910.47211,   0.00000, 0.00000, 0.00000);
  180.     CreateObject(2842, 1696.73157, -2481.53223, 910.44769,   0.00000, 0.00000, 0.00000);
  181.     CreateObject(2817, 1703.09570, -2481.54321, 910.45673,   0.00000, 0.00000, 0.00000);
  182.     CreateObject(2685, 1697.84546, -2474.44189, 912.09326,   0.00000, 0.00000, 0.00000);
  183.     CreateObject(2685, 1702.70679, -2474.43091, 912.59680,   0.00000, 0.00000, 0.00000);
  184.     CreateObject(2602, 1701.51013, -2474.73584, 910.99915,   0.00000, 0.00000, 0.00000);
  185.     CreateObject(2523, 1702.98999, -2474.82568, 910.45410,   0.00000, 0.00000, 0.00000);
  186.     CreateObject(1516, 1701.47815, -2479.74292, 910.65894,   0.00000, 0.00000, 0.00000);
  187.     CreateObject(19873, 1701.41333, -2479.71362, 911.24591,   0.00000, 0.00000, 0.00000);
  188.     CreateObject(19873, 1701.82202, -2480.04419, 911.24591,   0.00000, 0.00000, 0.00000);
  189.     CreateObject(19873, 1701.82739, -2479.44312, 911.24591,   0.00000, 0.00000, 0.00000);
  190.     CreateObject(19873, 1701.08252, -2480.10229, 911.24591,   0.00000, 0.00000, 0.00000);
  191.     CreateObject(19873, 1701.14697, -2479.45972, 911.24591,   0.00000, 0.00000, 0.00000);
  192.     CreateObject(2700, 1708.25647, -2474.65283, 912.65582,   0.00000, 0.00000, -90.00000);
  193.     CreateObject(1828, 1711.39404, -2487.05444, 910.45679,   0.00000, 0.00000, 90.00000);
  194.     CreateObject(2836, 1714.68726, -2492.53491, 910.46252,   0.00000, 0.00000, 90.00000);
  195.     CreateObject(2835, 1697.05896, -2477.98853, 910.47211,   0.00000, 0.00000, 0.00000);
  196.     CreateObject(1704, 1705.88708, -2480.03320, 910.47418,   0.00000, 0.00000, 90.00000);
  197.     CreateObject(1704, 1705.88708, -2477.86035, 910.47418,   0.00000, 0.00000, 90.00000);
  198.     CreateObject(1704, 1705.88708, -2475.84937, 910.47418,   0.00000, 0.00000, 90.00000);
  199.     CreateObject(1951, 1715.37195, -2477.42725, 911.58789,   0.00000, 0.00000, 180.00000);
  200.     CreateObject(1511, 1717.54553, -2481.09229, 912.40540,   0.00000, 0.00000, -90.00000);
  201.     CreateObject(1455, 1715.28882, -2477.95410, 911.47418,   0.00000, 0.00000, 180.00000);
  202.     CreateObject(1582, 1716.24341, -2476.67407, 911.38251,   0.00000, 0.00000, 0.00000);
  203.     CreateObject(1951, 1715.37195, -2477.63330, 911.58789,   0.00000, 0.00000, 180.00000);
  204.     CreateObject(1546, 1715.28882, -2477.82886, 911.47607,   0.00000, 0.00000, 0.00000);
  205.     CreateObject(1302, 1717.32910, -2478.30591, 910.48126,   0.00000, 0.00000, -90.00000);
  206.     CreateObject(2429, 1717.83777, -2479.43188, 911.36835,   0.00000, 0.00000, -90.00000);
  207.     CreateObject(19358, 1696.99133, -2490.46387, 912.20587,   0.00000, 0.00000, 90.00000);
  208.     CreateObject(19358, 1700.18811, -2490.46387, 912.21002,   0.00000, 0.00000, 90.00000);
  209.     CreateObject(19358, 1708.29980, -2485.73608, 912.21002,   0.00000, 0.00000, 0.00000);
  210.     CreateObject(1828, 1698.91541, -2491.95581, 910.45679,   0.00000, 0.00000, 0.00000);
  211.     CreateObject(19388, 1706.60547, -2490.46387, 912.21002,   0.00000, 0.00000, 90.00000);
  212.     CreateObject(19358, 1703.39563, -2490.46387, 912.21002,   0.00000, 0.00000, 90.00000);
  213.     CreateObject(1502, 1696.48584, -2480.50757, 910.48065,   0.00000, 0.00000, 0.00000);
  214.     CreateObject(19360, 1703.23438, -2475.95923, 910.38324,   0.00000, 90.00000, 0.00000);
  215.     CreateObject(19360, 1703.31409, -2478.94067, 910.38324,   0.00000, 90.00000, 0.00000);
  216.     CreateObject(19360, 1699.81458, -2478.92700, 910.38324,   0.00000, 90.00000, 0.00000);
  217.     CreateObject(19360, 1699.76428, -2475.94702, 910.38324,   0.00000, 90.00000, 0.00000);
  218.     CreateObject(19360, 1696.27539, -2475.92236, 910.38324,   0.00000, 90.00000, 0.00000);
  219.     CreateObject(19360, 1696.33386, -2478.91333, 910.38324,   0.00000, 90.00000, 0.00000);
  220.     CreateObject(1491, 1705.81750, -2490.48828, 910.44208,   0.00000, 0.00000, 0.00000);
  221.     CreateObject(1502, 1702.79309, -2480.48438, 910.48065,   0.00000, 0.00000, 0.00000);
  222.     CreateObject(2374, 1700.05420, -2484.43750, 912.57861,   0.00000, 0.00000, 0.00000);
  223.     CreateObject(2377, 1699.12939, -2484.43750, 912.57861,   0.00000, 0.00000, 0.00000);
  224.     CreateObject(2378, 1698.27429, -2484.43750, 912.57861,   0.00000, 0.00000, 0.00000);
  225.     CreateObject(2389, 1697.29114, -2484.43750, 912.57861,   0.00000, 0.00000, 0.00000);
  226.     CreateObject(2383, 1695.90295, -2486.61914, 912.57861,   0.00000, 0.00000, 0.00000);
  227.     CreateObject(2401, 1696.34338, -2484.43750, 912.57861,   0.00000, 0.00000, 0.00000);
  228.     CreateObject(2390, 1695.82385, -2485.55835, 912.57861,   0.00000, 0.00000, 90.00000);
  229.     CreateObject(2399, 1695.83081, -2487.58984, 912.57861,   0.00000, 0.00000, 90.00000);
  230.     CreateObject(2382, 1696.16309, -2488.45825, 912.57861,   0.00000, 0.00000, 90.00000);
  231.     CreateObject(2394, 1696.52051, -2489.48242, 912.57861,   0.00000, 0.00000, 0.00000);
  232.     CreateObject(1516, 1697.63086, -2487.95313, 910.62524,   0.00000, 0.00000, 0.00000);
  233.     CreateObject(1516, 1697.63086, -2486.71021, 910.62518,   0.00000, 0.00000, 0.00000);
  234.     CreateObject(2411, 1697.51038, -2488.30591, 911.49048,   0.00000, 0.00000, 90.00000);
  235.     CreateObject(2407, 1697.93018, -2486.53662, 911.52283,   0.00000, 0.00000, 90.00000);
  236.     CreateObject(2411, 1697.95764, -2487.76025, 911.49048,   0.00000, 0.00000, 90.00000);
  237.     CreateObject(2407, 1697.57922, -2486.99731, 911.52283,   0.00000, 0.00000, 90.00000);
  238.     CreateObject(2387, 1703.78699, -2488.19336, 910.47089,   0.00000, 0.00000, 0.00000);
  239.     CreateObject(2387, 1701.49475, -2486.41455, 910.47089,   0.00000, 0.00000, 0.00000);
  240.     CreateObject(2385, 1704.39197, -2484.14478, 911.70355,   0.00000, 0.00000, 0.00000);
  241.     CreateObject(2052, 1704.24963, -2484.39258, 912.18671,   0.00000, 0.00000, 0.00000);
  242.     CreateObject(2052, 1705.73352, -2484.39917, 912.18671,   0.00000, 0.00000, 0.00000);
  243.     CreateObject(2052, 1704.95435, -2484.36206, 912.62714,   0.00000, 0.00000, 0.00000);
  244.     CreateObject(2053, 1704.20618, -2484.42529, 912.67236,   0.00000, 0.00000, 0.00000);
  245.     CreateObject(2053, 1705.75549, -2484.33740, 912.67816,   0.00000, 0.00000, 0.00000);
  246.     CreateObject(2053, 1704.99170, -2484.36133, 911.79718,   0.00000, 0.00000, 0.00000);
  247.     CreateObject(2054, 1704.24536, -2484.50171, 911.77448,   0.00000, 0.00000, 90.00000);
  248.     CreateObject(2054, 1705.68323, -2484.56592, 911.83496,   0.00000, 0.00000, 90.00000);
  249.     CreateObject(2054, 1704.98096, -2484.47803, 912.20813,   0.00000, 0.00000, 90.00000);
  250.     CreateObject(19362, 1697.35095, -2488.83325, 910.38385,   0.00000, 90.00000, 0.00000);
  251.     CreateObject(19362, 1697.34949, -2485.69116, 910.38385,   0.00000, 90.00000, 0.00000);
  252.     CreateObject(19362, 1700.83191, -2485.74731, 910.38385,   0.00000, 90.00000, 0.00000);
  253.     CreateObject(19362, 1700.85205, -2488.91699, 910.38385,   0.00000, 90.00000, 0.00000);
  254.     CreateObject(19362, 1704.30664, -2485.75879, 910.38385,   0.00000, 90.00000, 0.00000);
  255.     CreateObject(19362, 1704.32031, -2488.90283, 910.38385,   0.00000, 90.00000, 0.00000);
  256.     CreateObject(19362, 1706.55334, -2485.74341, 910.38385,   0.00000, 90.00000, 0.00000);
  257.     CreateObject(19362, 1706.59827, -2488.90796, 910.38385,   0.00000, 90.00000, 0.00000);
  258.     CreateObject(19373, 1717.12219, -2482.23364, 910.40094,   0.00000, 90.00000, 0.00000);
  259.     CreateObject(19373, 1717.15283, -2479.02881, 910.40088,   0.00000, 90.00000, 0.00000);
  260.     CreateObject(19373, 1720.58313, -2482.23364, 910.40088,   0.00000, 90.00000, 0.00000);
  261.     CreateObject(19373, 1720.62292, -2479.02881, 910.40088,   0.00000, 90.00000, 0.00000);
  262.     CreateObject(19373, 1724.06409, -2482.23364, 910.40088,   0.00000, 90.00000, 0.00000);
  263.     CreateObject(19373, 1724.12329, -2479.02881, 910.40088,   0.00000, 90.00000, 0.00000);
  264.     CreateObject(19373, 1722.81860, -2475.84399, 910.40094,   0.00000, 90.00000, 0.00000);
  265.     CreateObject(19373, 1719.31885, -2475.86450, 910.40094,   0.00000, 90.00000, 0.00000);
  266.     CreateObject(1594, 1719.91016, -2477.09961, 910.93500,   0.00000, 0.00000, 0.00000);
  267.     CreateObject(19373, 1717.14209, -2477.94849, 910.40094,   0.00000, 90.00000, 0.00000);
  268.     CreateObject(19373, 1717.08362, -2478.23486, 910.40094,   0.00000, 90.00000, 0.00000);
  269.     CreateObject(19362, 1716.62988, -2491.91528, 910.38385,   0.00000, 90.00000, 0.00000);
  270.     CreateObject(19362, 1716.66492, -2488.70605, 910.38385,   0.00000, 90.00000, 0.00000);
  271.     CreateObject(19362, 1716.62036, -2485.51563, 910.38385,   0.00000, 90.00000, 0.00000);
  272.     CreateObject(19362, 1720.12073, -2485.58130, 910.38385,   0.00000, 90.00000, 0.00000);
  273.     CreateObject(19362, 1720.14001, -2488.74927, 910.38385,   0.00000, 90.00000, 0.00000);
  274.     CreateObject(19362, 1720.07458, -2491.93555, 910.38385,   0.00000, 90.00000, 0.00000);
  275.     CreateObject(19362, 1723.59680, -2492.01489, 910.38385,   0.00000, 90.00000, 0.00000);
  276.     CreateObject(19362, 1723.63892, -2488.83105, 910.38385,   0.00000, 90.00000, 0.00000);
  277.     CreateObject(19362, 1723.58044, -2485.64160, 910.38385,   0.00000, 90.00000, 0.00000);
  278.     CreateObject(2785, 1711.43811, -2474.88623, 911.31775,   0.00000, 0.00000, 0.00000);
  279.     CreateObject(2785, 1714.23975, -2487.09033, 911.31769,   0.00000, 0.00000, -90.00000);
  280.     CreateObject(1978, 1711.03601, -2480.80371, 911.48218,   0.00000, 0.00000, 0.00000);
  281.     CreateObject(1979, 1710.83423, -2479.45850, 911.50940,   0.00000, 0.00000, 0.00000);
  282.     CreateObject(19358, 1708.29980, -2488.94800, 912.21002,   0.00000, 0.00000, 0.00000);
  283.  
  284.     Teto[0] = CreateObject(19376, 1711.22498, -2488.73730, 914.04871,   0.00000, 90.00000, 0.00000);
  285.     Teto[1] = CreateObject(19376, 1700.83960, -2488.73730, 914.04871,   0.00000, 90.00000, 0.00000);
  286.     Teto[2] = CreateObject(19376, 1700.83960, -2479.10278, 914.04871,   0.00000, 90.00000, 0.00000);
  287.     Teto[3] = CreateObject(19376, 1711.22498, -2479.10278, 914.04871,   0.00000, 90.00000, 0.00000);
  288.     Teto[4] = CreateObject(19376, 1721.67407, -2479.10278, 914.04871,   0.00000, 90.00000, 0.00000);
  289.     Teto[5] = CreateObject(19376, 1721.67407, -2488.73730, 914.04871,   0.00000, 90.00000, 0.00000);
  290.  
  291.     PickupsLoja[0] = CreatePickup(1318, 1, POS_ENTRADA);
  292.     TextsLoja[0] = Create3DTextLabel(NOME_LOJA, -1, POS_ENTRADA, 10.0, 0, 0);
  293.    
  294.     PickupsLoja[1] = CreatePickup(1239, 1, COMPRAR_ROUPA);
  295.     TextsLoja[1] = Create3DTextLabel("Veja as roupas que temos hoje!\nAperte F para ver as roupas.", -1, COMPRAR_ROUPA, 6.0, 0, 0);
  296.    
  297.     PickupsLoja[2] = CreatePickup(1239, 1, COMPRA_LANCHONETE);
  298.     TextsLoja[2] = Create3DTextLabel("Compre algo para comer!\nAperte F para ver o cardápio.", -1, COMPRA_LANCHONETE, 6.0, 0, 0);
  299.    
  300.     for(new obj; obj < 6; obj++)
  301.     {
  302.         //SetObjectMaterial(Chao[obj], 0, 14702, "masmall3int2", "HS2_wall6");
  303.         //SetObjectMaterial(Chao[obj], 0, 15048, "labigsave", "AH_flroortile1");
  304.         SetObjectMaterial(Chao[obj], 0, 4014, "civic01_lan", "sl_flagstone1");
  305.         SetObjectMaterial(Teto[obj], 0, 14891, "gf6", "mp_vicgrill");
  306.     }
  307.     SetTimer("CarregarActors", 10000, false);
  308.    
  309.     TDRoupas[0] = TextDrawCreate(398.000000, 369.000000, "ld_beat:right");
  310.     TextDrawBackgroundColor(TDRoupas[0], 255);
  311.     TextDrawFont(TDRoupas[0], 4);
  312.     TextDrawLetterSize(TDRoupas[0], 0.500000, 1.000000);
  313.     TextDrawColor(TDRoupas[0], -16777072);
  314.     TextDrawSetOutline(TDRoupas[0], 0);
  315.     TextDrawSetProportional(TDRoupas[0], 1);
  316.     TextDrawSetShadow(TDRoupas[0], 1);
  317.     TextDrawUseBox(TDRoupas[0], 1);
  318.     TextDrawBoxColor(TDRoupas[0], 255);
  319.     TextDrawTextSize(TDRoupas[0], 30.000000, 30.000000);
  320.     TextDrawSetSelectable(TDRoupas[0], 1);
  321.  
  322.     TDRoupas[1] = TextDrawCreate(222.000000, 369.000000, "ld_beat:left");
  323.     TextDrawBackgroundColor(TDRoupas[1], 0);
  324.     TextDrawFont(TDRoupas[1], 4);
  325.     TextDrawLetterSize(TDRoupas[1], 0.500000, 1.000000);
  326.     TextDrawColor(TDRoupas[1], -16777072);
  327.     TextDrawSetOutline(TDRoupas[1], 0);
  328.     TextDrawSetProportional(TDRoupas[1], 1);
  329.     TextDrawSetShadow(TDRoupas[1], 1);
  330.     TextDrawUseBox(TDRoupas[1], 1);
  331.     TextDrawBoxColor(TDRoupas[1], 255);
  332.     TextDrawTextSize(TDRoupas[1], 30.000000, 30.000000);
  333.     TextDrawSetSelectable(TDRoupas[1], 1);
  334.  
  335.     TDRoupas[2] = TextDrawCreate(287.000000, 372.000000, "COMPRAR");
  336.     TextDrawBackgroundColor(TDRoupas[2], -16776961);
  337.     TextDrawFont(TDRoupas[2], 2);
  338.     TextDrawLetterSize(TDRoupas[2], 0.500000, 2.299999);
  339.     TextDrawColor(TDRoupas[2], -1);
  340.     TextDrawSetOutline(TDRoupas[2], 1);
  341.     TextDrawSetProportional(TDRoupas[2], 1);
  342.     TextDrawUseBox(TDRoupas[2], 1);
  343.     TextDrawBoxColor(TDRoupas[2], -256);
  344.     TextDrawTextSize(TDRoupas[2], 364.000000, 20.000000);
  345.     TextDrawSetSelectable(TDRoupas[2], 1);
  346.  
  347.     TDRoupas[3] = TextDrawCreate(484.000000, 289.000000, "CANCELAR");
  348.     TextDrawBackgroundColor(TDRoupas[3], 255);
  349.     TextDrawFont(TDRoupas[3], 3);
  350.     TextDrawLetterSize(TDRoupas[3], 0.440000, 1.699999);
  351.     TextDrawColor(TDRoupas[3], -1);
  352.     TextDrawSetOutline(TDRoupas[3], 1);
  353.     TextDrawSetProportional(TDRoupas[3], 1);
  354.     TextDrawUseBox(TDRoupas[3], 1);
  355.     TextDrawBoxColor(TDRoupas[3], 128);
  356.     TextDrawTextSize(TDRoupas[3], 553.000000, 20.000000);
  357.     TextDrawSetSelectable(TDRoupas[3], 1);
  358.  
  359.     // seleção das skins disponíveis na loja
  360.     for(new s; s < sizeof(SkinsDisp); s++)
  361.     {
  362.         FazerRandom:
  363.         new srandom = random(sizeof(SkinsRandom));
  364.         new novaskin = SkinsRandom[srandom][0];
  365.         if(SkinsEscolhidas[novaskin] == true) { goto FazerRandom; }
  366.         SkinsDisp[s][0] = novaskin;
  367.         SkinsDisp[s][1] = SkinsRandom[srandom][1];
  368.         SkinsEscolhidas[novaskin] = true;
  369.     }
  370.     //___________ TEXTDRAW CARDAPIO _______________//
  371.    
  372.     TDCardapio[0] = TextDrawCreate(514.000000, 100.000000, "_");
  373.     TextDrawBackgroundColor(TDCardapio[0], 255);
  374.     TextDrawFont(TDCardapio[0], 1);
  375.     TextDrawLetterSize(TDCardapio[0], -0.109999, 28.900001);
  376.     TextDrawColor(TDCardapio[0], -1);
  377.     TextDrawSetOutline(TDCardapio[0], 0);
  378.     TextDrawSetProportional(TDCardapio[0], 1);
  379.     TextDrawSetShadow(TDCardapio[0], 1);
  380.     TextDrawUseBox(TDCardapio[0], 1);
  381.     TextDrawBoxColor(TDCardapio[0], 144);
  382.     TextDrawTextSize(TDCardapio[0], 130.000000, 51.000000);
  383.     TextDrawSetSelectable(TDCardapio[0], 0);
  384.  
  385.     TDCardapio[1] = TextDrawCreate(514.000000, 102.000000, "_");
  386.     TextDrawBackgroundColor(TDCardapio[1], 255);
  387.     TextDrawFont(TDCardapio[1], 1);
  388.     TextDrawLetterSize(TDCardapio[1], 0.500000, 1.500000);
  389.     TextDrawColor(TDCardapio[1], -1);
  390.     TextDrawSetOutline(TDCardapio[1], 0);
  391.     TextDrawSetProportional(TDCardapio[1], 1);
  392.     TextDrawSetShadow(TDCardapio[1], 1);
  393.     TextDrawUseBox(TDCardapio[1], 1);
  394.     TextDrawBoxColor(TDCardapio[1], -16776961);
  395.     TextDrawTextSize(TDCardapio[1], 130.000000, 0.000000);
  396.     TextDrawSetSelectable(TDCardapio[1], 0);
  397.  
  398.     TDCardapio[2] = TextDrawCreate(499.000000, 97.000000, "X");
  399.     TextDrawBackgroundColor(TDCardapio[2], 255);
  400.     TextDrawFont(TDCardapio[2], 1);
  401.     TextDrawLetterSize(TDCardapio[2], 0.479999, 2.200000);
  402.     TextDrawColor(TDCardapio[2], -1);
  403.     TextDrawSetOutline(TDCardapio[2], 0);
  404.     TextDrawSetProportional(TDCardapio[2], 1);
  405.     TextDrawSetShadow(TDCardapio[2], 1);
  406.     TextDrawUseBox(TDCardapio[2], 1);
  407.     TextDrawBoxColor(TDCardapio[2], -256);
  408.     TextDrawTextSize(TDCardapio[2], 511.000000, 15.000000);
  409.     TextDrawSetSelectable(TDCardapio[2], 1);
  410.  
  411.     TDCardapio[3] = TextDrawCreate(290.000000, 98.000000, "CARDAPIO");
  412.     TextDrawBackgroundColor(TDCardapio[3], 255);
  413.     TextDrawFont(TDCardapio[3], 2);
  414.     TextDrawLetterSize(TDCardapio[3], 0.389999, 1.899999);
  415.     TextDrawColor(TDCardapio[3], -1);
  416.     TextDrawSetOutline(TDCardapio[3], 0);
  417.     TextDrawSetProportional(TDCardapio[3], 1);
  418.     TextDrawSetShadow(TDCardapio[3], 1);
  419.     TextDrawSetSelectable(TDCardapio[3], 0);
  420.  
  421.     TDCardapio[4] = TextDrawCreate(321.000000, 130.000000, "_");
  422.     TextDrawBackgroundColor(TDCardapio[4], 255);
  423.     TextDrawFont(TDCardapio[4], 1);
  424.     TextDrawLetterSize(TDCardapio[4], 1.009999, 24.100000);
  425.     TextDrawColor(TDCardapio[4], -1);
  426.     TextDrawSetOutline(TDCardapio[4], 0);
  427.     TextDrawSetProportional(TDCardapio[4], 1);
  428.     TextDrawSetShadow(TDCardapio[4], 1);
  429.     TextDrawUseBox(TDCardapio[4], 1);
  430.     TextDrawBoxColor(TDCardapio[4], -107);
  431.     TextDrawTextSize(TDCardapio[4], 317.000000, 0.000000);
  432.     TextDrawSetSelectable(TDCardapio[4], 0);
  433.  
  434.     TDCardapio[5] = TextDrawCreate(203.000000, 126.000000, "Bebidas");
  435.     TextDrawBackgroundColor(TDCardapio[5], 255);
  436.     TextDrawFont(TDCardapio[5], 2);
  437.     TextDrawLetterSize(TDCardapio[5], 0.409999, 1.700000);
  438.     TextDrawColor(TDCardapio[5], -16776961);
  439.     TextDrawSetOutline(TDCardapio[5], 1);
  440.     TextDrawSetProportional(TDCardapio[5], 1);
  441.     TextDrawSetSelectable(TDCardapio[5], 0);
  442.  
  443.     TDCardapio[6] = TextDrawCreate(383.000000, 126.000000, "Lanches");
  444.     TextDrawBackgroundColor(TDCardapio[6], 255);
  445.     TextDrawFont(TDCardapio[6], 2);
  446.     TextDrawLetterSize(TDCardapio[6], 0.409999, 1.700000);
  447.     TextDrawColor(TDCardapio[6], -16776961);
  448.     TextDrawSetOutline(TDCardapio[6], 1);
  449.     TextDrawSetProportional(TDCardapio[6], 1);
  450.     TextDrawSetSelectable(TDCardapio[6], 0);
  451.  
  452.     TDCardapio[7] = TextDrawCreate(146.000000, 154.000000, "AGUA");
  453.     TextDrawBackgroundColor(TDCardapio[7], 255);
  454.     TextDrawFont(TDCardapio[7], 2);
  455.     TextDrawLetterSize(TDCardapio[7], 0.310000, 1.600000);
  456.     TextDrawColor(TDCardapio[7], -1);
  457.     TextDrawSetOutline(TDCardapio[7], 1);
  458.     TextDrawSetProportional(TDCardapio[7], 1);
  459.     TextDrawUseBox(TDCardapio[7], 1);
  460.     TextDrawBoxColor(TDCardapio[7], -256);
  461.     TextDrawTextSize(TDCardapio[7], 174.000000, 12.000000);
  462.     TextDrawSetSelectable(TDCardapio[7], 1);
  463.  
  464.     TDCardapio[8] = TextDrawCreate(146.000000, 172.000000, "CERVEJA");
  465.     TextDrawBackgroundColor(TDCardapio[8], 255);
  466.     TextDrawFont(TDCardapio[8], 2);
  467.     TextDrawLetterSize(TDCardapio[8], 0.310000, 1.600000);
  468.     TextDrawColor(TDCardapio[8], -1);
  469.     TextDrawSetOutline(TDCardapio[8], 1);
  470.     TextDrawSetProportional(TDCardapio[8], 1);
  471.     TextDrawUseBox(TDCardapio[8], 1);
  472.     TextDrawBoxColor(TDCardapio[8], -256);
  473.     TextDrawTextSize(TDCardapio[8], 192.000000, 12.000000);
  474.     TextDrawSetSelectable(TDCardapio[8], 1);
  475.  
  476.     TDCardapio[9] = TextDrawCreate(146.000000, 189.000000, "ENERGETICO");
  477.     TextDrawBackgroundColor(TDCardapio[9], 255);
  478.     TextDrawFont(TDCardapio[9], 2);
  479.     TextDrawLetterSize(TDCardapio[9], 0.310000, 1.600000);
  480.     TextDrawColor(TDCardapio[9], -1);
  481.     TextDrawSetOutline(TDCardapio[9], 1);
  482.     TextDrawSetProportional(TDCardapio[9], 1);
  483.     TextDrawUseBox(TDCardapio[9], 1);
  484.     TextDrawBoxColor(TDCardapio[9], -256);
  485.     TextDrawTextSize(TDCardapio[9], 205.000000, 12.000000);
  486.     TextDrawSetSelectable(TDCardapio[9], 1);
  487.  
  488.     TDCardapio[10] = TextDrawCreate(146.000000, 207.000000, "SUCO DE ABACAXI");
  489.     TextDrawBackgroundColor(TDCardapio[10], 255);
  490.     TextDrawFont(TDCardapio[10], 2);
  491.     TextDrawLetterSize(TDCardapio[10], 0.310000, 1.600000);
  492.     TextDrawColor(TDCardapio[10], -1);
  493.     TextDrawSetOutline(TDCardapio[10], 1);
  494.     TextDrawSetProportional(TDCardapio[10], 1);
  495.     TextDrawUseBox(TDCardapio[10], 1);
  496.     TextDrawBoxColor(TDCardapio[10], -256);
  497.     TextDrawTextSize(TDCardapio[10], 236.000000, 12.000000);
  498.     TextDrawSetSelectable(TDCardapio[10], 1);
  499.  
  500.     TDCardapio[11] = TextDrawCreate(146.000000, 224.000000, "SUCO DE GOIABA");
  501.     TextDrawBackgroundColor(TDCardapio[11], 255);
  502.     TextDrawFont(TDCardapio[11], 2);
  503.     TextDrawLetterSize(TDCardapio[11], 0.310000, 1.600000);
  504.     TextDrawColor(TDCardapio[11], -1);
  505.     TextDrawSetOutline(TDCardapio[11], 1);
  506.     TextDrawSetProportional(TDCardapio[11], 1);
  507.     TextDrawUseBox(TDCardapio[11], 1);
  508.     TextDrawBoxColor(TDCardapio[11], -256);
  509.     TextDrawTextSize(TDCardapio[11], 229.000000, 12.000000);
  510.     TextDrawSetSelectable(TDCardapio[11], 1);
  511.  
  512.     TDCardapio[12] = TextDrawCreate(146.000000, 242.000000, "SUCO DE MARACUJA");
  513.     TextDrawBackgroundColor(TDCardapio[12], 255);
  514.     TextDrawFont(TDCardapio[12], 2);
  515.     TextDrawLetterSize(TDCardapio[12], 0.310000, 1.600000);
  516.     TextDrawColor(TDCardapio[12], -1);
  517.     TextDrawSetOutline(TDCardapio[12], 1);
  518.     TextDrawSetProportional(TDCardapio[12], 1);
  519.     TextDrawUseBox(TDCardapio[12], 1);
  520.     TextDrawBoxColor(TDCardapio[12], -256);
  521.     TextDrawTextSize(TDCardapio[12], 247.000000, 12.000000);
  522.     TextDrawSetSelectable(TDCardapio[12], 1);
  523.  
  524.     TDCardapio[13] = TextDrawCreate(146.000000, 260.000000, "SUCO DE UVA");
  525.     TextDrawBackgroundColor(TDCardapio[13], 255);
  526.     TextDrawFont(TDCardapio[13], 2);
  527.     TextDrawLetterSize(TDCardapio[13], 0.310000, 1.600000);
  528.     TextDrawColor(TDCardapio[13], -1);
  529.     TextDrawSetOutline(TDCardapio[13], 1);
  530.     TextDrawSetProportional(TDCardapio[13], 1);
  531.     TextDrawUseBox(TDCardapio[13], 1);
  532.     TextDrawBoxColor(TDCardapio[13], -256);
  533.     TextDrawTextSize(TDCardapio[13], 215.000000, 12.000000);
  534.     TextDrawSetSelectable(TDCardapio[13], 1);
  535.  
  536.     TDCardapio[14] = TextDrawCreate(146.000000, 277.000000, "COCA COLA");
  537.     TextDrawBackgroundColor(TDCardapio[14], 255);
  538.     TextDrawFont(TDCardapio[14], 2);
  539.     TextDrawLetterSize(TDCardapio[14], 0.310000, 1.600000);
  540.     TextDrawColor(TDCardapio[14], -1);
  541.     TextDrawSetOutline(TDCardapio[14], 1);
  542.     TextDrawSetProportional(TDCardapio[14], 1);
  543.     TextDrawUseBox(TDCardapio[14], 1);
  544.     TextDrawBoxColor(TDCardapio[14], -256);
  545.     TextDrawTextSize(TDCardapio[14], 202.000000, 12.000000);
  546.     TextDrawSetSelectable(TDCardapio[14], 1);
  547.  
  548.     TDCardapio[15] = TextDrawCreate(146.000000, 295.000000, "FANTA LARANJA");
  549.     TextDrawBackgroundColor(TDCardapio[15], 255);
  550.     TextDrawFont(TDCardapio[15], 2);
  551.     TextDrawLetterSize(TDCardapio[15], 0.310000, 1.600000);
  552.     TextDrawColor(TDCardapio[15], -1);
  553.     TextDrawSetOutline(TDCardapio[15], 1);
  554.     TextDrawSetProportional(TDCardapio[15], 1);
  555.     TextDrawUseBox(TDCardapio[15], 1);
  556.     TextDrawBoxColor(TDCardapio[15], -256);
  557.     TextDrawTextSize(TDCardapio[15], 224.000000, 12.000000);
  558.     TextDrawSetSelectable(TDCardapio[15], 1);
  559.  
  560.     TDCardapio[16] = TextDrawCreate(146.000000, 312.000000, "FANTA UVA");
  561.     TextDrawBackgroundColor(TDCardapio[16], 255);
  562.     TextDrawFont(TDCardapio[16], 2);
  563.     TextDrawLetterSize(TDCardapio[16], 0.310000, 1.600000);
  564.     TextDrawColor(TDCardapio[16], -1);
  565.     TextDrawSetOutline(TDCardapio[16], 1);
  566.     TextDrawSetProportional(TDCardapio[16], 1);
  567.     TextDrawUseBox(TDCardapio[16], 1);
  568.     TextDrawBoxColor(TDCardapio[16], -256);
  569.     TextDrawTextSize(TDCardapio[16], 203.000000, 12.000000);
  570.     TextDrawSetSelectable(TDCardapio[16], 1);
  571.  
  572.     TDCardapio[17] = TextDrawCreate(146.000000, 329.000000, "SPRITE");
  573.     TextDrawBackgroundColor(TDCardapio[17], 255);
  574.     TextDrawFont(TDCardapio[17], 2);
  575.     TextDrawLetterSize(TDCardapio[17], 0.310000, 1.600000);
  576.     TextDrawColor(TDCardapio[17], -1);
  577.     TextDrawSetOutline(TDCardapio[17], 1);
  578.     TextDrawSetProportional(TDCardapio[17], 1);
  579.     TextDrawUseBox(TDCardapio[17], 1);
  580.     TextDrawBoxColor(TDCardapio[17], -256);
  581.     TextDrawTextSize(TDCardapio[17], 183.000000, 12.000000);
  582.     TextDrawSetSelectable(TDCardapio[17], 1);
  583.  
  584.     TDCardapio[18] = TextDrawCreate(284.000000, 154.000000, "R$ 3~n~R$ 5~n~R$ 7~n~R$ 5~n~R$ 5~n~R$ 5~n~R$ 5~n~R$ 6~n~R$ 4~n~R$ 4~n~R$ 5");
  585.     TextDrawBackgroundColor(TDCardapio[18], 255);
  586.     TextDrawFont(TDCardapio[18], 2);
  587.     TextDrawLetterSize(TDCardapio[18], 0.319999, 1.899999);
  588.     TextDrawColor(TDCardapio[18], -16776961);
  589.     TextDrawSetOutline(TDCardapio[18], 1);
  590.     TextDrawSetProportional(TDCardapio[18], 1);
  591.     TextDrawSetSelectable(TDCardapio[18], 0);
  592.  
  593.     TDCardapio[19] = TextDrawCreate(331.000000, 154.000000, "COXINHA");
  594.     TextDrawBackgroundColor(TDCardapio[19], 255);
  595.     TextDrawFont(TDCardapio[19], 2);
  596.     TextDrawLetterSize(TDCardapio[19], 0.310000, 1.600000);
  597.     TextDrawColor(TDCardapio[19], -1);
  598.     TextDrawSetOutline(TDCardapio[19], 1);
  599.     TextDrawSetProportional(TDCardapio[19], 1);
  600.     TextDrawUseBox(TDCardapio[19], 1);
  601.     TextDrawBoxColor(TDCardapio[19], -256);
  602.     TextDrawTextSize(TDCardapio[19], 374.000000, 12.000000);
  603.     TextDrawSetSelectable(TDCardapio[19], 1);
  604.  
  605.     TDCardapio[20] = TextDrawCreate(331.000000, 172.000000, "X BACON");
  606.     TextDrawBackgroundColor(TDCardapio[20], 255);
  607.     TextDrawFont(TDCardapio[20], 2);
  608.     TextDrawLetterSize(TDCardapio[20], 0.310000, 1.600000);
  609.     TextDrawColor(TDCardapio[20], -1);
  610.     TextDrawSetOutline(TDCardapio[20], 1);
  611.     TextDrawSetProportional(TDCardapio[20], 1);
  612.     TextDrawUseBox(TDCardapio[20], 1);
  613.     TextDrawBoxColor(TDCardapio[20], -256);
  614.     TextDrawTextSize(TDCardapio[20], 378.000000, 12.000000);
  615.     TextDrawSetSelectable(TDCardapio[20], 1);
  616.  
  617.     TDCardapio[21] = TextDrawCreate(331.000000, 189.000000, "X BURGUER");
  618.     TextDrawBackgroundColor(TDCardapio[21], 255);
  619.     TextDrawFont(TDCardapio[21], 2);
  620.     TextDrawLetterSize(TDCardapio[21], 0.310000, 1.600000);
  621.     TextDrawColor(TDCardapio[21], -1);
  622.     TextDrawSetOutline(TDCardapio[21], 1);
  623.     TextDrawSetProportional(TDCardapio[21], 1);
  624.     TextDrawUseBox(TDCardapio[21], 1);
  625.     TextDrawBoxColor(TDCardapio[21], -256);
  626.     TextDrawTextSize(TDCardapio[21], 388.000000, 12.000000);
  627.     TextDrawSetSelectable(TDCardapio[21], 1);
  628.  
  629.     TDCardapio[22] = TextDrawCreate(331.000000, 207.000000, "X EGG");
  630.     TextDrawBackgroundColor(TDCardapio[22], 255);
  631.     TextDrawFont(TDCardapio[22], 2);
  632.     TextDrawLetterSize(TDCardapio[22], 0.310000, 1.600000);
  633.     TextDrawColor(TDCardapio[22], -1);
  634.     TextDrawSetOutline(TDCardapio[22], 1);
  635.     TextDrawSetProportional(TDCardapio[22], 1);
  636.     TextDrawUseBox(TDCardapio[22], 1);
  637.     TextDrawBoxColor(TDCardapio[22], -256);
  638.     TextDrawTextSize(TDCardapio[22], 365.000000, 12.000000);
  639.     TextDrawSetSelectable(TDCardapio[22], 1);
  640.  
  641.     TDCardapio[23] = TextDrawCreate(330.000000, 224.000000, "X SALADA");
  642.     TextDrawBackgroundColor(TDCardapio[23], 255);
  643.     TextDrawFont(TDCardapio[23], 2);
  644.     TextDrawLetterSize(TDCardapio[23], 0.310000, 1.600000);
  645.     TextDrawColor(TDCardapio[23], -1);
  646.     TextDrawSetOutline(TDCardapio[23], 1);
  647.     TextDrawSetProportional(TDCardapio[23], 1);
  648.     TextDrawUseBox(TDCardapio[23], 1);
  649.     TextDrawBoxColor(TDCardapio[23], -256);
  650.     TextDrawTextSize(TDCardapio[23], 380.000000, 12.000000);
  651.     TextDrawSetSelectable(TDCardapio[23], 1);
  652.  
  653.     TDCardapio[24] = TextDrawCreate(329.000000, 242.000000, "EMPADA");
  654.     TextDrawBackgroundColor(TDCardapio[24], 255);
  655.     TextDrawFont(TDCardapio[24], 2);
  656.     TextDrawLetterSize(TDCardapio[24], 0.310000, 1.600000);
  657.     TextDrawColor(TDCardapio[24], -1);
  658.     TextDrawSetOutline(TDCardapio[24], 1);
  659.     TextDrawSetProportional(TDCardapio[24], 1);
  660.     TextDrawUseBox(TDCardapio[24], 1);
  661.     TextDrawBoxColor(TDCardapio[24], -256);
  662.     TextDrawTextSize(TDCardapio[24], 372.000000, 12.000000);
  663.     TextDrawSetSelectable(TDCardapio[24], 1);
  664.  
  665.     TDCardapio[25] = TextDrawCreate(329.000000, 260.000000, "HOT DOG");
  666.     TextDrawBackgroundColor(TDCardapio[25], 255);
  667.     TextDrawFont(TDCardapio[25], 2);
  668.     TextDrawLetterSize(TDCardapio[25], 0.310000, 1.600000);
  669.     TextDrawColor(TDCardapio[25], -1);
  670.     TextDrawSetOutline(TDCardapio[25], 1);
  671.     TextDrawSetProportional(TDCardapio[25], 1);
  672.     TextDrawUseBox(TDCardapio[25], 1);
  673.     TextDrawBoxColor(TDCardapio[25], -256);
  674.     TextDrawTextSize(TDCardapio[25], 376.000000, 12.000000);
  675.     TextDrawSetSelectable(TDCardapio[25], 1);
  676.  
  677.     TDCardapio[26] = TextDrawCreate(329.000000, 277.000000, "LANCHE NATURAL");
  678.     TextDrawBackgroundColor(TDCardapio[26], 255);
  679.     TextDrawFont(TDCardapio[26], 2);
  680.     TextDrawLetterSize(TDCardapio[26], 0.310000, 1.600000);
  681.     TextDrawColor(TDCardapio[26], -1);
  682.     TextDrawSetOutline(TDCardapio[26], 1);
  683.     TextDrawSetProportional(TDCardapio[26], 1);
  684.     TextDrawUseBox(TDCardapio[26], 1);
  685.     TextDrawBoxColor(TDCardapio[26], -256);
  686.     TextDrawTextSize(TDCardapio[26], 415.000000, 12.000000);
  687.     TextDrawSetSelectable(TDCardapio[26], 1);
  688.  
  689.     TDCardapio[27] = TextDrawCreate(329.000000, 295.000000, "LANCHE 3 QUEIJOS");
  690.     TextDrawBackgroundColor(TDCardapio[27], 255);
  691.     TextDrawFont(TDCardapio[27], 2);
  692.     TextDrawLetterSize(TDCardapio[27], 0.310000, 1.600000);
  693.     TextDrawColor(TDCardapio[27], -1);
  694.     TextDrawSetOutline(TDCardapio[27], 1);
  695.     TextDrawSetProportional(TDCardapio[27], 1);
  696.     TextDrawUseBox(TDCardapio[27], 1);
  697.     TextDrawBoxColor(TDCardapio[27], -256);
  698.     TextDrawTextSize(TDCardapio[27], 424.000000, 12.000000);
  699.     TextDrawSetSelectable(TDCardapio[27], 1);
  700.  
  701.     TDCardapio[28] = TextDrawCreate(329.000000, 312.000000, "PIZZA DE CALABRESA");
  702.     TextDrawBackgroundColor(TDCardapio[28], 255);
  703.     TextDrawFont(TDCardapio[28], 2);
  704.     TextDrawLetterSize(TDCardapio[28], 0.310000, 1.600000);
  705.     TextDrawColor(TDCardapio[28], -1);
  706.     TextDrawSetOutline(TDCardapio[28], 1);
  707.     TextDrawSetProportional(TDCardapio[28], 1);
  708.     TextDrawUseBox(TDCardapio[28], 1);
  709.     TextDrawBoxColor(TDCardapio[28], -256);
  710.     TextDrawTextSize(TDCardapio[28], 438.000000, 12.000000);
  711.     TextDrawSetSelectable(TDCardapio[28], 1);
  712.  
  713.     TDCardapio[29] = TextDrawCreate(329.000000, 329.000000, "PIZZA DE MUSSARELA");
  714.     TextDrawBackgroundColor(TDCardapio[29], 255);
  715.     TextDrawFont(TDCardapio[29], 2);
  716.     TextDrawLetterSize(TDCardapio[29], 0.310000, 1.600000);
  717.     TextDrawColor(TDCardapio[29], -1);
  718.     TextDrawSetOutline(TDCardapio[29], 1);
  719.     TextDrawSetProportional(TDCardapio[29], 1);
  720.     TextDrawUseBox(TDCardapio[29], 1);
  721.     TextDrawBoxColor(TDCardapio[29], -256);
  722.     TextDrawTextSize(TDCardapio[29], 440.000000, 12.000000);
  723.     TextDrawSetSelectable(TDCardapio[29], 1);
  724.  
  725.     TDCardapio[30] = TextDrawCreate(478.000000, 154.000000, "R$ 3~n~R$ 9~n~R$ 9~n~R$ 7~n~R$ 8~n~R$ 3~n~R$ 6~n~R$ 4~n~R$ 4~n~R$ 5~n~R$ 5");
  726.     TextDrawBackgroundColor(TDCardapio[30], 255);
  727.     TextDrawFont(TDCardapio[30], 2);
  728.     TextDrawLetterSize(TDCardapio[30], 0.319999, 1.899999);
  729.     TextDrawColor(TDCardapio[30], -16776961);
  730.     TextDrawSetOutline(TDCardapio[30], 1);
  731.     TextDrawSetProportional(TDCardapio[30], 1);
  732.     TextDrawSetSelectable(TDCardapio[30], 0);
  733.  
  734.     print(NOME_LOJA" carregado com sucesso!");
  735.     print("Mapa: Camila Lião. Script: Ana Silva (humildadeforever).");
  736.     return 1;
  737. }
  738.  
  739. public OnFilterScriptExit()
  740. {
  741.     DestruirActors();
  742.     for(new i = 0; i < 3; i++)
  743.     {
  744.         DestroyPickup(PickupsLoja[i]);
  745.         Delete3DTextLabel(TextsLoja[i]);
  746.     }
  747.     return 1;
  748. }
  749. public CarregarActors()
  750. {
  751.     Actors[0] = CreateActor(22, 1706.3259,-2479.4817,911.9779, 275.6890); //sentado perto TV
  752.     Actors[1] = CreateActor(11, 1715.9381,-2479.8240,911.4869,89.2540); //Atendente lanchonete
  753.     Actors[2] = CreateActor(46, 1713.4310,-2487.9065,911.4625,270.3624); //Jogando casino na máquina
  754.     Actors[3] = CreateActor(59, 1720.3392,-2490.0435,911.9382,98.9441); //Sentado na "biblioteca"
  755.     Actors[4] = CreateActor(40, 1707.4049,-2486.3020,911.9201,93.2572); //Sentada loja de roupas
  756.     Actors[5] = CreateActor(91, 1714.3359,-2478.1709,911.4625,270.2455); //Comprando na lanchonete
  757.     Actors[6] = CreateActor(98, 1709.6660,-2481.0986,911.4625,281.8155); //Jogando casino na mesa
  758.     Actors[7] = CreateActor(23, 1701.2172,-2475.3171,911.4692,356.9928); // Garoto do banheiro
  759.     Actors[8] = CreateActor(163,1696.3138,-2491.0251,911.4625,265.0732); // segurança 1
  760.     Actors[9] = CreateActor(164,1714.1770,-2490.4622,911.4625,91.4849); // segurança 2
  761.     Actors[10] = CreateActor(165,1700.5881,-2483.5566,911.4625,353.8923); // segurança 3
  762.     Actors[11] = CreateActor(166,1714.1677,-2474.7249,911.4625,176.3990); // segurança 4
  763.     Actors[12] = CreateActor(169,1708.8058,-2486.3894,911.4625,180.9541); // conversando 1
  764.     Actors[13] = CreateActor(186,1708.7218,-2487.0942,911.4625,0.3554); // conversando 2
  765.    
  766.     ApplyActorAnimation(Actors[0], "FOOD", "FF_Sit_Eat3", 4.0, 1, 1, 1, 0, 0);
  767.     ApplyActorAnimation(Actors[1], "BAR", "Barcustom_loop", 4.0, 0, 1, 1, 1, -1);
  768.     ApplyActorAnimation(Actors[2], "CASINO", "cards_in", 4.0, 0, 1, 1, 1, -1);
  769.     ApplyActorAnimation(Actors[3], "FOOD", "FF_Sit_Eat3", 4.0, 0, 1, 1, 1, -1);
  770.     ApplyActorAnimation(Actors[4], "FOOD", "FF_Sit_Eat3", 4.0, 0, 1, 1, 1, -1);
  771.     ApplyActorAnimation(Actors[5], "INT_SHOP", "shop_lookA", 4.0, 0, 1, 1, 1, -1);
  772.     ApplyActorAnimation(Actors[6], "CASINO", "Roulette_loop", 4.0, 1, 1, 1, 0, 0);
  773.     ApplyActorAnimation(Actors[7], "PAULNMAC", "Piss_loop", 4.0, 0, 1, 1, 1, -1);
  774.     ApplyActorAnimation(Actors[8], "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
  775.     ApplyActorAnimation(Actors[9], "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
  776.     ApplyActorAnimation(Actors[10], "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
  777.     ApplyActorAnimation(Actors[11], "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
  778.     ApplyActorAnimation(Actors[12], "PED", "IDLE_CHAT", 4.0, 1, 1, 1, 0, 0);
  779.     ApplyActorAnimation(Actors[13], "PED", "DAM_stomach_frmBK", 4.0, 0, 1, 1, 1, -1);
  780.     return 1;
  781. }
  782. DestruirActors()
  783. {
  784.     for(new a; a < sizeof(Actors); a++)
  785.     {
  786.         DestroyActor(Actors[a]);
  787.     }
  788.     return 1;
  789. }
  790. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  791. {
  792.     if(newkeys == 16)
  793.     {
  794.         if(IsPlayerInRangeOfPoint(playerid, 2.0, POS_ENTRADA))
  795.         {
  796.             SetPlayerPos(playerid, 1700.3477, -2492.9224, 910.4923+1.0);
  797.             SendClientMessage(playerid, 0x00FF00FF, "Bem vindo a "NOME_LOJA"!");
  798.         }
  799.         else if(IsPlayerInRangeOfPoint(playerid, 2.0, 1700.3477, -2492.9224, 910.4923))
  800.         {
  801.             SetPlayerPos(playerid, POS_ENTRADA);
  802.             SendClientMessage(playerid, 0x00FF00FF, NOME_LOJA" agradece a sua presença. Volte sempre!");
  803.         }
  804.         else if(IsPlayerInRangeOfPoint(playerid, 2.0, COMPRAR_ROUPA))
  805.         {
  806.             SetPVarInt(playerid, "Skin", GetPlayerSkin(playerid));
  807.             TelaSkin(playerid);
  808.         }
  809.         else if(IsPlayerInRangeOfPoint(playerid, 2.0, COMPRA_LANCHONETE))
  810.         {
  811.             MostrarCardapio(playerid);
  812.         }
  813.     }
  814.     return 1;
  815. }
  816. public OnPlayerClickTextDraw(playerid, Text: clickedid)
  817. {
  818.     new string[110];
  819.     //_________________________________ COMPRA DE ROUPAS ___________________________ //
  820.     if(clickedid == TDRoupas[0]) // avançar
  821.     {
  822.         PlayerPlaySound(playerid,1054,0.0,0.0,0.0);
  823.         if(SkinAtual[playerid] == (sizeof(SkinsDisp)-1))
  824.         {
  825.             SkinAtual[playerid] = 0;
  826.             SetPlayerSkin(playerid, SkinsDisp[0][0]);
  827.             return 1;
  828.         }
  829.         SkinAtual[playerid] ++;
  830.         SetPlayerSkin(playerid, SkinsDisp[SkinAtual[playerid]][0]);
  831.         format(string, sizeof(string),"~r~PRECO: ~w~R$%d", SkinsDisp[SkinAtual[playerid]][1]);
  832.         PlayerTextDrawSetString(playerid, PrecoRoupa[playerid], string);
  833.         return 1;
  834.     }
  835.     else if(clickedid == TDRoupas[1]) // voltar
  836.     {
  837.         PlayerPlaySound(playerid,1054,0.0,0.0,0.0);
  838.         if(SkinAtual[playerid] == 0)
  839.         {
  840.             SkinAtual[playerid] = (sizeof(SkinsDisp)-1);
  841.             SetPlayerSkin(playerid, SkinsDisp[sizeof(SkinsDisp)-1][0]);
  842.             return 1;
  843.         }
  844.         SkinAtual[playerid] --;
  845.         SetPlayerSkin(playerid, SkinsDisp[SkinAtual[playerid]][0]);
  846.         format(string, sizeof(string),"~r~PRECO: ~w~R$%d", SkinsDisp[SkinAtual[playerid]][1]);
  847.         PlayerTextDrawSetString(playerid, PrecoRoupa[playerid], string);
  848.         return 1;
  849.     }
  850.     else if(clickedid == TDRoupas[2]) //comprar
  851.     {
  852.         new preco = SkinsDisp[SkinAtual[playerid]][1];
  853.         if(GetPlayerMoney(playerid) < preco)
  854.         {
  855.             format(string, sizeof(string),"ERRO: Você não tem R$%d!", preco);
  856.             SendClientMessage(playerid, -1, string);
  857.             PlayerPlaySound(playerid,1084,0.0,0.0,0.0);
  858.             return 1;
  859.         }
  860.         GivePlayerMoney(playerid, -preco);
  861.         format(string, sizeof(string), "~r~-R$%d", preco);
  862.         GameTextForPlayer(playerid, string, 2000, 1);
  863.         OcultarCompra(playerid);
  864.         ClearAnimations(playerid);
  865.         ApplyAnimation(playerid, "CLOTHES", "CLO_Buy", 4.1, 0, 0, 0, 0, -1);
  866.         PlayerPlaySound(playerid,1058,0.0,0.0,0.0);
  867.     }
  868.     else if(clickedid == TDRoupas[3]) //cancelar
  869.     {
  870.         SetPlayerSkin(playerid, GetPVarInt(playerid, "Skin"));
  871.         OcultarCompra(playerid);
  872.         return 1;
  873.     }
  874.     //________________________________ COMPRA NA LANCHONETE ____________________________ //
  875.     if(clickedid == TDCardapio[2]) //fechar
  876.     {
  877.         OcultarCardapio(playerid);
  878.     }
  879.     else if(clickedid >= TDCardapio[7] && clickedid <= TDCardapio[29])
  880.     {
  881.         new cardapio [][][] =
  882.         {
  883.             {"Água", 3},
  884.             {"Cerveja", 5},
  885.             {"Energético", 7},
  886.             {"Suco de abacaxi", 5},
  887.             {"Suco de goiaba", 5},
  888.             {"Suco de maracujá", 5},
  889.             {"Suco de uva", 5},
  890.             {"Coca Cola", 6},
  891.             {"Fanta laranja", 4},
  892.             {"Fanva uva", 4},
  893.             {"Sprite", 5},
  894.             {"Nada", 0},
  895.             {"Coxinha", 3},
  896.             {"X Bacon", 9},
  897.             {"X Burguer", 9},
  898.             {"X Egg", 7},
  899.             {"X Salada", 8},
  900.             {"Empada", 3},
  901.             {"Hot Dog", 6},
  902.             {"Lanche natural", 4},
  903.             {"Lanche 3 queijos", 4},
  904.             {"Pizza de calabresa", 5},
  905.             {"Pizza de mussarela", 5}
  906.         };
  907.         new itemcomprado;
  908.         for(new td = 7; td <= 29; td ++)
  909.         {
  910.             if(clickedid == TDCardapio[td])
  911.             {
  912.                 itemcomprado = td;
  913.             }
  914.         }
  915.         itemcomprado -= 7;
  916.         new preco = cardapio[itemcomprado][1][0];
  917.         if(GetPlayerMoney(playerid) < preco)
  918.         {
  919.             format(string, sizeof(string),"ERRO: Você não tem R$%d!", preco);
  920.             SendClientMessage(playerid, -1, string);
  921.             PlayerPlaySound(playerid,1084,0.0,0.0,0.0);
  922.             return 1;
  923.         }
  924.         format(string, sizeof(string),"Você comprou um(a) %s de R$%d.", cardapio[itemcomprado][0][0], preco);
  925.         SendClientMessage(playerid, 0xFF0000FF, string);
  926.         GivePlayerMoney(playerid, -preco);
  927.         format(string, sizeof(string),"~r~-R$%d", preco);
  928.         GameTextForPlayer(playerid, string, 2000, 1);
  929.         PlayerPlaySound(playerid,1058,0.0,0.0,0.0);
  930.     }
  931.     return 1;
  932. }
  933. TelaSkin(playerid)
  934. {
  935.     for(new td; td < sizeof(TDRoupas); td++)
  936.     {
  937.         TextDrawShowForPlayer(playerid, TDRoupas[td]);
  938.     }
  939.     new string[25];
  940.     format(string, sizeof(string),"~r~PRECO: ~w~R$%d", SkinsDisp[0][1]);
  941.     PrecoRoupa[playerid] = CreatePlayerTextDraw(playerid, 466.000000, 266.000000, string);
  942.     PlayerTextDrawBackgroundColor(playerid, PrecoRoupa[playerid], 255);
  943.     PlayerTextDrawFont(playerid, PrecoRoupa[playerid], 3);
  944.     PlayerTextDrawLetterSize(playerid, PrecoRoupa[playerid], 0.440000, 1.699999);
  945.     PlayerTextDrawColor(playerid, PrecoRoupa[playerid], -1);
  946.     PlayerTextDrawSetOutline(playerid, PrecoRoupa[playerid], 1);
  947.     PlayerTextDrawSetProportional(playerid, PrecoRoupa[playerid], 1);
  948.     PlayerTextDrawUseBox(playerid, PrecoRoupa[playerid], 1);
  949.     PlayerTextDrawBoxColor(playerid, PrecoRoupa[playerid], 128);
  950.     PlayerTextDrawShow(playerid, PrecoRoupa[playerid]);
  951.    
  952.     SelectTextDraw(playerid, 0x696969FF);
  953.     SetPlayerSkin(playerid, SkinsDisp[0][0]);
  954.     SkinAtual[playerid] = 0;
  955.  
  956.     TogglePlayerControllable(playerid, 0);
  957.     return 1;
  958. }
  959.  
  960. OcultarCompra(playerid)
  961. {
  962.     DeletePVar(playerid, "Skin");
  963.     CancelSelectTextDraw(playerid);
  964.     SkinAtual[playerid] = 0;
  965.     for(new td; td < sizeof(TDRoupas); td++)
  966.     {
  967.         TextDrawHideForPlayer(playerid, TDRoupas[td]);
  968.     }
  969.     PlayerTextDrawHide(playerid, PrecoRoupa[playerid]);
  970.     TogglePlayerControllable(playerid, 1);
  971.     return 1;
  972. }
  973. MostrarCardapio(playerid)
  974. {
  975.     for(new td; td < sizeof(TDCardapio); td++)
  976.     {
  977.         TextDrawShowForPlayer(playerid, TDCardapio[td]);
  978.     }
  979.     SelectTextDraw(playerid, 0x00FF0080);
  980.     TogglePlayerControllable(playerid, 0);
  981.     return 1;
  982. }
  983. OcultarCardapio(playerid)
  984. {
  985.     CancelSelectTextDraw(playerid);
  986.     for(new td; td < sizeof(TDCardapio); td++)
  987.     {
  988.         TextDrawHideForPlayer(playerid, TDCardapio[td]);
  989.     }
  990.     TogglePlayerControllable(playerid, 1);
  991.     return 1;
  992. }
Advertisement
Add Comment
Please, Sign In to add comment