Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #define POS_ENTRADA -1986.3184,671.3448,46.5683
- #define COMPRAR_ROUPA 1702.6163,-2486.3413,911.4698
- #define COMPRA_LANCHONETE 1714.3373,-2479.8826,911.4625
- #define NOME_LOJA "Galeria Boulevard"
- forward CarregarActors();
- //________ MAPA _________//
- new Chao[6];
- new Teto[6];
- new Actors[14];
- //______TEXTDRAWS______//
- new Text: TDRoupas[4];
- new PlayerText: PrecoRoupa[MAX_PLAYERS];
- new Text: TDCardapio[31];
- //Pickup
- new PickupsLoja[3];
- new Text3D: TextsLoja[3];
- new SkinAtual[MAX_PLAYERS];
- new bool: SkinsEscolhidas[307];
- new SkinsDisp[20][20]; // skin e preço
- new SkinsRandom[][] =
- {
- {12, 160},
- {23, 120},
- {29, 145},
- {37, 105},
- {40, 185},
- {55, 150},
- {56, 95},
- {57, 120},
- {85, 160},
- {88, 70},
- {91, 200},
- {93, 150},
- {98, 140},
- {112, 110},
- {113, 170},
- {119, 115},
- {121, 90},
- {126, 115},
- {141, 165},
- {148, 130},
- {150, 140},
- {169, 120},
- {186, 170},
- {187, 165},
- {192, 135},
- {211, 120},
- {214, 160},
- {216, 195},
- {223, 125},
- {224, 70},
- {226, 110},
- {240, 155},
- {247, 180},
- {249, 140},
- {250, 120},
- {263, 110},
- {292, 150},
- {295, 125},
- {299, 160}
- };
- public OnFilterScriptInit()
- {
- print("Carregando FS "NOME_LOJA"..");
- Chao[0] = CreateObject(19379, 1711.18494, -2479.13916, 910.37659, 0.00000, 90.00000, 0.00000);
- Chao[1] = CreateObject(19379, 1721.64282, -2479.13916, 910.37659, 0.00000, 90.00000, 0.00000);
- Chao[2] = CreateObject(19379, 1711.18494, -2488.69824, 910.37659, 0.00000, 90.00000, 0.00000);
- Chao[3] = CreateObject(19379, 1721.64282, -2488.69824, 910.37659, 0.00000, 90.00000, 0.00000);
- Chao[4] = CreateObject(19379, 1700.73535, -2479.13916, 910.37659, 0.00000, 90.00000, 0.00000);
- Chao[5] = CreateObject(19379, 1700.73535, -2488.69824, 910.37659, 0.00000, 90.00000, 0.00000);
- CreateObject(19358, 1695.56775, -2491.88281, 912.20996, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1697.22412, -2493.56494, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1695.56506, -2485.46460, 912.20996, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1695.56006, -2482.26294, 912.21002, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1695.56055, -2479.07031, 912.21002, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1695.55225, -2475.88574, 912.20996, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1703.63562, -2493.56494, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1706.83862, -2493.56494, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1710.04016, -2493.56494, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1713.24963, -2493.56494, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1716.45349, -2493.56494, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1719.64465, -2493.56494, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1722.84766, -2493.56494, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1724.41406, -2491.86987, 912.20587, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1724.41138, -2488.65942, 912.20587, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1724.41284, -2485.45483, 912.20587, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1722.70837, -2483.90552, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1719.51233, -2483.90845, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1716.30750, -2483.91357, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1714.80273, -2485.59521, 912.21002, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1714.80029, -2488.79053, 912.21002, 0.00000, 0.00000, 0.00000);
- CreateObject(19388, 1714.80090, -2492.00000, 912.21002, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1724.38684, -2482.20874, 912.20587, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1724.38550, -2479.00415, 912.21002, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1724.38770, -2475.81567, 912.20587, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1722.70850, -2474.28003, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1719.50769, -2474.28931, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1716.30737, -2474.28833, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1713.12659, -2474.28711, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1709.92578, -2474.28564, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1706.74731, -2474.29443, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1703.54565, -2474.28711, 912.20593, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1700.36450, -2474.28955, 912.20593, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1697.18115, -2474.29175, 912.20593, 0.00000, 0.00000, 90.00000);
- CreateObject(2457, 1715.16235, -2481.45996, 910.35791, 0.00000, 0.00000, -90.00000);
- CreateObject(2455, 1715.16235, -2483.37451, 910.35791, 0.00000, 0.00000, -90.00000);
- CreateObject(2455, 1715.16235, -2480.55591, 910.35791, 0.00000, 0.00000, -90.00000);
- CreateObject(2457, 1715.16248, -2478.64307, 910.35791, 0.00000, 0.00000, -90.00000);
- CreateObject(2454, 1715.31140, -2476.65674, 910.34351, 0.00000, 0.00000, -180.00000);
- CreateObject(2183, 1716.42297, -2486.98193, 910.44873, 0.00000, 0.00000, 0.00000);
- CreateObject(2183, 1720.23792, -2492.19556, 910.44873, 0.00000, 0.00000, 0.00000);
- CreateObject(1491, 1714.81226, -2492.73730, 910.43640, 0.00000, 0.00000, 90.00000);
- CreateObject(1806, 1720.63098, -2492.87915, 910.44092, 0.00000, 0.00000, 0.00000);
- CreateObject(1806, 1722.78540, -2492.87915, 910.44092, 0.00000, 0.00000, 0.00000);
- CreateObject(1806, 1717.10120, -2487.97656, 910.44092, 0.00000, 0.00000, 0.00000);
- CreateObject(1806, 1718.72302, -2487.97656, 910.44092, 0.00000, 0.00000, 0.00000);
- CreateObject(1806, 1717.01294, -2484.72876, 910.44092, 0.00000, 0.00000, 180.00000);
- CreateObject(1806, 1720.50452, -2489.75659, 910.44092, 0.00000, 0.00000, 180.00000);
- CreateObject(2455, 1715.16150, -2477.72681, 910.35791, 0.00000, 0.00000, -90.00000);
- CreateObject(1514, 1715.32336, -2476.77466, 911.62439, 0.00000, 0.00000, 208.69882);
- CreateObject(1806, 1718.71997, -2484.65649, 910.44092, 0.00000, 0.00000, 180.00000);
- CreateObject(1806, 1722.72571, -2489.75659, 910.44092, 0.00000, 0.00000, 180.00000);
- CreateObject(14455, 1723.79456, -2489.03442, 912.02869, 0.00000, 0.00000, 90.00000);
- CreateObject(1742, 1717.76904, -2493.53149, 910.44916, 0.00000, 0.00000, 180.00000);
- CreateObject(1742, 1716.11450, -2493.51416, 910.44916, 0.00000, 0.00000, 180.00000);
- CreateObject(11743, 1715.11121, -2483.37329, 911.37378, 0.00000, 0.00000, -90.00000);
- CreateObject(2500, 1715.30225, -2480.73022, 911.36426, 0.00000, 0.00000, -90.00000);
- CreateObject(2685, 1716.18726, -2483.82422, 912.48846, 0.00000, 0.00000, 0.00000);
- CreateObject(1775, 1717.06287, -2483.20630, 911.56451, 0.00000, 0.00000, 228.13234);
- CreateObject(19358, 1717.73389, -2482.24658, 912.20587, 0.00000, 0.00000, 0.00000);
- CreateObject(2454, 1717.31519, -2476.78589, 910.35791, 0.00000, 0.00000, 90.00000);
- CreateObject(2455, 1716.22693, -2476.64038, 910.35791, 0.00000, 0.00000, 180.00000);
- CreateObject(19358, 1717.73389, -2482.04956, 912.21002, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1717.73389, -2478.86401, 912.21002, 0.00000, 0.00000, 0.00000);
- CreateObject(1594, 1722.74475, -2482.31396, 910.93500, 0.00000, 0.00000, 0.00000);
- CreateObject(1594, 1719.32910, -2482.22046, 910.93500, 0.00000, 0.00000, 0.00000);
- CreateObject(1594, 1721.42175, -2479.39453, 910.93500, 0.00000, 0.00000, 0.00000);
- CreateObject(1594, 1722.62976, -2476.12671, 910.93500, 0.00000, 0.00000, 0.00000);
- CreateObject(19825, 1717.58081, -2480.21362, 913.09894, 0.00000, 0.00000, -90.00000);
- CreateObject(1505, 1699.64771, -2493.54639, 910.46472, 0.00000, 0.00000, 0.00000);
- CreateObject(19388, 1700.42993, -2493.56494, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1700.43103, -2480.44482, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19388, 1703.56946, -2480.45776, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1700.14233, -2478.75391, 912.20996, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1700.14270, -2475.61401, 912.20996, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1705.08655, -2478.79077, 912.20996, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1705.08655, -2475.59326, 912.21002, 0.00000, 0.00000, 0.00000);
- CreateObject(1826, 1699.96240, -2481.01294, 910.45673, 0.00000, 0.00000, 0.00000);
- CreateObject(14705, 1699.85632, -2480.84839, 911.53156, 0.00000, 0.00000, 0.00000);
- CreateObject(14705, 1701.19922, -2480.86304, 911.53156, 0.00000, 0.00000, 0.00000);
- CreateObject(325, 1699.79993, -2480.88477, 911.74298, 0.00000, 0.00000, 0.00000);
- CreateObject(325, 1701.15247, -2480.93286, 911.74298, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1697.21094, -2484.10498, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1700.40955, -2484.09912, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1703.60681, -2484.08813, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1706.77979, -2484.07837, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1695.56848, -2488.67407, 912.20996, 0.00000, 0.00000, 0.00000);
- CreateObject(2002, 1696.21826, -2492.86182, 910.42810, 0.00000, 0.00000, 90.00000);
- CreateObject(19174, 1701.95752, -2484.18799, 912.78839, 0.00000, 0.00000, 0.00000);
- CreateObject(19172, 1709.41296, -2493.47681, 912.62988, 0.00000, 0.00000, 180.00000);
- CreateObject(1703, 1707.66235, -2485.94263, 910.42719, 0.00000, 0.00000, -90.00000);
- CreateObject(2528, 1696.32813, -2474.88086, 910.48224, 0.00000, 0.00000, 0.00000);
- CreateObject(1516, 1699.17871, -2479.63647, 910.56506, 0.00000, 0.00000, 0.00000);
- CreateObject(19873, 1699.07092, -2479.67236, 911.15247, 0.00000, 0.00000, 0.00000);
- CreateObject(19873, 1699.52954, -2480.00415, 911.15247, 0.00000, 0.00000, 0.00000);
- CreateObject(19873, 1698.76599, -2480.04565, 911.15247, 0.00000, 0.00000, 0.00000);
- CreateObject(19388, 1697.26721, -2480.44043, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19873, 1699.61230, -2479.52002, 911.15247, 0.00000, 0.00000, 0.00000);
- CreateObject(19873, 1699.22217, -2479.23779, 911.15247, 0.00000, 0.00000, 0.00000);
- CreateObject(2523, 1698.57056, -2474.85205, 910.45679, 0.00000, 0.00000, 0.00000);
- CreateObject(2835, 1702.03381, -2477.51538, 910.47211, 0.00000, 0.00000, 0.00000);
- CreateObject(2842, 1696.73157, -2481.53223, 910.44769, 0.00000, 0.00000, 0.00000);
- CreateObject(2817, 1703.09570, -2481.54321, 910.45673, 0.00000, 0.00000, 0.00000);
- CreateObject(2685, 1697.84546, -2474.44189, 912.09326, 0.00000, 0.00000, 0.00000);
- CreateObject(2685, 1702.70679, -2474.43091, 912.59680, 0.00000, 0.00000, 0.00000);
- CreateObject(2602, 1701.51013, -2474.73584, 910.99915, 0.00000, 0.00000, 0.00000);
- CreateObject(2523, 1702.98999, -2474.82568, 910.45410, 0.00000, 0.00000, 0.00000);
- CreateObject(1516, 1701.47815, -2479.74292, 910.65894, 0.00000, 0.00000, 0.00000);
- CreateObject(19873, 1701.41333, -2479.71362, 911.24591, 0.00000, 0.00000, 0.00000);
- CreateObject(19873, 1701.82202, -2480.04419, 911.24591, 0.00000, 0.00000, 0.00000);
- CreateObject(19873, 1701.82739, -2479.44312, 911.24591, 0.00000, 0.00000, 0.00000);
- CreateObject(19873, 1701.08252, -2480.10229, 911.24591, 0.00000, 0.00000, 0.00000);
- CreateObject(19873, 1701.14697, -2479.45972, 911.24591, 0.00000, 0.00000, 0.00000);
- CreateObject(2700, 1708.25647, -2474.65283, 912.65582, 0.00000, 0.00000, -90.00000);
- CreateObject(1828, 1711.39404, -2487.05444, 910.45679, 0.00000, 0.00000, 90.00000);
- CreateObject(2836, 1714.68726, -2492.53491, 910.46252, 0.00000, 0.00000, 90.00000);
- CreateObject(2835, 1697.05896, -2477.98853, 910.47211, 0.00000, 0.00000, 0.00000);
- CreateObject(1704, 1705.88708, -2480.03320, 910.47418, 0.00000, 0.00000, 90.00000);
- CreateObject(1704, 1705.88708, -2477.86035, 910.47418, 0.00000, 0.00000, 90.00000);
- CreateObject(1704, 1705.88708, -2475.84937, 910.47418, 0.00000, 0.00000, 90.00000);
- CreateObject(1951, 1715.37195, -2477.42725, 911.58789, 0.00000, 0.00000, 180.00000);
- CreateObject(1511, 1717.54553, -2481.09229, 912.40540, 0.00000, 0.00000, -90.00000);
- CreateObject(1455, 1715.28882, -2477.95410, 911.47418, 0.00000, 0.00000, 180.00000);
- CreateObject(1582, 1716.24341, -2476.67407, 911.38251, 0.00000, 0.00000, 0.00000);
- CreateObject(1951, 1715.37195, -2477.63330, 911.58789, 0.00000, 0.00000, 180.00000);
- CreateObject(1546, 1715.28882, -2477.82886, 911.47607, 0.00000, 0.00000, 0.00000);
- CreateObject(1302, 1717.32910, -2478.30591, 910.48126, 0.00000, 0.00000, -90.00000);
- CreateObject(2429, 1717.83777, -2479.43188, 911.36835, 0.00000, 0.00000, -90.00000);
- CreateObject(19358, 1696.99133, -2490.46387, 912.20587, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1700.18811, -2490.46387, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1708.29980, -2485.73608, 912.21002, 0.00000, 0.00000, 0.00000);
- CreateObject(1828, 1698.91541, -2491.95581, 910.45679, 0.00000, 0.00000, 0.00000);
- CreateObject(19388, 1706.60547, -2490.46387, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(19358, 1703.39563, -2490.46387, 912.21002, 0.00000, 0.00000, 90.00000);
- CreateObject(1502, 1696.48584, -2480.50757, 910.48065, 0.00000, 0.00000, 0.00000);
- CreateObject(19360, 1703.23438, -2475.95923, 910.38324, 0.00000, 90.00000, 0.00000);
- CreateObject(19360, 1703.31409, -2478.94067, 910.38324, 0.00000, 90.00000, 0.00000);
- CreateObject(19360, 1699.81458, -2478.92700, 910.38324, 0.00000, 90.00000, 0.00000);
- CreateObject(19360, 1699.76428, -2475.94702, 910.38324, 0.00000, 90.00000, 0.00000);
- CreateObject(19360, 1696.27539, -2475.92236, 910.38324, 0.00000, 90.00000, 0.00000);
- CreateObject(19360, 1696.33386, -2478.91333, 910.38324, 0.00000, 90.00000, 0.00000);
- CreateObject(1491, 1705.81750, -2490.48828, 910.44208, 0.00000, 0.00000, 0.00000);
- CreateObject(1502, 1702.79309, -2480.48438, 910.48065, 0.00000, 0.00000, 0.00000);
- CreateObject(2374, 1700.05420, -2484.43750, 912.57861, 0.00000, 0.00000, 0.00000);
- CreateObject(2377, 1699.12939, -2484.43750, 912.57861, 0.00000, 0.00000, 0.00000);
- CreateObject(2378, 1698.27429, -2484.43750, 912.57861, 0.00000, 0.00000, 0.00000);
- CreateObject(2389, 1697.29114, -2484.43750, 912.57861, 0.00000, 0.00000, 0.00000);
- CreateObject(2383, 1695.90295, -2486.61914, 912.57861, 0.00000, 0.00000, 0.00000);
- CreateObject(2401, 1696.34338, -2484.43750, 912.57861, 0.00000, 0.00000, 0.00000);
- CreateObject(2390, 1695.82385, -2485.55835, 912.57861, 0.00000, 0.00000, 90.00000);
- CreateObject(2399, 1695.83081, -2487.58984, 912.57861, 0.00000, 0.00000, 90.00000);
- CreateObject(2382, 1696.16309, -2488.45825, 912.57861, 0.00000, 0.00000, 90.00000);
- CreateObject(2394, 1696.52051, -2489.48242, 912.57861, 0.00000, 0.00000, 0.00000);
- CreateObject(1516, 1697.63086, -2487.95313, 910.62524, 0.00000, 0.00000, 0.00000);
- CreateObject(1516, 1697.63086, -2486.71021, 910.62518, 0.00000, 0.00000, 0.00000);
- CreateObject(2411, 1697.51038, -2488.30591, 911.49048, 0.00000, 0.00000, 90.00000);
- CreateObject(2407, 1697.93018, -2486.53662, 911.52283, 0.00000, 0.00000, 90.00000);
- CreateObject(2411, 1697.95764, -2487.76025, 911.49048, 0.00000, 0.00000, 90.00000);
- CreateObject(2407, 1697.57922, -2486.99731, 911.52283, 0.00000, 0.00000, 90.00000);
- CreateObject(2387, 1703.78699, -2488.19336, 910.47089, 0.00000, 0.00000, 0.00000);
- CreateObject(2387, 1701.49475, -2486.41455, 910.47089, 0.00000, 0.00000, 0.00000);
- CreateObject(2385, 1704.39197, -2484.14478, 911.70355, 0.00000, 0.00000, 0.00000);
- CreateObject(2052, 1704.24963, -2484.39258, 912.18671, 0.00000, 0.00000, 0.00000);
- CreateObject(2052, 1705.73352, -2484.39917, 912.18671, 0.00000, 0.00000, 0.00000);
- CreateObject(2052, 1704.95435, -2484.36206, 912.62714, 0.00000, 0.00000, 0.00000);
- CreateObject(2053, 1704.20618, -2484.42529, 912.67236, 0.00000, 0.00000, 0.00000);
- CreateObject(2053, 1705.75549, -2484.33740, 912.67816, 0.00000, 0.00000, 0.00000);
- CreateObject(2053, 1704.99170, -2484.36133, 911.79718, 0.00000, 0.00000, 0.00000);
- CreateObject(2054, 1704.24536, -2484.50171, 911.77448, 0.00000, 0.00000, 90.00000);
- CreateObject(2054, 1705.68323, -2484.56592, 911.83496, 0.00000, 0.00000, 90.00000);
- CreateObject(2054, 1704.98096, -2484.47803, 912.20813, 0.00000, 0.00000, 90.00000);
- CreateObject(19362, 1697.35095, -2488.83325, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1697.34949, -2485.69116, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1700.83191, -2485.74731, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1700.85205, -2488.91699, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1704.30664, -2485.75879, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1704.32031, -2488.90283, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1706.55334, -2485.74341, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1706.59827, -2488.90796, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19373, 1717.12219, -2482.23364, 910.40094, 0.00000, 90.00000, 0.00000);
- CreateObject(19373, 1717.15283, -2479.02881, 910.40088, 0.00000, 90.00000, 0.00000);
- CreateObject(19373, 1720.58313, -2482.23364, 910.40088, 0.00000, 90.00000, 0.00000);
- CreateObject(19373, 1720.62292, -2479.02881, 910.40088, 0.00000, 90.00000, 0.00000);
- CreateObject(19373, 1724.06409, -2482.23364, 910.40088, 0.00000, 90.00000, 0.00000);
- CreateObject(19373, 1724.12329, -2479.02881, 910.40088, 0.00000, 90.00000, 0.00000);
- CreateObject(19373, 1722.81860, -2475.84399, 910.40094, 0.00000, 90.00000, 0.00000);
- CreateObject(19373, 1719.31885, -2475.86450, 910.40094, 0.00000, 90.00000, 0.00000);
- CreateObject(1594, 1719.91016, -2477.09961, 910.93500, 0.00000, 0.00000, 0.00000);
- CreateObject(19373, 1717.14209, -2477.94849, 910.40094, 0.00000, 90.00000, 0.00000);
- CreateObject(19373, 1717.08362, -2478.23486, 910.40094, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1716.62988, -2491.91528, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1716.66492, -2488.70605, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1716.62036, -2485.51563, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1720.12073, -2485.58130, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1720.14001, -2488.74927, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1720.07458, -2491.93555, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1723.59680, -2492.01489, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1723.63892, -2488.83105, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(19362, 1723.58044, -2485.64160, 910.38385, 0.00000, 90.00000, 0.00000);
- CreateObject(2785, 1711.43811, -2474.88623, 911.31775, 0.00000, 0.00000, 0.00000);
- CreateObject(2785, 1714.23975, -2487.09033, 911.31769, 0.00000, 0.00000, -90.00000);
- CreateObject(1978, 1711.03601, -2480.80371, 911.48218, 0.00000, 0.00000, 0.00000);
- CreateObject(1979, 1710.83423, -2479.45850, 911.50940, 0.00000, 0.00000, 0.00000);
- CreateObject(19358, 1708.29980, -2488.94800, 912.21002, 0.00000, 0.00000, 0.00000);
- Teto[0] = CreateObject(19376, 1711.22498, -2488.73730, 914.04871, 0.00000, 90.00000, 0.00000);
- Teto[1] = CreateObject(19376, 1700.83960, -2488.73730, 914.04871, 0.00000, 90.00000, 0.00000);
- Teto[2] = CreateObject(19376, 1700.83960, -2479.10278, 914.04871, 0.00000, 90.00000, 0.00000);
- Teto[3] = CreateObject(19376, 1711.22498, -2479.10278, 914.04871, 0.00000, 90.00000, 0.00000);
- Teto[4] = CreateObject(19376, 1721.67407, -2479.10278, 914.04871, 0.00000, 90.00000, 0.00000);
- Teto[5] = CreateObject(19376, 1721.67407, -2488.73730, 914.04871, 0.00000, 90.00000, 0.00000);
- PickupsLoja[0] = CreatePickup(1318, 1, POS_ENTRADA);
- TextsLoja[0] = Create3DTextLabel(NOME_LOJA, -1, POS_ENTRADA, 10.0, 0, 0);
- PickupsLoja[1] = CreatePickup(1239, 1, COMPRAR_ROUPA);
- TextsLoja[1] = Create3DTextLabel("Veja as roupas que temos hoje!\nAperte F para ver as roupas.", -1, COMPRAR_ROUPA, 6.0, 0, 0);
- PickupsLoja[2] = CreatePickup(1239, 1, COMPRA_LANCHONETE);
- TextsLoja[2] = Create3DTextLabel("Compre algo para comer!\nAperte F para ver o cardápio.", -1, COMPRA_LANCHONETE, 6.0, 0, 0);
- for(new obj; obj < 6; obj++)
- {
- //SetObjectMaterial(Chao[obj], 0, 14702, "masmall3int2", "HS2_wall6");
- //SetObjectMaterial(Chao[obj], 0, 15048, "labigsave", "AH_flroortile1");
- SetObjectMaterial(Chao[obj], 0, 4014, "civic01_lan", "sl_flagstone1");
- SetObjectMaterial(Teto[obj], 0, 14891, "gf6", "mp_vicgrill");
- }
- SetTimer("CarregarActors", 10000, false);
- TDRoupas[0] = TextDrawCreate(398.000000, 369.000000, "ld_beat:right");
- TextDrawBackgroundColor(TDRoupas[0], 255);
- TextDrawFont(TDRoupas[0], 4);
- TextDrawLetterSize(TDRoupas[0], 0.500000, 1.000000);
- TextDrawColor(TDRoupas[0], -16777072);
- TextDrawSetOutline(TDRoupas[0], 0);
- TextDrawSetProportional(TDRoupas[0], 1);
- TextDrawSetShadow(TDRoupas[0], 1);
- TextDrawUseBox(TDRoupas[0], 1);
- TextDrawBoxColor(TDRoupas[0], 255);
- TextDrawTextSize(TDRoupas[0], 30.000000, 30.000000);
- TextDrawSetSelectable(TDRoupas[0], 1);
- TDRoupas[1] = TextDrawCreate(222.000000, 369.000000, "ld_beat:left");
- TextDrawBackgroundColor(TDRoupas[1], 0);
- TextDrawFont(TDRoupas[1], 4);
- TextDrawLetterSize(TDRoupas[1], 0.500000, 1.000000);
- TextDrawColor(TDRoupas[1], -16777072);
- TextDrawSetOutline(TDRoupas[1], 0);
- TextDrawSetProportional(TDRoupas[1], 1);
- TextDrawSetShadow(TDRoupas[1], 1);
- TextDrawUseBox(TDRoupas[1], 1);
- TextDrawBoxColor(TDRoupas[1], 255);
- TextDrawTextSize(TDRoupas[1], 30.000000, 30.000000);
- TextDrawSetSelectable(TDRoupas[1], 1);
- TDRoupas[2] = TextDrawCreate(287.000000, 372.000000, "COMPRAR");
- TextDrawBackgroundColor(TDRoupas[2], -16776961);
- TextDrawFont(TDRoupas[2], 2);
- TextDrawLetterSize(TDRoupas[2], 0.500000, 2.299999);
- TextDrawColor(TDRoupas[2], -1);
- TextDrawSetOutline(TDRoupas[2], 1);
- TextDrawSetProportional(TDRoupas[2], 1);
- TextDrawUseBox(TDRoupas[2], 1);
- TextDrawBoxColor(TDRoupas[2], -256);
- TextDrawTextSize(TDRoupas[2], 364.000000, 20.000000);
- TextDrawSetSelectable(TDRoupas[2], 1);
- TDRoupas[3] = TextDrawCreate(484.000000, 289.000000, "CANCELAR");
- TextDrawBackgroundColor(TDRoupas[3], 255);
- TextDrawFont(TDRoupas[3], 3);
- TextDrawLetterSize(TDRoupas[3], 0.440000, 1.699999);
- TextDrawColor(TDRoupas[3], -1);
- TextDrawSetOutline(TDRoupas[3], 1);
- TextDrawSetProportional(TDRoupas[3], 1);
- TextDrawUseBox(TDRoupas[3], 1);
- TextDrawBoxColor(TDRoupas[3], 128);
- TextDrawTextSize(TDRoupas[3], 553.000000, 20.000000);
- TextDrawSetSelectable(TDRoupas[3], 1);
- // seleção das skins disponíveis na loja
- for(new s; s < sizeof(SkinsDisp); s++)
- {
- FazerRandom:
- new srandom = random(sizeof(SkinsRandom));
- new novaskin = SkinsRandom[srandom][0];
- if(SkinsEscolhidas[novaskin] == true) { goto FazerRandom; }
- SkinsDisp[s][0] = novaskin;
- SkinsDisp[s][1] = SkinsRandom[srandom][1];
- SkinsEscolhidas[novaskin] = true;
- }
- //___________ TEXTDRAW CARDAPIO _______________//
- TDCardapio[0] = TextDrawCreate(514.000000, 100.000000, "_");
- TextDrawBackgroundColor(TDCardapio[0], 255);
- TextDrawFont(TDCardapio[0], 1);
- TextDrawLetterSize(TDCardapio[0], -0.109999, 28.900001);
- TextDrawColor(TDCardapio[0], -1);
- TextDrawSetOutline(TDCardapio[0], 0);
- TextDrawSetProportional(TDCardapio[0], 1);
- TextDrawSetShadow(TDCardapio[0], 1);
- TextDrawUseBox(TDCardapio[0], 1);
- TextDrawBoxColor(TDCardapio[0], 144);
- TextDrawTextSize(TDCardapio[0], 130.000000, 51.000000);
- TextDrawSetSelectable(TDCardapio[0], 0);
- TDCardapio[1] = TextDrawCreate(514.000000, 102.000000, "_");
- TextDrawBackgroundColor(TDCardapio[1], 255);
- TextDrawFont(TDCardapio[1], 1);
- TextDrawLetterSize(TDCardapio[1], 0.500000, 1.500000);
- TextDrawColor(TDCardapio[1], -1);
- TextDrawSetOutline(TDCardapio[1], 0);
- TextDrawSetProportional(TDCardapio[1], 1);
- TextDrawSetShadow(TDCardapio[1], 1);
- TextDrawUseBox(TDCardapio[1], 1);
- TextDrawBoxColor(TDCardapio[1], -16776961);
- TextDrawTextSize(TDCardapio[1], 130.000000, 0.000000);
- TextDrawSetSelectable(TDCardapio[1], 0);
- TDCardapio[2] = TextDrawCreate(499.000000, 97.000000, "X");
- TextDrawBackgroundColor(TDCardapio[2], 255);
- TextDrawFont(TDCardapio[2], 1);
- TextDrawLetterSize(TDCardapio[2], 0.479999, 2.200000);
- TextDrawColor(TDCardapio[2], -1);
- TextDrawSetOutline(TDCardapio[2], 0);
- TextDrawSetProportional(TDCardapio[2], 1);
- TextDrawSetShadow(TDCardapio[2], 1);
- TextDrawUseBox(TDCardapio[2], 1);
- TextDrawBoxColor(TDCardapio[2], -256);
- TextDrawTextSize(TDCardapio[2], 511.000000, 15.000000);
- TextDrawSetSelectable(TDCardapio[2], 1);
- TDCardapio[3] = TextDrawCreate(290.000000, 98.000000, "CARDAPIO");
- TextDrawBackgroundColor(TDCardapio[3], 255);
- TextDrawFont(TDCardapio[3], 2);
- TextDrawLetterSize(TDCardapio[3], 0.389999, 1.899999);
- TextDrawColor(TDCardapio[3], -1);
- TextDrawSetOutline(TDCardapio[3], 0);
- TextDrawSetProportional(TDCardapio[3], 1);
- TextDrawSetShadow(TDCardapio[3], 1);
- TextDrawSetSelectable(TDCardapio[3], 0);
- TDCardapio[4] = TextDrawCreate(321.000000, 130.000000, "_");
- TextDrawBackgroundColor(TDCardapio[4], 255);
- TextDrawFont(TDCardapio[4], 1);
- TextDrawLetterSize(TDCardapio[4], 1.009999, 24.100000);
- TextDrawColor(TDCardapio[4], -1);
- TextDrawSetOutline(TDCardapio[4], 0);
- TextDrawSetProportional(TDCardapio[4], 1);
- TextDrawSetShadow(TDCardapio[4], 1);
- TextDrawUseBox(TDCardapio[4], 1);
- TextDrawBoxColor(TDCardapio[4], -107);
- TextDrawTextSize(TDCardapio[4], 317.000000, 0.000000);
- TextDrawSetSelectable(TDCardapio[4], 0);
- TDCardapio[5] = TextDrawCreate(203.000000, 126.000000, "Bebidas");
- TextDrawBackgroundColor(TDCardapio[5], 255);
- TextDrawFont(TDCardapio[5], 2);
- TextDrawLetterSize(TDCardapio[5], 0.409999, 1.700000);
- TextDrawColor(TDCardapio[5], -16776961);
- TextDrawSetOutline(TDCardapio[5], 1);
- TextDrawSetProportional(TDCardapio[5], 1);
- TextDrawSetSelectable(TDCardapio[5], 0);
- TDCardapio[6] = TextDrawCreate(383.000000, 126.000000, "Lanches");
- TextDrawBackgroundColor(TDCardapio[6], 255);
- TextDrawFont(TDCardapio[6], 2);
- TextDrawLetterSize(TDCardapio[6], 0.409999, 1.700000);
- TextDrawColor(TDCardapio[6], -16776961);
- TextDrawSetOutline(TDCardapio[6], 1);
- TextDrawSetProportional(TDCardapio[6], 1);
- TextDrawSetSelectable(TDCardapio[6], 0);
- TDCardapio[7] = TextDrawCreate(146.000000, 154.000000, "AGUA");
- TextDrawBackgroundColor(TDCardapio[7], 255);
- TextDrawFont(TDCardapio[7], 2);
- TextDrawLetterSize(TDCardapio[7], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[7], -1);
- TextDrawSetOutline(TDCardapio[7], 1);
- TextDrawSetProportional(TDCardapio[7], 1);
- TextDrawUseBox(TDCardapio[7], 1);
- TextDrawBoxColor(TDCardapio[7], -256);
- TextDrawTextSize(TDCardapio[7], 174.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[7], 1);
- TDCardapio[8] = TextDrawCreate(146.000000, 172.000000, "CERVEJA");
- TextDrawBackgroundColor(TDCardapio[8], 255);
- TextDrawFont(TDCardapio[8], 2);
- TextDrawLetterSize(TDCardapio[8], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[8], -1);
- TextDrawSetOutline(TDCardapio[8], 1);
- TextDrawSetProportional(TDCardapio[8], 1);
- TextDrawUseBox(TDCardapio[8], 1);
- TextDrawBoxColor(TDCardapio[8], -256);
- TextDrawTextSize(TDCardapio[8], 192.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[8], 1);
- TDCardapio[9] = TextDrawCreate(146.000000, 189.000000, "ENERGETICO");
- TextDrawBackgroundColor(TDCardapio[9], 255);
- TextDrawFont(TDCardapio[9], 2);
- TextDrawLetterSize(TDCardapio[9], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[9], -1);
- TextDrawSetOutline(TDCardapio[9], 1);
- TextDrawSetProportional(TDCardapio[9], 1);
- TextDrawUseBox(TDCardapio[9], 1);
- TextDrawBoxColor(TDCardapio[9], -256);
- TextDrawTextSize(TDCardapio[9], 205.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[9], 1);
- TDCardapio[10] = TextDrawCreate(146.000000, 207.000000, "SUCO DE ABACAXI");
- TextDrawBackgroundColor(TDCardapio[10], 255);
- TextDrawFont(TDCardapio[10], 2);
- TextDrawLetterSize(TDCardapio[10], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[10], -1);
- TextDrawSetOutline(TDCardapio[10], 1);
- TextDrawSetProportional(TDCardapio[10], 1);
- TextDrawUseBox(TDCardapio[10], 1);
- TextDrawBoxColor(TDCardapio[10], -256);
- TextDrawTextSize(TDCardapio[10], 236.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[10], 1);
- TDCardapio[11] = TextDrawCreate(146.000000, 224.000000, "SUCO DE GOIABA");
- TextDrawBackgroundColor(TDCardapio[11], 255);
- TextDrawFont(TDCardapio[11], 2);
- TextDrawLetterSize(TDCardapio[11], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[11], -1);
- TextDrawSetOutline(TDCardapio[11], 1);
- TextDrawSetProportional(TDCardapio[11], 1);
- TextDrawUseBox(TDCardapio[11], 1);
- TextDrawBoxColor(TDCardapio[11], -256);
- TextDrawTextSize(TDCardapio[11], 229.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[11], 1);
- TDCardapio[12] = TextDrawCreate(146.000000, 242.000000, "SUCO DE MARACUJA");
- TextDrawBackgroundColor(TDCardapio[12], 255);
- TextDrawFont(TDCardapio[12], 2);
- TextDrawLetterSize(TDCardapio[12], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[12], -1);
- TextDrawSetOutline(TDCardapio[12], 1);
- TextDrawSetProportional(TDCardapio[12], 1);
- TextDrawUseBox(TDCardapio[12], 1);
- TextDrawBoxColor(TDCardapio[12], -256);
- TextDrawTextSize(TDCardapio[12], 247.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[12], 1);
- TDCardapio[13] = TextDrawCreate(146.000000, 260.000000, "SUCO DE UVA");
- TextDrawBackgroundColor(TDCardapio[13], 255);
- TextDrawFont(TDCardapio[13], 2);
- TextDrawLetterSize(TDCardapio[13], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[13], -1);
- TextDrawSetOutline(TDCardapio[13], 1);
- TextDrawSetProportional(TDCardapio[13], 1);
- TextDrawUseBox(TDCardapio[13], 1);
- TextDrawBoxColor(TDCardapio[13], -256);
- TextDrawTextSize(TDCardapio[13], 215.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[13], 1);
- TDCardapio[14] = TextDrawCreate(146.000000, 277.000000, "COCA COLA");
- TextDrawBackgroundColor(TDCardapio[14], 255);
- TextDrawFont(TDCardapio[14], 2);
- TextDrawLetterSize(TDCardapio[14], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[14], -1);
- TextDrawSetOutline(TDCardapio[14], 1);
- TextDrawSetProportional(TDCardapio[14], 1);
- TextDrawUseBox(TDCardapio[14], 1);
- TextDrawBoxColor(TDCardapio[14], -256);
- TextDrawTextSize(TDCardapio[14], 202.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[14], 1);
- TDCardapio[15] = TextDrawCreate(146.000000, 295.000000, "FANTA LARANJA");
- TextDrawBackgroundColor(TDCardapio[15], 255);
- TextDrawFont(TDCardapio[15], 2);
- TextDrawLetterSize(TDCardapio[15], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[15], -1);
- TextDrawSetOutline(TDCardapio[15], 1);
- TextDrawSetProportional(TDCardapio[15], 1);
- TextDrawUseBox(TDCardapio[15], 1);
- TextDrawBoxColor(TDCardapio[15], -256);
- TextDrawTextSize(TDCardapio[15], 224.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[15], 1);
- TDCardapio[16] = TextDrawCreate(146.000000, 312.000000, "FANTA UVA");
- TextDrawBackgroundColor(TDCardapio[16], 255);
- TextDrawFont(TDCardapio[16], 2);
- TextDrawLetterSize(TDCardapio[16], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[16], -1);
- TextDrawSetOutline(TDCardapio[16], 1);
- TextDrawSetProportional(TDCardapio[16], 1);
- TextDrawUseBox(TDCardapio[16], 1);
- TextDrawBoxColor(TDCardapio[16], -256);
- TextDrawTextSize(TDCardapio[16], 203.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[16], 1);
- TDCardapio[17] = TextDrawCreate(146.000000, 329.000000, "SPRITE");
- TextDrawBackgroundColor(TDCardapio[17], 255);
- TextDrawFont(TDCardapio[17], 2);
- TextDrawLetterSize(TDCardapio[17], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[17], -1);
- TextDrawSetOutline(TDCardapio[17], 1);
- TextDrawSetProportional(TDCardapio[17], 1);
- TextDrawUseBox(TDCardapio[17], 1);
- TextDrawBoxColor(TDCardapio[17], -256);
- TextDrawTextSize(TDCardapio[17], 183.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[17], 1);
- 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");
- TextDrawBackgroundColor(TDCardapio[18], 255);
- TextDrawFont(TDCardapio[18], 2);
- TextDrawLetterSize(TDCardapio[18], 0.319999, 1.899999);
- TextDrawColor(TDCardapio[18], -16776961);
- TextDrawSetOutline(TDCardapio[18], 1);
- TextDrawSetProportional(TDCardapio[18], 1);
- TextDrawSetSelectable(TDCardapio[18], 0);
- TDCardapio[19] = TextDrawCreate(331.000000, 154.000000, "COXINHA");
- TextDrawBackgroundColor(TDCardapio[19], 255);
- TextDrawFont(TDCardapio[19], 2);
- TextDrawLetterSize(TDCardapio[19], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[19], -1);
- TextDrawSetOutline(TDCardapio[19], 1);
- TextDrawSetProportional(TDCardapio[19], 1);
- TextDrawUseBox(TDCardapio[19], 1);
- TextDrawBoxColor(TDCardapio[19], -256);
- TextDrawTextSize(TDCardapio[19], 374.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[19], 1);
- TDCardapio[20] = TextDrawCreate(331.000000, 172.000000, "X BACON");
- TextDrawBackgroundColor(TDCardapio[20], 255);
- TextDrawFont(TDCardapio[20], 2);
- TextDrawLetterSize(TDCardapio[20], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[20], -1);
- TextDrawSetOutline(TDCardapio[20], 1);
- TextDrawSetProportional(TDCardapio[20], 1);
- TextDrawUseBox(TDCardapio[20], 1);
- TextDrawBoxColor(TDCardapio[20], -256);
- TextDrawTextSize(TDCardapio[20], 378.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[20], 1);
- TDCardapio[21] = TextDrawCreate(331.000000, 189.000000, "X BURGUER");
- TextDrawBackgroundColor(TDCardapio[21], 255);
- TextDrawFont(TDCardapio[21], 2);
- TextDrawLetterSize(TDCardapio[21], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[21], -1);
- TextDrawSetOutline(TDCardapio[21], 1);
- TextDrawSetProportional(TDCardapio[21], 1);
- TextDrawUseBox(TDCardapio[21], 1);
- TextDrawBoxColor(TDCardapio[21], -256);
- TextDrawTextSize(TDCardapio[21], 388.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[21], 1);
- TDCardapio[22] = TextDrawCreate(331.000000, 207.000000, "X EGG");
- TextDrawBackgroundColor(TDCardapio[22], 255);
- TextDrawFont(TDCardapio[22], 2);
- TextDrawLetterSize(TDCardapio[22], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[22], -1);
- TextDrawSetOutline(TDCardapio[22], 1);
- TextDrawSetProportional(TDCardapio[22], 1);
- TextDrawUseBox(TDCardapio[22], 1);
- TextDrawBoxColor(TDCardapio[22], -256);
- TextDrawTextSize(TDCardapio[22], 365.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[22], 1);
- TDCardapio[23] = TextDrawCreate(330.000000, 224.000000, "X SALADA");
- TextDrawBackgroundColor(TDCardapio[23], 255);
- TextDrawFont(TDCardapio[23], 2);
- TextDrawLetterSize(TDCardapio[23], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[23], -1);
- TextDrawSetOutline(TDCardapio[23], 1);
- TextDrawSetProportional(TDCardapio[23], 1);
- TextDrawUseBox(TDCardapio[23], 1);
- TextDrawBoxColor(TDCardapio[23], -256);
- TextDrawTextSize(TDCardapio[23], 380.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[23], 1);
- TDCardapio[24] = TextDrawCreate(329.000000, 242.000000, "EMPADA");
- TextDrawBackgroundColor(TDCardapio[24], 255);
- TextDrawFont(TDCardapio[24], 2);
- TextDrawLetterSize(TDCardapio[24], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[24], -1);
- TextDrawSetOutline(TDCardapio[24], 1);
- TextDrawSetProportional(TDCardapio[24], 1);
- TextDrawUseBox(TDCardapio[24], 1);
- TextDrawBoxColor(TDCardapio[24], -256);
- TextDrawTextSize(TDCardapio[24], 372.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[24], 1);
- TDCardapio[25] = TextDrawCreate(329.000000, 260.000000, "HOT DOG");
- TextDrawBackgroundColor(TDCardapio[25], 255);
- TextDrawFont(TDCardapio[25], 2);
- TextDrawLetterSize(TDCardapio[25], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[25], -1);
- TextDrawSetOutline(TDCardapio[25], 1);
- TextDrawSetProportional(TDCardapio[25], 1);
- TextDrawUseBox(TDCardapio[25], 1);
- TextDrawBoxColor(TDCardapio[25], -256);
- TextDrawTextSize(TDCardapio[25], 376.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[25], 1);
- TDCardapio[26] = TextDrawCreate(329.000000, 277.000000, "LANCHE NATURAL");
- TextDrawBackgroundColor(TDCardapio[26], 255);
- TextDrawFont(TDCardapio[26], 2);
- TextDrawLetterSize(TDCardapio[26], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[26], -1);
- TextDrawSetOutline(TDCardapio[26], 1);
- TextDrawSetProportional(TDCardapio[26], 1);
- TextDrawUseBox(TDCardapio[26], 1);
- TextDrawBoxColor(TDCardapio[26], -256);
- TextDrawTextSize(TDCardapio[26], 415.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[26], 1);
- TDCardapio[27] = TextDrawCreate(329.000000, 295.000000, "LANCHE 3 QUEIJOS");
- TextDrawBackgroundColor(TDCardapio[27], 255);
- TextDrawFont(TDCardapio[27], 2);
- TextDrawLetterSize(TDCardapio[27], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[27], -1);
- TextDrawSetOutline(TDCardapio[27], 1);
- TextDrawSetProportional(TDCardapio[27], 1);
- TextDrawUseBox(TDCardapio[27], 1);
- TextDrawBoxColor(TDCardapio[27], -256);
- TextDrawTextSize(TDCardapio[27], 424.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[27], 1);
- TDCardapio[28] = TextDrawCreate(329.000000, 312.000000, "PIZZA DE CALABRESA");
- TextDrawBackgroundColor(TDCardapio[28], 255);
- TextDrawFont(TDCardapio[28], 2);
- TextDrawLetterSize(TDCardapio[28], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[28], -1);
- TextDrawSetOutline(TDCardapio[28], 1);
- TextDrawSetProportional(TDCardapio[28], 1);
- TextDrawUseBox(TDCardapio[28], 1);
- TextDrawBoxColor(TDCardapio[28], -256);
- TextDrawTextSize(TDCardapio[28], 438.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[28], 1);
- TDCardapio[29] = TextDrawCreate(329.000000, 329.000000, "PIZZA DE MUSSARELA");
- TextDrawBackgroundColor(TDCardapio[29], 255);
- TextDrawFont(TDCardapio[29], 2);
- TextDrawLetterSize(TDCardapio[29], 0.310000, 1.600000);
- TextDrawColor(TDCardapio[29], -1);
- TextDrawSetOutline(TDCardapio[29], 1);
- TextDrawSetProportional(TDCardapio[29], 1);
- TextDrawUseBox(TDCardapio[29], 1);
- TextDrawBoxColor(TDCardapio[29], -256);
- TextDrawTextSize(TDCardapio[29], 440.000000, 12.000000);
- TextDrawSetSelectable(TDCardapio[29], 1);
- 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");
- TextDrawBackgroundColor(TDCardapio[30], 255);
- TextDrawFont(TDCardapio[30], 2);
- TextDrawLetterSize(TDCardapio[30], 0.319999, 1.899999);
- TextDrawColor(TDCardapio[30], -16776961);
- TextDrawSetOutline(TDCardapio[30], 1);
- TextDrawSetProportional(TDCardapio[30], 1);
- TextDrawSetSelectable(TDCardapio[30], 0);
- print(NOME_LOJA" carregado com sucesso!");
- print("Mapa: Camila Lião. Script: Ana Silva (humildadeforever).");
- return 1;
- }
- public OnFilterScriptExit()
- {
- DestruirActors();
- for(new i = 0; i < 3; i++)
- {
- DestroyPickup(PickupsLoja[i]);
- Delete3DTextLabel(TextsLoja[i]);
- }
- return 1;
- }
- public CarregarActors()
- {
- Actors[0] = CreateActor(22, 1706.3259,-2479.4817,911.9779, 275.6890); //sentado perto TV
- Actors[1] = CreateActor(11, 1715.9381,-2479.8240,911.4869,89.2540); //Atendente lanchonete
- Actors[2] = CreateActor(46, 1713.4310,-2487.9065,911.4625,270.3624); //Jogando casino na máquina
- Actors[3] = CreateActor(59, 1720.3392,-2490.0435,911.9382,98.9441); //Sentado na "biblioteca"
- Actors[4] = CreateActor(40, 1707.4049,-2486.3020,911.9201,93.2572); //Sentada loja de roupas
- Actors[5] = CreateActor(91, 1714.3359,-2478.1709,911.4625,270.2455); //Comprando na lanchonete
- Actors[6] = CreateActor(98, 1709.6660,-2481.0986,911.4625,281.8155); //Jogando casino na mesa
- Actors[7] = CreateActor(23, 1701.2172,-2475.3171,911.4692,356.9928); // Garoto do banheiro
- Actors[8] = CreateActor(163,1696.3138,-2491.0251,911.4625,265.0732); // segurança 1
- Actors[9] = CreateActor(164,1714.1770,-2490.4622,911.4625,91.4849); // segurança 2
- Actors[10] = CreateActor(165,1700.5881,-2483.5566,911.4625,353.8923); // segurança 3
- Actors[11] = CreateActor(166,1714.1677,-2474.7249,911.4625,176.3990); // segurança 4
- Actors[12] = CreateActor(169,1708.8058,-2486.3894,911.4625,180.9541); // conversando 1
- Actors[13] = CreateActor(186,1708.7218,-2487.0942,911.4625,0.3554); // conversando 2
- ApplyActorAnimation(Actors[0], "FOOD", "FF_Sit_Eat3", 4.0, 1, 1, 1, 0, 0);
- ApplyActorAnimation(Actors[1], "BAR", "Barcustom_loop", 4.0, 0, 1, 1, 1, -1);
- ApplyActorAnimation(Actors[2], "CASINO", "cards_in", 4.0, 0, 1, 1, 1, -1);
- ApplyActorAnimation(Actors[3], "FOOD", "FF_Sit_Eat3", 4.0, 0, 1, 1, 1, -1);
- ApplyActorAnimation(Actors[4], "FOOD", "FF_Sit_Eat3", 4.0, 0, 1, 1, 1, -1);
- ApplyActorAnimation(Actors[5], "INT_SHOP", "shop_lookA", 4.0, 0, 1, 1, 1, -1);
- ApplyActorAnimation(Actors[6], "CASINO", "Roulette_loop", 4.0, 1, 1, 1, 0, 0);
- ApplyActorAnimation(Actors[7], "PAULNMAC", "Piss_loop", 4.0, 0, 1, 1, 1, -1);
- ApplyActorAnimation(Actors[8], "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
- ApplyActorAnimation(Actors[9], "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
- ApplyActorAnimation(Actors[10], "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
- ApplyActorAnimation(Actors[11], "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
- ApplyActorAnimation(Actors[12], "PED", "IDLE_CHAT", 4.0, 1, 1, 1, 0, 0);
- ApplyActorAnimation(Actors[13], "PED", "DAM_stomach_frmBK", 4.0, 0, 1, 1, 1, -1);
- return 1;
- }
- DestruirActors()
- {
- for(new a; a < sizeof(Actors); a++)
- {
- DestroyActor(Actors[a]);
- }
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if(newkeys == 16)
- {
- if(IsPlayerInRangeOfPoint(playerid, 2.0, POS_ENTRADA))
- {
- SetPlayerPos(playerid, 1700.3477, -2492.9224, 910.4923+1.0);
- SendClientMessage(playerid, 0x00FF00FF, "Bem vindo a "NOME_LOJA"!");
- }
- else if(IsPlayerInRangeOfPoint(playerid, 2.0, 1700.3477, -2492.9224, 910.4923))
- {
- SetPlayerPos(playerid, POS_ENTRADA);
- SendClientMessage(playerid, 0x00FF00FF, NOME_LOJA" agradece a sua presença. Volte sempre!");
- }
- else if(IsPlayerInRangeOfPoint(playerid, 2.0, COMPRAR_ROUPA))
- {
- SetPVarInt(playerid, "Skin", GetPlayerSkin(playerid));
- TelaSkin(playerid);
- }
- else if(IsPlayerInRangeOfPoint(playerid, 2.0, COMPRA_LANCHONETE))
- {
- MostrarCardapio(playerid);
- }
- }
- return 1;
- }
- public OnPlayerClickTextDraw(playerid, Text: clickedid)
- {
- new string[110];
- //_________________________________ COMPRA DE ROUPAS ___________________________ //
- if(clickedid == TDRoupas[0]) // avançar
- {
- PlayerPlaySound(playerid,1054,0.0,0.0,0.0);
- if(SkinAtual[playerid] == (sizeof(SkinsDisp)-1))
- {
- SkinAtual[playerid] = 0;
- SetPlayerSkin(playerid, SkinsDisp[0][0]);
- return 1;
- }
- SkinAtual[playerid] ++;
- SetPlayerSkin(playerid, SkinsDisp[SkinAtual[playerid]][0]);
- format(string, sizeof(string),"~r~PRECO: ~w~R$%d", SkinsDisp[SkinAtual[playerid]][1]);
- PlayerTextDrawSetString(playerid, PrecoRoupa[playerid], string);
- return 1;
- }
- else if(clickedid == TDRoupas[1]) // voltar
- {
- PlayerPlaySound(playerid,1054,0.0,0.0,0.0);
- if(SkinAtual[playerid] == 0)
- {
- SkinAtual[playerid] = (sizeof(SkinsDisp)-1);
- SetPlayerSkin(playerid, SkinsDisp[sizeof(SkinsDisp)-1][0]);
- return 1;
- }
- SkinAtual[playerid] --;
- SetPlayerSkin(playerid, SkinsDisp[SkinAtual[playerid]][0]);
- format(string, sizeof(string),"~r~PRECO: ~w~R$%d", SkinsDisp[SkinAtual[playerid]][1]);
- PlayerTextDrawSetString(playerid, PrecoRoupa[playerid], string);
- return 1;
- }
- else if(clickedid == TDRoupas[2]) //comprar
- {
- new preco = SkinsDisp[SkinAtual[playerid]][1];
- if(GetPlayerMoney(playerid) < preco)
- {
- format(string, sizeof(string),"ERRO: Você não tem R$%d!", preco);
- SendClientMessage(playerid, -1, string);
- PlayerPlaySound(playerid,1084,0.0,0.0,0.0);
- return 1;
- }
- GivePlayerMoney(playerid, -preco);
- format(string, sizeof(string), "~r~-R$%d", preco);
- GameTextForPlayer(playerid, string, 2000, 1);
- OcultarCompra(playerid);
- ClearAnimations(playerid);
- ApplyAnimation(playerid, "CLOTHES", "CLO_Buy", 4.1, 0, 0, 0, 0, -1);
- PlayerPlaySound(playerid,1058,0.0,0.0,0.0);
- }
- else if(clickedid == TDRoupas[3]) //cancelar
- {
- SetPlayerSkin(playerid, GetPVarInt(playerid, "Skin"));
- OcultarCompra(playerid);
- return 1;
- }
- //________________________________ COMPRA NA LANCHONETE ____________________________ //
- if(clickedid == TDCardapio[2]) //fechar
- {
- OcultarCardapio(playerid);
- }
- else if(clickedid >= TDCardapio[7] && clickedid <= TDCardapio[29])
- {
- new cardapio [][][] =
- {
- {"Água", 3},
- {"Cerveja", 5},
- {"Energético", 7},
- {"Suco de abacaxi", 5},
- {"Suco de goiaba", 5},
- {"Suco de maracujá", 5},
- {"Suco de uva", 5},
- {"Coca Cola", 6},
- {"Fanta laranja", 4},
- {"Fanva uva", 4},
- {"Sprite", 5},
- {"Nada", 0},
- {"Coxinha", 3},
- {"X Bacon", 9},
- {"X Burguer", 9},
- {"X Egg", 7},
- {"X Salada", 8},
- {"Empada", 3},
- {"Hot Dog", 6},
- {"Lanche natural", 4},
- {"Lanche 3 queijos", 4},
- {"Pizza de calabresa", 5},
- {"Pizza de mussarela", 5}
- };
- new itemcomprado;
- for(new td = 7; td <= 29; td ++)
- {
- if(clickedid == TDCardapio[td])
- {
- itemcomprado = td;
- }
- }
- itemcomprado -= 7;
- new preco = cardapio[itemcomprado][1][0];
- if(GetPlayerMoney(playerid) < preco)
- {
- format(string, sizeof(string),"ERRO: Você não tem R$%d!", preco);
- SendClientMessage(playerid, -1, string);
- PlayerPlaySound(playerid,1084,0.0,0.0,0.0);
- return 1;
- }
- format(string, sizeof(string),"Você comprou um(a) %s de R$%d.", cardapio[itemcomprado][0][0], preco);
- SendClientMessage(playerid, 0xFF0000FF, string);
- GivePlayerMoney(playerid, -preco);
- format(string, sizeof(string),"~r~-R$%d", preco);
- GameTextForPlayer(playerid, string, 2000, 1);
- PlayerPlaySound(playerid,1058,0.0,0.0,0.0);
- }
- return 1;
- }
- TelaSkin(playerid)
- {
- for(new td; td < sizeof(TDRoupas); td++)
- {
- TextDrawShowForPlayer(playerid, TDRoupas[td]);
- }
- new string[25];
- format(string, sizeof(string),"~r~PRECO: ~w~R$%d", SkinsDisp[0][1]);
- PrecoRoupa[playerid] = CreatePlayerTextDraw(playerid, 466.000000, 266.000000, string);
- PlayerTextDrawBackgroundColor(playerid, PrecoRoupa[playerid], 255);
- PlayerTextDrawFont(playerid, PrecoRoupa[playerid], 3);
- PlayerTextDrawLetterSize(playerid, PrecoRoupa[playerid], 0.440000, 1.699999);
- PlayerTextDrawColor(playerid, PrecoRoupa[playerid], -1);
- PlayerTextDrawSetOutline(playerid, PrecoRoupa[playerid], 1);
- PlayerTextDrawSetProportional(playerid, PrecoRoupa[playerid], 1);
- PlayerTextDrawUseBox(playerid, PrecoRoupa[playerid], 1);
- PlayerTextDrawBoxColor(playerid, PrecoRoupa[playerid], 128);
- PlayerTextDrawShow(playerid, PrecoRoupa[playerid]);
- SelectTextDraw(playerid, 0x696969FF);
- SetPlayerSkin(playerid, SkinsDisp[0][0]);
- SkinAtual[playerid] = 0;
- TogglePlayerControllable(playerid, 0);
- return 1;
- }
- OcultarCompra(playerid)
- {
- DeletePVar(playerid, "Skin");
- CancelSelectTextDraw(playerid);
- SkinAtual[playerid] = 0;
- for(new td; td < sizeof(TDRoupas); td++)
- {
- TextDrawHideForPlayer(playerid, TDRoupas[td]);
- }
- PlayerTextDrawHide(playerid, PrecoRoupa[playerid]);
- TogglePlayerControllable(playerid, 1);
- return 1;
- }
- MostrarCardapio(playerid)
- {
- for(new td; td < sizeof(TDCardapio); td++)
- {
- TextDrawShowForPlayer(playerid, TDCardapio[td]);
- }
- SelectTextDraw(playerid, 0x00FF0080);
- TogglePlayerControllable(playerid, 0);
- return 1;
- }
- OcultarCardapio(playerid)
- {
- CancelSelectTextDraw(playerid);
- for(new td; td < sizeof(TDCardapio); td++)
- {
- TextDrawHideForPlayer(playerid, TDCardapio[td]);
- }
- TogglePlayerControllable(playerid, 1);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment