Guest User

Untitled

a guest
Jan 6th, 2015
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.10 KB | None | 0 0
  1. #include <a_samp>
  2. #pragma tabsize 0
  3. #include <a_objects>
  4. new Chao[11];
  5. new MuroExt[11];
  6. new Balcao[5];
  7. new MuroInt[4];
  8. new Bancos[4];
  9. new Parede2[4];
  10. new gPlayerCitySelection[MAX_PLAYERS];
  11. new gPlayerHasCitySelected[MAX_PLAYERS];
  12. new gPlayerLastCitySelectionTick[MAX_PLAYERS];
  13. public OnPlayerConnect(playerid)
  14. {
  15. gPlayerCitySelection[playerid] = -1;
  16. gPlayerHasCitySelected[playerid] = 0;
  17. gPlayerLastCitySelectionTick[playerid] = GetTickCount();
  18. RemoveBuildingForPlayer(playerid, 17744, 2303.4141, -1622.4219, 9.0547, 0.25);
  19. RemoveBuildingForPlayer(playerid, 17761, 2317.5156, -1639.9453, 18.2422, 0.25);
  20. RemoveBuildingForPlayer(playerid, 17874, 2281.3672, -1643.5313, 19.3047, 0.25);
  21. RemoveBuildingForPlayer(playerid, 17619, 2303.4141, -1622.4219, 9.0547, 0.25);
  22. RemoveBuildingForPlayer(playerid, 17577, 2317.5156, -1639.9453, 18.2422, 0.25);
  23. RemoveBuildingForPlayer(playerid, 17578, 2318.1719, -1645.4609, 20.1797, 0.25);
  24. RemoveBuildingForPlayer(playerid, 17579, 2318.1484, -1645.4609, 20.1797, 0.25);
  25. }
  26. public OnFilterScriptInit()
  27. {
  28. new BarLogo= CreateObject(17578, 2318.17188, -1645.46094, 20.17970, 0.00000, 0.00000, 0.00000);
  29. SetObjectMaterial(BarLogo, 2, -1, "none", "none", 0xFF7FFF00);
  30. SetObjectMaterial(BarLogo, 1, -1, "none", "none", 0xFFFFFFFF);
  31. new BarExt= CreateObject(17577, 2317.51563, -1639.94531, 18.24220, 0.00000, 0.00000, 0.00000);
  32. SetObjectMaterial(BarExt, 2, 5706, "ci_studio5", "tw@t_wall1", 0xFFFFFFFF);
  33. SetObjectMaterial(BarExt, 0, 5706, "ci_studio5", "tw@t_wall1", 0xFFFFFFFF);
  34. SetObjectMaterial(BarExt, 4, 3649, "ganghouse1_lax", "comptroof4");
  35. SetObjectMaterial(BarExt, 6, 1479, "gazebo", "CJ_W_wood");
  36. SetObjectMaterial(BarExt, 3, 5706, "ci_studio5", "tw@t_wall1", 0xFFFFFFFF);
  37. SetObjectMaterial(BarExt, 1, 11301, "carshow_sfse", "ws_carpark2", 0xFF4F4F4F);
  38. new JanelaExt= CreateObject(19325, 2322.79858, -1644.66602, 15.3661, 0.00000, 0.00000, 90.00000);
  39. SetObjectMaterial(JanelaExt, 0, 6287, "pierc_law2", "beachwall1_256", 0xFFFFFFFF);
  40. new JanelaExt1= CreateObject(19325, 2317.33008, -1644.65601, 15.2461, 0.00000, 0.00000, 90.00000);
  41. SetObjectMaterial(JanelaExt1, 0, 6287, "pierc_law2", "beachwall1_256", 0xFFFFFFFF);
  42. new JanelaExt2= CreateObject(19325, 2314.54224, -1644.60876, 15.2461, 0.00000, 0.00000, 90.00000);
  43. SetObjectMaterial(JanelaExt2, 0, 6287, "pierc_law2", "beachwall1_256", 0xFFFFFFFF);
  44. new JanelaExt3= CreateObject(19325, 2308.98706, -1639.2582, 15.2461, 0.00000, 0.00000, 0.00000);
  45. SetObjectMaterial(JanelaExt3, 0, 6287, "pierc_law2", "beachwall1_256", 0xFFFFFFFF);
  46. new Logo= CreateObject(17579, 2318.14844, -1645.46094, 20.17970, 0.00000, 0.00000, 0.00000);
  47. SetObjectMaterial(Logo, 0, -1, "none", "none", 0xFF7FFF00);
  48. new Muro= CreateObject(17619, 2303.41406, -1622.42188, 9.05470, 0.00000, 0.00000, 0.00000);
  49. SetObjectMaterial(Muro, 5, 8671, "vegassland62", "ws_stonewall", 0xFFFFFFFF);
  50. CreateObject(1498, 2309.81250, -1642.66406, 13.79690, 0.00000, 0.00000, -44.00000);
  51. MuroExt[0]= CreateObject(970, 2300.16040, -1648.74609, 14.44610, 0.00000, 0.00000, 0.00000);
  52. MuroExt[1]= CreateObject(970, 2296.03467, -1648.74756, 14.44610, 0.00000, 0.00000, 0.00000);
  53. MuroExt[2]= CreateObject(970, 2293.94409, -1646.66650, 14.44610, 0.00000, 0.00000, 90.00000);
  54. MuroExt[3]= CreateObject(970, 2293.94409, -1642.51050, 14.44610, 0.00000, 0.00000, 90.00000);
  55. MuroExt[4]= CreateObject(970, 2293.94409, -1638.34314, 14.44610, 0.00000, 0.00000, 90.00000);
  56. MuroExt[5]= CreateObject(970, 2293.94409, -1634.17822, 14.44610, 0.00000, 0.00000, 90.00000);
  57. MuroExt[6]= CreateObject(970, 2293.94409, -1630.04126, 14.44610, 0.00000, 0.00000, 90.00000);
  58. MuroExt[7]= CreateObject(970, 2293.95728, -1628.77576, 14.44610, 0.00000, 0.00000, 90.00000);
  59. MuroExt[8]= CreateObject(970, 2311.24048, -1647.47412, 13.85610, 0.00000, 0.00000, 0.00000);
  60. MuroExt[9]= CreateObject(970, 2315.67578, -1647.68591, 13.85610, 0.00000, 0.00000, 0.00000);
  61. MuroExt[10]= CreateObject(970, 2318.09497, -1647.68994, 13.85610, 0.00000, 0.00000, 0.00000);
  62. for(new i = 0; i != 11; i++) SetObjectMaterial(MuroExt[i],0,6489, "councl_law2", "lanlabra1_M");
  63. for(new i = 0; i != 11; i++) SetObjectMaterial(MuroExt[i],1,5706, "ci_studio5", "tw@t_wall1", 0xFFFFFFFF);
  64. CreateObject(1432, 2318.37891, -1646.66589, 13.89960, 0.00000, 0.00000, 0.00000);
  65. CreateObject(1432, 2315.34131, -1646.57312, 13.89960, 0.00000, 0.00000, 0.00000);
  66. CreateObject(1432, 2312.43457, -1646.69727, 13.89960, 0.00000, 0.00000, 0.00000);
  67. Chao[0]= CreateObject(19377, 2312.31470, -1643.37744, 13.71960, 0.00000, 90.00000, 0.00000);
  68. Chao[1]= CreateObject(19377, 2322.61108, -1643.39136, 13.71960, 0.00000, 90.00000, 0.00000);
  69. Chao[2]= CreateObject(19377, 2322.60132, -1636.66748, 13.71960, 0.00000, 90.00000, 0.00000);
  70. Chao[3]= CreateObject(19377, 2322.83032, -1636.68481, 13.51960, 0.00000, 90.00000, 0.00000);
  71. Chao[4]= CreateObject(19377, 2322.83105, -1643.63147, 13.51960, 0.00000, 90.00000, 0.00000);
  72. Chao[5]= CreateObject(19377, 2312.07471, -1643.63745, 13.51960, 0.00000, 90.00000, 0.00000);
  73. Chao[6]= CreateObject(19377, 2318.99927, -1643.63538, 13.51960, 0.00000, 90.00000, 0.00000);
  74. Chao[7]= CreateObject(19377, 2312.05688, -1636.38562, 13.51960, 0.00000, 90.00000, 0.00000);
  75. Chao[8]= CreateObject(19377, 2312.33154, -1636.64417, 13.71960, 0.00000, 90.00000, 0.00000);
  76. Chao[9]= CreateObject(19377, 2322.59912, -1636.63684, 13.71960, 0.00000, 90.00000, 0.00000);
  77. Chao[10]= CreateObject(19377, 2319.92554, -1636.36877, 13.51960, 0.00000, 90.00000, 0.00000);
  78. for(new i = 0; i != 11; i++) SetObjectMaterial(Chao[i],0,10765, "airportgnd_sfse", "white");
  79. ///////////////Interior//////////////
  80. new BarInterior= CreateObject(18024, 181.78081, -39.57820, 1003.95313, 0.00000, 0.00000, 0.00000);
  81. SetObjectMaterial(BarInterior, 1, 1675, "wshxrefhse", "washdecowall3256");
  82. SetObjectMaterial(BarInterior, 2, 8671, "vegassland62", "ws_stonewall");
  83. SetObjectMaterial(BarInterior, 0, 16150, "ufo_bar", "dinerfloor01_128");
  84. SetObjectMaterial(BarInterior, 3, 16150, "ufo_bar", "dinerfloor01_128");
  85. SetObjectMaterial(BarInterior, 4, 6287, "pierc_law2", "beachwall1_256");
  86. Balcao[0]= CreateObject(2423, 174.97701, -32.82880, 1001.23523, 0.00000, 0.00000, 0.00000);
  87. Balcao[1]= CreateObject(2424, 175.04520, -31.78400, 1001.23572, 0.00000, 0.00000, 90.00000);
  88. Balcao[2]= CreateObject(2424, 175.04520, -30.85380, 1001.23572, 0.00000, 0.00000, 90.00000);
  89. Balcao[3]= CreateObject(2424, 174.04210, -32.82880, 1001.23572, 0.00000, 0.00000, 0.00000);
  90. Balcao[4]= CreateObject(2424, 173.11349, -32.82880, 1001.23572, 0.00000, 0.00000, 0.00000);
  91. for(new i = 0; i != 5; i++) SetObjectMaterial(Balcao[i],4,1471, "break_street2", "CJ_SLATEDWOOD", 0xFFA0522D);
  92. for(new i = 0; i != 5; i++) SetObjectMaterial(Balcao[i],2,10765, "airportgnd_sfse", "white");
  93. for(new i = 0; i != 5; i++) SetObjectMaterial(Balcao[i],1,10765, "airportgnd_sfse", "white", 0xFF000000);
  94. CreateObject(2350, 176.20523, -31.09839, 1001.61682, 0.00000, 0.00000, 0.00000);
  95. CreateObject(2350, 176.14449, -32.26881, 1001.61682, 0.00000, 0.00000, 0.00000);
  96. CreateObject(2350, 175.58401, -33.34858, 1001.61682, 0.00000, 0.00000, 0.00000);
  97. CreateObject(2350, 173.32021, -33.76611, 1001.61682, 0.00000, 0.00000, 0.00000);
  98. CreateObject(2350, 174.46309, -33.70725, 1001.61682, 0.00000, 0.00000, 0.00000);
  99. new ChaoInt= CreateObject(19377, 182.32021, -30.74860, 1001.11407, 0.00000, 90.00000, 0.00000);
  100. SetObjectMaterial(ChaoInt, 0, 16150, "ufo_bar", "dinerfloor01_128");
  101. new Chao2I= CreateObject(19378, 182.30630, -35.49190, 995.93573, 0.00000, 0.00000, 90.00000);
  102. SetObjectMaterial(Chao2I, 0, 8671, "vegassland62", "ws_stonewall");
  103. new Chao2Int= CreateObject(19378, 181.86560, -35.48300, 995.93573, 0.00000, 0.00000, 90.00000);
  104. SetObjectMaterial(Chao2Int, 0, 8671, "vegassland62", "ws_stonewall");
  105. MuroInt[0]= CreateObject(970, 179.19824, -35.55564, 1001.29639, 0.00000, 0.00000, 0.00000);
  106. MuroInt[1]= CreateObject(970, 183.36620, -35.55670, 1001.29639, 0.00000, 0.00000, 0.00000);
  107. MuroInt[2]= CreateObject(970, 187.53720, -35.55630, 1001.29639, 0.00000, 0.00000, 0.00000);
  108. MuroInt[3]= CreateObject(970, 177.08321, -30.63580, 1001.29639, 0.00000, 0.00000, 90.00000);
  109. for(new i = 0; i != 4; i++) SetObjectMaterial(MuroInt[i],0,6489, "councl_law2", "lanlabra1_M");
  110. for(new i = 0; i != 4; i++) SetObjectMaterial(MuroInt[i],1,5706, "ci_studio5", "tw@t_wall1", 0xFFFFFFFF);
  111. Bancos[0]= CreateObject(1704, 185.89742, -31.55452, 1001.19849, 0.00000, 0.00000, 331.60843);
  112. CreateObject(1827, 185.38609, -33.02426, 1001.20062, 0.00000, 0.00000, 0.00000);
  113. Bancos[1]= CreateObject(1704, 183.62279, -32.00839, 1001.19849, 0.00000, 0.00000, 30.89241);
  114. CreateObject(1827, 180.94099, -33.30374, 1001.20062, 0.00000, 0.00000, 0.00000);
  115. Bancos[2]= CreateObject(1704, 179.19069, -32.63132, 1001.19849, 0.00000, 0.00000, 30.89241);
  116. Bancos[3]= CreateObject(1704, 181.29292, -31.25969, 1001.19849, 0.00000, 0.00000, 331.60843);
  117. for(new i = 0; i != 4; i++) SetObjectMaterial(Bancos[i],0, 4981, "wiresetc2_las", "lasunion7", 0xFFFFFFFF);
  118. for(new i = 0; i != 4; i++) SetObjectMaterial(Bancos[i],1,5706, "ci_studio5", "tw@t_wall1", 0xFFFFFFFF);
  119. new PilarB= CreateObject(18980, 184.33844, -40.27214, 1000.80133, 0.00000, 0.00000, 0.00000);
  120. SetObjectMaterial(PilarB, 0, 4002, "cityhall_lan", "LAcityhwal1", 0xFFFFFFFF);
  121. new PilarV= CreateObject(18980, 184.37939, -40.31060, 1000.80127, 0.00000, 0.00000, 45.00000);
  122. SetObjectMaterial(PilarV, 0, 5706, "ci_studio5", "tw@t_wall1", 0xFFFFFFFF);
  123. new PilarV1= CreateObject(18980, 174.66621, -40.19774, 1000.80127, 0.00000, 0.00000, 45.00000);
  124. SetObjectMaterial(PilarV1, 0, 5706, "ci_studio5", "tw@t_wall1", 0xFFFFFFFF);
  125. new PilarB1= CreateObject(18980, 174.66620, -40.19770, 1000.80127, 0.00000, 0.00000, 0.00000);
  126. SetObjectMaterial(PilarB1, 0, 4002, "cityhall_lan", "LAcityhwal1", 0xFFFFFFFF);
  127. CreateObject(1594, 176.73906, -40.33704, 1001.27838, 0.00000, 0.00000, 0.00000);
  128. CreateObject(1594, 181.90514, -40.37393, 1001.27838, 0.00000, 0.00000, 0.00000);
  129. CreateObject(1594, 185.34407, -37.49265, 1001.27838, 0.00000, 0.00000, 0.00000);
  130. CreateObject(1594, 173.77417, -37.53933, 1001.27838, 0.00000, 0.00000, 0.00000);
  131. CreateObject(1594, 173.33379, -47.21521, 1001.27838, 0.00000, 0.00000, 0.00000);
  132. CreateObject(1594, 184.74896, -47.14285, 1001.27838, 0.00000, 0.00000, 0.00000);
  133. CreateObject(1594, 181.03482, -44.42043, 1001.27838, 0.00000, 0.00000, 0.00000);
  134. new Parede= CreateObject(19375, 187.19640, -41.59440, 1000.80109, 0.00000, 0.00000, 0.00000);
  135. SetObjectMaterial(Parede, 0, 1675, "wshxrefhse", "washdecowall3256");
  136. new TV= CreateObject(2267, 176.04880, -30.64410, 1003.41602, 0.00000, 0.00000, 0.00000);
  137. SetObjectMaterial(TV, 1, 1786, "cj_tv", "CJ_Black_metal", 0xFF000000);
  138. SetObjectMaterial(TV, 0, 1786, "cj_tv", "CJ_Black_metal", 0xFF888888);
  139. new TV1= CreateObject(2267, 171.79649, -33.37710, 1003.41602, 0.00000, 0.00000, 90.00000);
  140. SetObjectMaterial(TV1, 1, 1786, "cj_tv", "CJ_Black_metal", 0xFF000000);
  141. SetObjectMaterial(TV1, 0, 1786, "cj_tv", "CJ_Black_metal", 0xFF888888);
  142. CreateObject(1557, 178.67081, -49.38660, 1000.82178, 0.00000, 0.00000, 0.00000);
  143. CreateObject(14565, 170.76050, -23.39910, 1004.46320, 0.00000, 0.00000, 0.00000);
  144. CreateObject(14565, 170.76050, -23.39910, 1005.37421, 0.00000, 0.00000, 0.00000);
  145. CreateObject(14565, 166.07680, -29.61250, 1004.46320, 0.00000, 0.00000, 270.00000);
  146. CreateObject(14565, 166.07680, -29.61250, 1005.37421, 0.00000, 0.00000, 270.00000);
  147. Parede2[0]= CreateObject(18980, 171.29520, -38.09370, 1001.00098, -90.00000, 0.00000, 0.00000);
  148. Parede2[1]= CreateObject(18980, 174.86971, -30.13970, 1001.00098, -90.00000, 0.00000, 90.00000);
  149. Parede2[2]= CreateObject(18980, 176.14040, -49.82830, 1001.00098, -90.00000, 0.00000, 90.00000);
  150. Parede2[3]= CreateObject(18980, 187.59579, -42.59120, 1001.00098, -90.00000, 0.00000, 0.00000);
  151. for(new i = 0; i != 4; i++) SetObjectMaterial(Parede2[i],0,5706, "ci_studio5", "tw@t_wall1", 0xFFFFFFFF);
  152. CreateObject(2964, 184.93820, -43.69189, 1000.80182, 0.00000, 0.00000, 90.00000);
  153. CreateObject(2964, 173.93796, -43.10834, 1000.80182, 0.00000, 0.00000, 90.00000);
  154. CreateObject(2964, 180.27209, -37.44134, 1000.80182, 0.00000, 0.00000, 0.00000);
  155. }
Add Comment
Please, Sign In to add comment