Advertisement
Guest User

Untitled

a guest
Dec 29th, 2014
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.97 KB | None | 0 0
  1. #include <a_samp>
  2. #pragma tabsize 0
  3. #include <a_objects>
  4. new Chao[10];
  5. new Chao1[13];
  6. new Muro[7];
  7. new Muro1[16];
  8. new Muro2[4];
  9. new Janela[11];
  10. new JanelaB[16];
  11. new gPlayerCitySelection[MAX_PLAYERS];
  12. new gPlayerHasCitySelected[MAX_PLAYERS];
  13. new gPlayerLastCitySelectionTick[MAX_PLAYERS];
  14. public OnPlayerConnect(playerid)
  15. {
  16. gPlayerCitySelection[playerid] = -1;
  17. gPlayerHasCitySelected[playerid] = 0;
  18. gPlayerLastCitySelectionTick[playerid] = GetTickCount();
  19. RemoveBuildingForPlayer(playerid, 5597, 2011.4688, -1300.8984, 28.6953, 0.25);
  20. RemoveBuildingForPlayer(playerid, 5636, 2042.1797, -1346.8047, 24.0078, 0.25);
  21. RemoveBuildingForPlayer(playerid, 1525, 1969.5938, -1289.6953, 24.5625, 0.25);
  22. RemoveBuildingForPlayer(playerid, 700, 1970.5078, -1328.3203, 23.3359, 0.25);
  23. RemoveBuildingForPlayer(playerid, 1308, 2007.3438, -1330.9609, 23.1641, 0.25);
  24. RemoveBuildingForPlayer(playerid, 700, 2003.4375, -1328.3203, 23.2344, 0.25);
  25. RemoveBuildingForPlayer(playerid, 620, 1989.6641, -1328.0859, 22.5703, 0.25);
  26. RemoveBuildingForPlayer(playerid, 5461, 2011.4688, -1300.8984, 28.6953, 0.25);
  27. RemoveBuildingForPlayer(playerid, 5631, 2011.4063, -1302.9453, 28.2734, 0.25);
  28. RemoveBuildingForPlayer(playerid, 620, 2039.1094, -1327.9766, 22.6016, 0.25);
  29. RemoveBuildingForPlayer(playerid, 1308, 2057.1328, -1311.2891, 23.1641, 0.25);
  30. RemoveBuildingForPlayer(playerid, 700, 2055.0938, -1311.7813, 23.2344, 0.25);
  31. RemoveBuildingForPlayer(playerid, 1308, 2057.1094, -1302.3906, 23.2422, 0.25);
  32. RemoveBuildingForPlayer(playerid, 5465, 1993.2969, -1284.9375, 26.7344, 0.25);
  33. RemoveBuildingForPlayer(playerid, 1308, 2008.6328, -1271.3125, 23.1641, 0.25);
  34. RemoveBuildingForPlayer(playerid, 673, 2054.6797, -1281.5781, 22.9453, 0.25);
  35. RemoveBuildingForPlayer(playerid, 1308, 2056.7578, -1270.7656, 23.2422, 0.25);
  36. }
  37. public OnFilterScriptInit()
  38. {
  39. new MuroBigC= CreateObject(7917, 2011.63550, -1295.73511, 22.91320, 0.00000, 0.00000, 270.00000);
  40. SetObjectMaterial(MuroBigC, 0, -1, "none", "none", 0xFFFFFFFF);
  41. new BigC= CreateObject(7885, 2011.63220, -1295.76135, 22.91110, 0.00000, 0.00000, 270.00000);
  42. SetObjectMaterial(BigC, 0, 3649, "ganghouse1_lax", "comptroof4");
  43. SetObjectMaterial(BigC, 1, 6863, "vgsnbuild07", "luxorwall01_128");
  44. SetObjectMaterial(BigC, 2, 8409, "gnhotel1", "gnhotelwall02_128", 0xFF8B4513);
  45. SetObjectMaterial(BigC, 4, 8485, "ballys01", "vgncorpdoor1_512");
  46. SetObjectMaterial(BigC, 5, 1471, "break_street2", "CJ_SLATEDWOOD", 0xFF8B4513);
  47. SetObjectMaterial(BigC, 6, 3649, "ganghouse1_lax", "comptroof4");
  48. SetObjectMaterial(BigC, 7, 1471, "break_street2", "CJ_SLATEDWOOD", 0xFFA0522D);
  49. SetObjectMaterial(BigC, 8, 10765, "airportgnd_sfse", "white", 0xFFB5B5B5);
  50. Janela[0]= CreateObject(3278, 2030.41260, -1280.39734, 24.91840, 0.00000, -90.00000, 90.00000);
  51. Janela[1]= CreateObject(3278, 2038.48694, -1282.60754, 24.91840, 0.00000, -90.00000, 0.00000);
  52. Janela[2]= CreateObject(3278, 2036.02771, -1282.60486, 24.91840, 0.00000, -90.00000, 0.00000);
  53. Janela[3]= CreateObject(3278, 1992.89795, -1280.38745, 24.91840, 0.00000, -90.00000, 90.00000);
  54. Janela[4]= CreateObject(3278, 2033.05127, -1282.61865, 24.91840, 0.00000, -90.00000, 0.00000);
  55. Janela[5]= CreateObject(3278, 2030.07776, -1282.61950, 24.91840, 0.00000, -90.00000, 0.00000);
  56. Janela[6]= CreateObject(3278, 2030.40967, -1283.05505, 24.91840, 0.00000, -90.00000, 90.00000);
  57. JanelaB[0]= CreateObject(19447, 2035.18335, -1284.30835, 26.21430, 0.00000, 90.00000, 90.00000);
  58. JanelaB[1]= CreateObject(19447, 2035.18335, -1284.30835, 23.71080, 0.00000, 90.00000, 90.00000);
  59. Janela[7]= CreateObject(3278, 1992.89795, -1283.37085, 24.91840, 0.00000, -90.00000, 90.00000);//
  60. JanelaB[2]= CreateObject(19447, 1988.83154, -1284.29675, 23.75600, 0.00000, 90.00000, 90.00000);
  61. Janela[8]= CreateObject(3278, 1991.40405, -1282.57813, 24.91840, 0.00000, -90.00000, 0.00000);
  62. Janela[9]= CreateObject(3278, 1988.46338, -1282.60229, 24.91840, 0.00000, -90.00000, 0.00000);
  63. Janela[10]= CreateObject(3278, 1985.52307, -1282.56653, 24.91840, 0.00000, -90.00000, 0.00000);
  64. for(new i = 0; i != 11; i++) SetObjectMaterial(Janela[i],0,19325, "lsmall_shops", "lsmall_window01", 0xFF4876FF);
  65. JanelaB[3]= CreateObject(19447, 1988.83154, -1284.29675, 26.20730, 0.00000, 90.00000, 90.00000);
  66. JanelaB[4]= CreateObject(19447, 2028.68689, -1283.69019, 26.21430, 0.00000, 90.00000, 0.00000);
  67. JanelaB[5]= CreateObject(19447, 2028.68689, -1283.69019, 23.71940, 0.00000, 90.00000, 0.00000);
  68. JanelaB[6]= CreateObject(19447, 1994.59399, -1283.68262, 26.20730, 0.00000, 90.00000, 0.00000);
  69. JanelaB[7]= CreateObject(19447, 1994.59399, -1283.68262, 23.74880, 0.00000, 90.00000, 0.00000);
  70. JanelaB[8]= CreateObject(19428, 1984.09705, -1284.29968, 24.62230, 90.00000, 0.00000, 0.00000);
  71. JanelaB[9]= CreateObject(19428, 1984.09705, -1284.29932, 25.33750, 90.00000, 0.00000, 0.00000);
  72. JanelaB[10]= CreateObject(19428, 1994.61584, -1278.96509, 24.62230, 90.00000, 0.00000, 90.00000);
  73. JanelaB[11]= CreateObject(19428, 1994.63562, -1278.96838, 25.34631, 90.00000, 0.00000, 90.00000);
  74. JanelaB[12]= CreateObject(19428, 2039.90625, -1284.30176, 24.58230, 90.00000, 0.00000, 0.00000);
  75. JanelaB[13]= CreateObject(19428, 2039.90625, -1284.30139, 25.35750, 90.00000, 0.00000, 0.00000);
  76. JanelaB[14]= CreateObject(19428, 2028.68982, -1278.95642, 25.35750, 90.00000, 0.00000, 90.00000);
  77. JanelaB[15]= CreateObject(19428, 2028.68982, -1278.95679, 24.61150, 90.00000, 0.00000, 90.00000);
  78. for(new i = 0; i != 16; i++) SetObjectMaterial(JanelaB[i],0,1471, "break_street2", "CJ_SLATEDWOOD", 0xFFA0522D);
  79. Chao[0]= CreateObject(8661, 2036.33813, -1320.50061, 22.98010, 0.00000, 0.00000, 0.00000);
  80. Chao[1]= CreateObject(8661, 2036.34668, -1301.36938, 22.98010, 0.00000, 0.00000, 0.00000);
  81. Chao[2]= CreateObject(8661, 2036.34668, -1281.50854, 22.98010, 0.00000, 0.00000, 0.00000);
  82. Chao[3]= CreateObject(8661, 1996.38354, -1281.50330, 22.98010, 0.00000, 0.00000, 0.00000);
  83. Chao[4]= CreateObject(8661, 1956.47620, -1281.52576, 22.98010, 0.00000, 0.00000, 0.00000);
  84. Chao[5]= CreateObject(8661, 1996.36353, -1301.47253, 22.98010, 0.00000, 0.00000, 0.00000);
  85. Chao[6]= CreateObject(8661, 1996.38354, -1320.48096, 22.98010, 0.00000, 0.00000, 0.00000);
  86. Chao[7]= CreateObject(8661, 1985.92102, -1299.36353, 22.97010, 0.00000, 0.00000, 0.00000);
  87. Chao[8]= CreateObject(8661, 1986.02148, -1320.41992, 23.01010, 0.00000, 0.00000, 0.00000);
  88. Chao[9]= CreateObject(8661, 1985.95679, -1313.36255, 22.96900, 0.00000, 0.00000, 0.00000);
  89. for(new i = 0; i != 10; i++) SetObjectMaterial(Chao[i],0,11301, "carshow_sfse", "ws_carpark2", 0xFF4F4F4F);
  90. Chao1[0]= CreateObject(18980, 2044.76282, -1330.75269, 22.47300, 0.00000, 90.00000, 0.00000);
  91. Chao1[1]= CreateObject(18980, 2019.74622, -1330.78882, 22.47300, 0.00000, 90.00000, 0.00000);
  92. Chao1[2]= CreateObject(18980, 1994.80078, -1330.69678, 22.47300, 0.00000, 90.00000, 0.00000);
  93. Chao1[3]= CreateObject(18980, 1978.53625, -1330.66272, 22.47380, 0.00000, 90.00000, 0.00000);
  94. Chao1[4]= CreateObject(18980, 2056.81665, -1317.90930, 22.47300, 0.00000, 90.00000, 90.00000);
  95. Chao1[5]= CreateObject(18980, 2056.84863, -1293.02087, 22.47300, 0.00000, 90.00000, 90.00000);
  96. Chao1[6]= CreateObject(18980, 2056.83887, -1283.21045, 22.47390, 0.00000, 90.00000, 90.00000);
  97. Chao1[7]= CreateObject(18980, 2043.90662, -1271.30518, 22.47390, 0.00000, 90.00000, 0.00000);
  98. Chao1[8]= CreateObject(18980, 2019.02588, -1271.10657, 22.47390, 0.00000, 90.00000, 0.00000);
  99. Chao1[9]= CreateObject(18980, 1994.09692, -1271.02820, 22.47390, 0.00000, 90.00000, 0.00000);
  100. Chao1[10]= CreateObject(18980, 1978.43481, -1271.17395, 22.47300, 0.00000, 90.00000, 0.00000);
  101. Chao1[11]= CreateObject(19446, 2011.50439, -1276.29285, 22.90920, 0.00000, 90.00000, 0.00000);
  102. Chao1[12]= CreateObject(19446, 2011.49780, -1285.92688, 22.90920, 0.00000, 90.00000, 0.00000);
  103. for(new i = 0; i != 13; i++) SetObjectMaterial(Chao1[i],0,10765, "airportgnd_sfse", "white");
  104. new Faixa= CreateObject(10183, 2036.22180, -1321.31543, 22.99960, 0.00000, 0.00000, 45.34360);
  105. SetObjectMaterial(Faixa, 0, -1, "none", "none", 0xFFFFFFFFF);
  106. new Faixa1= CreateObject(10183, 1986.27991, -1321.60840, 23.03960, 0.00000, 0.00000, 45.34360);
  107. SetObjectMaterial(Faixa1, 0, -1, "none", "none", 0xFFFFFFFFF);
  108. new Cad= CreateObject(19354, 2003.78198, -1319.83826, 22.92590, 0.00000, 90.00000, 90.00000);
  109. SetObjectMaterialText(Cad, "{FFFFFF}é", 0, OBJECT_MATERIAL_SIZE_128x128, "Webdings", 100, 1, 0xff00BFFF, 1, 1);
  110. new Cad1= CreateObject(19354, 2018.79187, -1319.54321, 22.90590, 0.00000, 90.00000, 90.00000);
  111. SetObjectMaterialText(Cad1, "{FFFFFF}é", 0, OBJECT_MATERIAL_SIZE_128x128, "Webdings", 100, 1, 0xff00BFFF, 1, 1);
  112. Muro[0]= CreateObject(18981, 2043.87915, -1271.98303, 11.76906, 0.00000, 0.00000, 90.00000);
  113. Muro[1]= CreateObject(18981, 2028.83105, -1271.99011, 11.76710, 0.00000, 0.00000, 90.00000);
  114. Muro[2]= CreateObject(18981, 2055.85278, -1284.94763, 11.76910, 0.00000, 0.00000, 0.00000);
  115. Muro[3]= CreateObject(18981, 2055.86279, -1309.82214, 11.76910, 0.00000, 0.00000, 0.00000);
  116. Muro[4]= CreateObject(18981, 2055.88574, -1317.99255, 11.76910, 0.00000, 0.00000, 0.00000);
  117. Muro[5]= CreateObject(18981, 1994.98157, -1271.99670, 11.76710, 0.00000, 0.00000, 90.00000);
  118. Muro[6]= CreateObject(18981, 1970.02686, -1271.99756, 11.76710, 0.00000, 0.00000, 90.00000);
  119. for(new i = 0; i != 7; i++) SetObjectMaterial(Muro[i],0,4829, "airport_las", "Grass_128HV");
  120. Muro1[0]= CreateObject(1412, 2019.18115, -1271.86584, 23.63280, 0.00000, -180.00000, 0.00000);
  121. Muro1[1]= CreateObject(1412, 2024.44031, -1271.86584, 23.63280, 0.00000, -180.00000, 0.00000);
  122. Muro1[2]= CreateObject(1412, 2029.70374, -1271.86584, 23.63280, 0.00000, -180.00000, 0.00000);
  123. Muro1[3]= CreateObject(1412, 2034.97095, -1271.86584, 23.63280, 0.00000, -180.00000, 0.00000);
  124. Muro1[4]= CreateObject(1412, 2040.23218, -1271.86584, 23.63280, 0.00000, -180.00000, 0.00000);
  125. Muro1[5]= CreateObject(1412, 2045.49780, -1271.86584, 23.63280, 0.00000, -180.00000, 0.00000);
  126. Muro1[6]= CreateObject(1412, 2050.76611, -1271.86584, 23.63280, 0.00000, -180.00000, 0.00000);
  127. Muro1[7]= CreateObject(1412, 2053.15503, -1271.86108, 23.63280, 0.00000, -180.00000, 0.00000);
  128. Muro1[8]= CreateObject(1412, 2004.68091, -1271.86584, 23.63280, 0.00000, -180.00000, 0.00000);
  129. Muro1[9]= CreateObject(1412, 1999.41492, -1271.86584, 23.63280, 0.00000, -180.00000, 0.00000);
  130. Muro1[10]= CreateObject(1412, 1994.17944, -1271.86584, 23.63280, 0.00000, -180.00000, 0.00000);
  131. Muro1[11]= CreateObject(1412, 1988.92651, -1271.86584, 23.63280, 0.00000, -180.00000, 0.00000);
  132. Muro1[12]= CreateObject(1412, 1983.68054, -1271.86584, 23.63280, 0.00000, -180.00000, 0.00000);
  133. Muro1[13]= CreateObject(1412, 1978.42896, -1271.86584, 23.63280, 0.00000, -180.00000, 0.00000);
  134. Muro1[14]= CreateObject(1412, 1973.16284, -1271.86584, 23.63280, 0.00000, -180.00000, 0.00000);
  135. Muro1[15]= CreateObject(1412, 1967.89600, -1271.86584, 23.63280, 0.00000, -180.00000, 0.00000);
  136. Muro2[0]= CreateObject(8647, 2031.24146, -1271.82263, 24.07630, 0.00000, 0.00000, 90.00000);
  137. Muro2[1]= CreateObject(8645, 2040.30225, -1271.83069, 24.05450, 0.00000, 0.00000, 0.00000);
  138. Muro2[2]= CreateObject(8647, 1992.55664, -1271.81128, 24.07630, 0.00000, 0.00000, 270.00000);
  139. Muro2[3]= CreateObject(8647, 1969.49255, -1271.81055, 24.07610, 0.00000, 0.00000, 270.00000);
  140. for(new i = 0; i != 4; i++) SetObjectMaterial(Muro2[i],0,14652, "ab_trukstpa", "mp_diner_wood");
  141. for(new i = 0; i != 4; i++) SetObjectMaterial(Muro2[i],1,14652, "ab_trukstpa", "mp_diner_wood");
  142. for(new i = 0; i != 16; i++) SetObjectMaterial(Muro1[i],0, 14652, "ab_trukstpa", "mp_diner_wood");
  143. for(new i = 0; i != 16; i++) SetObjectMaterial(Muro1[i],1,3715, "archlax", "ws_greymetal", 0xFF000000);
  144. CreateObject(1432, 2009.02356, -1281.04053, 27.02480, 0.00000, 0.00000, 0.00000);
  145. CreateObject(1432, 2011.08008, -1287.46265, 27.02480, 0.00000, 0.00000, 0.00000);
  146. CreateObject(1432, 2017.08179, -1287.77979, 27.02480, 0.00000, 0.00000, 0.00000);
  147. CreateObject(1432, 2018.54089, -1283.63574, 27.02480, 0.00000, 0.00000, 0.00000);
  148. CreateObject(1432, 2022.43799, -1287.67114, 27.02480, 0.00000, 0.00000, 0.00000);
  149. CreateObject(1432, 2013.56250, -1280.79785, 27.02480, 0.00000, 0.00000, 0.00000);
  150. CreateObject(1432, 2005.48682, -1287.61267, 27.02480, 0.00000, 0.00000, 0.00000);
  151. CreateObject(1432, 2002.70740, -1284.50220, 27.02480, 0.00000, 0.00000, 0.00000);
  152. CreateObject(1652, 2055.76831, -1284.66187, 24.24830, 0.00000, -180.00000, 90.00000);
  153. CreateObject(1652, 2055.75684, -1310.24304, 24.24830, 0.00000, -180.00000, 90.00000);
  154. CreateObject(1652, 2055.77808, -1316.64526, 24.24830, 0.00000, -180.00000, 90.00000);
  155. CreateObject(1232, 2055.86987, -1329.95959, 22.81970, 0.00000, 0.00000, 0.00000);
  156. CreateObject(1232, 2054.89404, -1271.86255, 22.99970, 0.00000, 0.00000, 0.00000);
  157. CreateObject(1232, 2016.59814, -1271.70313, 22.91970, 0.00000, 0.00000, 0.00000);
  158. CreateObject(1232, 2007.16455, -1271.84521, 22.97970, 0.00000, 0.00000, 0.00000);
  159. CreateObject(1232, 1968.86792, -1271.81274, 23.01970, 0.00000, 0.00000, 0.00000);
  160. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement