Advertisement
BanhVo

Untitled

Nov 23rd, 2017
444
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.51 KB | None | 0 0
  1. //Map Exported with Texture Studio By: [uL]Pottus////////////////////////////////////////////////////////////////
  2. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  3. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  4. #include <a_samp>
  5. #include <Streamer>
  6.  
  7. forward GateCheck();
  8.  
  9. new AutomaticGate1, AutomaticGate2;
  10.  
  11. public OnFilterScriptInit()
  12. {
  13. new tmpobjid;
  14. tmpobjid = CreateObject(9131, 1304.576416, -1868.758911, 13.596875, 0.000000, 0.000000, 0.000000, 300.00);
  15. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  16. tmpobjid = CreateObject(9131, 1304.576416, -1868.758911, 15.856863, 0.000000, 0.000000, 0.000000, 300.00);
  17. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  18. SetObjectMaterial(tmpobjid, 1, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  19. tmpobjid = CreateObject(9131, 1304.576416, -1868.758911, 18.116872, 0.000000, 0.000000, 0.000000, 300.00);
  20. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  21. tmpobjid = CreateObject(9131, 1303.055541, -1868.758911, 12.936869, 0.000000, 90.000000, 0.000000, 300.00);
  22. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  23. tmpobjid = CreateObject(9131, 1300.794555, -1868.758911, 12.936869, 0.000000, 90.000000, 0.000000, 300.00);
  24. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  25. tmpobjid = CreateObject(9131, 1298.534057, -1868.758911, 12.936869, 0.000000, 90.000000, 0.000000, 300.00);
  26. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  27. tmpobjid = CreateObject(9131, 1293.893798, -1868.758911, 12.936869, 0.000000, 90.000000, 0.000000, 300.00);
  28. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  29. tmpobjid = CreateObject(9131, 1291.623168, -1868.758911, 12.936869, 0.000000, 90.000000, 0.000000, 300.00);
  30. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  31. tmpobjid = CreateObject(9131, 1294.654663, -1868.758911, 13.596875, 0.000000, 0.000000, 0.000000, 300.00);
  32. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  33. tmpobjid = CreateObject(9131, 1289.354003, -1868.758911, 12.936869, 0.000000, 90.000000, 0.000000, 300.00);
  34. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  35. tmpobjid = CreateObject(9131, 1287.844726, -1868.758911, 13.596875, 0.000000, 0.000000, 0.000000, 300.00);
  36. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  37. tmpobjid = CreateObject(9131, 1304.576416, -1868.758911, 20.376874, 0.000000, 0.000000, 0.000000, 300.00);
  38. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  39. tmpobjid = CreateObject(9131, 1297.776000, -1868.758911, 13.596875, 0.000000, 0.000000, 0.000000, 300.00);
  40. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  41. tmpobjid = CreateObject(9131, 1297.776123, -1868.758911, 15.856863, 0.000000, 0.000000, 0.000000, 300.00);
  42. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  43. tmpobjid = CreateObject(9131, 1294.655517, -1868.758911, 15.856863, 0.000000, 0.000000, 0.000000, 300.00);
  44. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  45. tmpobjid = CreateObject(9131, 1287.843261, -1868.758911, 15.856863, 0.000000, 0.000000, 0.000000, 300.00);
  46. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  47. tmpobjid = CreateObject(9131, 1297.775878, -1868.758911, 18.116872, 0.000000, 0.000000, 0.000000, 300.00);
  48. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  49. tmpobjid = CreateObject(9131, 1294.655639, -1868.758911, 18.116872, 0.000000, 0.000000, 0.000000, 300.00);
  50. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  51. tmpobjid = CreateObject(9131, 1287.843750, -1868.758911, 18.116872, 0.000000, 0.000000, 0.000000, 300.00);
  52. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  53. tmpobjid = CreateObject(9131, 1297.775390, -1868.758911, 20.376874, 0.000000, 0.000000, 0.000000, 300.00);
  54. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  55. tmpobjid = CreateObject(9131, 1294.654785, -1868.758911, 20.376874, 0.000000, 0.000000, 0.000000, 300.00);
  56. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  57. tmpobjid = CreateObject(9131, 1287.833374, -1868.758911, 20.376874, 0.000000, 0.000000, 0.000000, 300.00);
  58. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  59. tmpobjid = CreateObject(9131, 1289.354003, -1868.758911, 21.126873, 0.000000, 90.000000, 0.000000, 300.00);
  60. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  61. tmpobjid = CreateObject(9131, 1291.604248, -1868.758911, 21.126873, 0.000000, 90.000000, 0.000000, 300.00);
  62. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  63. tmpobjid = CreateObject(9131, 1293.874389, -1868.758911, 21.126873, 0.000000, 90.000000, 0.000000, 300.00);
  64. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  65. tmpobjid = CreateObject(9131, 1295.815063, -1868.758911, 21.126873, 0.000000, 90.000000, 0.000000, 300.00);
  66. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  67. tmpobjid = CreateObject(9131, 1298.085937, -1868.758911, 21.126873, 0.000000, 90.000000, 0.000000, 300.00);
  68. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  69. tmpobjid = CreateObject(9131, 1300.336059, -1868.758911, 21.126873, 0.000000, 90.000000, 0.000000, 300.00);
  70. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  71. tmpobjid = CreateObject(9131, 1302.605957, -1868.758911, 21.126873, 0.000000, 90.000000, 0.000000, 300.00);
  72. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  73. tmpobjid = CreateObject(9131, 1304.846313, -1868.758911, 21.126873, 0.000000, 90.000000, 0.000000, 300.00);
  74. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  75. tmpobjid = CreateObject(19377, 1287.373535, -1873.942871, 16.242519, 0.000000, 0.000000, 0.000000, 300.00);
  76. SetObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
  77. tmpobjid = CreateObject(19377, 1287.353515, -1875.794067, 16.242519, 0.000000, 0.000000, 0.000000, 300.00);
  78. SetObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
  79. tmpobjid = CreateObject(19377, 1305.045532, -1873.942871, 16.242519, 0.000000, 0.000000, 0.000000, 300.00);
  80. SetObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
  81. tmpobjid = CreateObject(19377, 1305.043945, -1875.794067, 16.242519, 0.000000, 0.000000, 0.000000, 300.00);
  82. SetObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
  83. tmpobjid = CreateObject(19377, 1300.184204, -1880.596557, 16.242519, 0.000000, 0.000000, 90.000000, 300.00);
  84. SetObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
  85. tmpobjid = CreateObject(19377, 1292.103393, -1880.596557, 16.242519, 0.000000, 0.000000, 90.000000, 300.00);
  86. SetObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
  87. tmpobjid = CreateObject(19377, 1292.282104, -1874.387207, 12.492515, 0.000000, 90.000000, 90.000000, 300.00);
  88. SetObjectMaterial(tmpobjid, 0, 16639, "a51_labs", "ws_trainstationwin1", 0x00000000);
  89. tmpobjid = CreateObject(19377, 1301.893920, -1874.387207, 12.492515, 0.000000, 90.000000, 90.000000, 300.00);
  90. SetObjectMaterial(tmpobjid, 0, 16639, "a51_labs", "ws_trainstationwin1", 0x00000000);
  91. tmpobjid = CreateObject(19377, 1301.893920, -1884.869750, 12.492515, 0.000000, 90.000000, 90.000000, 300.00);
  92. SetObjectMaterial(tmpobjid, 0, 16639, "a51_labs", "ws_trainstationwin1", 0x00000000);
  93. tmpobjid = CreateObject(19377, 1292.293090, -1884.869750, 12.492515, 0.000000, 90.000000, 90.000000, 300.00);
  94. SetObjectMaterial(tmpobjid, 0, 16639, "a51_labs", "ws_trainstationwin1", 0x00000000);
  95. tmpobjid = CreateObject(19377, 1292.282104, -1874.387207, 21.472536, 0.000000, 90.000000, 90.000000, 300.00);
  96. SetObjectMaterial(tmpobjid, 0, 18996, "mattextures", "wood020", 0x00000000);
  97. tmpobjid = CreateObject(19377, 1292.282104, -1875.428222, 21.522539, 0.000000, 90.000000, 90.000000, 300.00);
  98. SetObjectMaterial(tmpobjid, 0, 18996, "mattextures", "wood020", 0x00000000);
  99. tmpobjid = CreateObject(19377, 1301.913574, -1875.428222, 21.522539, 0.000000, 90.000000, 90.000000, 300.00);
  100. SetObjectMaterial(tmpobjid, 0, 18996, "mattextures", "wood020", 0x00000000);
  101. tmpobjid = CreateObject(19377, 1301.893920, -1874.387207, 21.472524, 0.000000, 90.000000, 90.000000, 300.00);
  102. SetObjectMaterial(tmpobjid, 0, 18996, "mattextures", "wood020", 0x00000000);
  103. tmpobjid = CreateObject(19787, 1287.400756, -1874.829711, 14.958452, 0.000000, 0.000000, 90.000000, 300.00);
  104. SetObjectMaterial(tmpobjid, 1, 18901, "matclothes", "bandanaelec", 0x00000000);
  105. tmpobjid = CreateObject(19609, 1289.482177, -1877.957641, 12.578454, 0.000000, 0.000000, 127.400009, 300.00);
  106. SetObjectMaterial(tmpobjid, 1, 19058, "xmasboxes", "wrappingpaper16", 0x00000000);
  107. tmpobjid = CreateObject(19609, 1290.238403, -1871.369628, 12.578454, 0.000000, 0.000000, 65.500007, 300.00);
  108. SetObjectMaterial(tmpobjid, 1, 18835, "mickytextures", "smileyface2", 0x00000000);
  109. tmpobjid = CreateObject(19421, 1299.053222, -1870.511840, 13.738451, 0.000000, 0.000000, 0.000000, 300.00);
  110. SetObjectMaterial(tmpobjid, 1, 18835, "mickytextures", "whiteforletters", 0x00000000);
  111. tmpobjid = CreateObject(19421, 1300.653686, -1870.511840, 13.738451, 0.000000, 0.000000, 0.000000, 300.00);
  112. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  113. tmpobjid = CreateObject(19421, 1302.274047, -1870.511840, 13.738451, 0.000000, 0.000000, 0.000000, 300.00);
  114. SetObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "smileyface2", 0x00000000);
  115. tmpobjid = CreateObject(19421, 1303.884155, -1870.511840, 13.738451, 0.000000, 0.000000, 0.000000, 300.00);
  116. SetObjectMaterial(tmpobjid, 0, 18901, "matclothes", "bandanaelec", 0x00000000);
  117. tmpobjid = CreateObject(19893, 1295.970947, -1877.747802, 13.368462, 0.000000, 0.000000, 17.700000, 300.00);
  118. SetObjectMaterial(tmpobjid, 1, 11631, "mp_ranchcut", "CJ_PAINTING20", 0x00000000);
  119. tmpobjid = CreateObject(9131, 1293.914062, -1868.758911, 13.926877, 0.000000, 0.000000, 0.000000, 300.00);
  120. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  121. tmpobjid = CreateObject(9131, 1298.526733, -1868.758911, 13.916880, 0.000000, 0.000000, 0.000000, 300.00);
  122. SetObjectMaterial(tmpobjid, 0, 19058, "xmasboxes", "wrappingpaper28", 0x00000000);
  123. tmpobjid = CreateObject(19355, 1296.011108, -1869.037841, 16.821622, 0.000000, 0.000000, 90.000000, 300.00);
  124. SetObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
  125. tmpobjid = CreateObject(19483, 1304.926269, -1874.545532, 17.608449, 6.300002, 0.000000, 0.000000, 300.00);
  126. SetObjectMaterial(tmpobjid, 0, 19173, "samppictures", "samppicture1", 0x00000000);
  127. tmpobjid = CreateObject(19483, 1296.221801, -1868.946289, 18.093000, 0.000000, 0.000000, 90.000000, 300.00);
  128. SetObjectMaterial(tmpobjid, 0, 11631, "mp_ranchcut", "mpcj_speaker2", 0x00000000);
  129. tmpobjid = CreateObject(19483, 1296.241821, -1868.936523, 15.942971, 0.000000, 0.000000, 90.000000, 300.00);
  130. SetObjectMaterial(tmpobjid, 0, 11631, "mp_ranchcut", "mpcj_speaker2", 0x00000000);
  131. SetObjectMaterialText(tmpobjid, "{000000} Music Store", 0, 130, "Ariel", 90, 1, 0x00000000, 0x00000000, 1);
  132. tmpobjid = CreateObject(19483, 1296.281860, -1868.916259, 15.932971, 0.000000, 0.000000, 90.000000, 300.00);
  133. SetObjectMaterial(tmpobjid, 0, 11631, "mp_ranchcut", "mpcj_speaker2", 0x00000000);
  134. SetObjectMaterialText(tmpobjid, "{6d6868} Music Store", 0, 130, "Ariel", 90, 1, 0x00000000, 0x00000000, 1);
  135. tmpobjid = CreateObject(19483, 1287.465698, -1874.545532, 17.608449, 6.300002, 0.000000, 0.000000, 300.00);
  136. SetObjectMaterial(tmpobjid, 0, 3440, "airportpillar", "carfx1", 0x00000000);
  137. tmpobjid = CreateObject(19482, 1296.251708, -1880.441162, 17.838466, 0.000000, 0.000000, 90.000000, 300.00);
  138. SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000);
  139. SetObjectMaterialText(tmpobjid, "{FF0000} MuSic Store", 0, 130, "Ariel", 95, 1, 0x00000000, 0x00000000, 1);
  140. tmpobjid = CreateObject(19482, 1296.191528, -1880.471191, 17.838466, 0.000000, 0.000000, 90.000000, 300.00);
  141. SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000);
  142. SetObjectMaterialText(tmpobjid, "{111111}MuSic Store", 0, 130, "Ariel", 95, 1, 0x00000000, 0x00000000, 1);
  143. tmpobjid = CreateObject(19482, 1296.191528, -1880.471191, 17.038454, 0.000000, 0.000000, 90.000000, 300.00);
  144. SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000);
  145. SetObjectMaterialText(tmpobjid, "{111111}Pleased to welcome", 0, 130, "Ariel", 50, 1, 0x00000000, 0x00000000, 1);
  146. tmpobjid = CreateObject(19482, 1296.161499, -1880.441162, 17.068456, 0.000000, 0.000000, 90.000000, 300.00);
  147. SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000);
  148. SetObjectMaterialText(tmpobjid, "{ff0000}Pleased to welcome", 0, 130, "Ariel", 50, 1, 0x00000000, 0x00000000, 1);
  149. tmpobjid = CreateObject(19482, 1298.357421, -1880.490600, 17.820985, 0.000000, 0.000000, 90.000000, 300.00);
  150. SetObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000);
  151. SetObjectMaterialText(tmpobjid, "{000000}o", 0, 130, "Wingdings", 130, 0, 0x00000000, 0x00000000, 1);
  152. tmpobjid = CreateObject(19355, 1296.011108, -1869.037841, 19.731634, 0.000000, 0.000000, 90.000000, 300.00);
  153. SetObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
  154. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  155. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  156. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  157. tmpobjid = CreateObject(19325, 1300.877807, -1868.686279, 15.356880, 0.000000, 0.000000, 90.000000, 300.00);
  158. tmpobjid = CreateObject(19325, 1300.877807, -1868.686279, 19.466894, 0.000000, 0.000000, 90.000000, 300.00);
  159. tmpobjid = CreateObject(19325, 1291.386474, -1868.686279, 15.356880, 0.000000, 0.000000, 90.000000, 300.00);
  160. tmpobjid = CreateObject(19325, 1291.036743, -1868.686279, 19.466894, 0.000000, 0.000000, 90.000000, 300.00);
  161. tmpobjid = CreateObject(2491, 1287.965942, -1873.607910, 11.658444, 0.000000, 0.000000, 0.000000, 300.00);
  162. tmpobjid = CreateObject(2491, 1287.965942, -1874.098388, 11.658444, 0.000000, 0.000000, 0.000000, 300.00);
  163. tmpobjid = CreateObject(2491, 1287.965942, -1874.588623, 11.658444, 0.000000, 0.000000, 0.000000, 300.00);
  164. tmpobjid = CreateObject(2491, 1287.965942, -1875.088745, 11.658444, 0.000000, 0.000000, 0.000000, 300.00);
  165. tmpobjid = CreateObject(2491, 1287.965942, -1875.579223, 11.658444, 0.000000, 0.000000, 0.000000, 300.00);
  166. tmpobjid = CreateObject(2253, 1287.710327, -1875.817016, 13.798461, 0.000000, 0.000000, 0.000000, 300.00);
  167. tmpobjid = CreateObject(2253, 1287.710327, -1873.837036, 13.798461, 0.000000, 0.000000, 0.000000, 300.00);
  168. tmpobjid = CreateObject(2229, 1287.056640, -1875.567993, 14.208459, 0.000000, 0.000000, 90.000000, 300.00);
  169. tmpobjid = CreateObject(2229, 1287.056640, -1873.477416, 14.208459, 0.000000, 0.000000, 90.000000, 300.00);
  170. tmpobjid = CreateObject(1782, 1287.762451, -1874.824340, 13.805831, 0.000000, 0.000000, 90.000000, 300.00);
  171. tmpobjid = CreateObject(1785, 1287.749267, -1874.831298, 13.618453, 0.000000, 0.000000, 90.000000, 300.00);
  172. tmpobjid = CreateObject(2344, 1287.781127, -1875.517822, 13.538454, 0.000000, 0.000000, 270.000000, 300.00);
  173. tmpobjid = CreateObject(19611, 1289.410278, -1874.825073, 12.588455, 0.000000, 0.000000, 0.000000, 300.00);
  174. tmpobjid = CreateObject(19610, 1289.384277, -1874.827758, 14.206039, 26.399997, 0.000000, 270.000000, 300.00);
  175. tmpobjid = CreateObject(19623, 1287.750610, -1874.245239, 13.598455, 0.000000, 0.000000, 81.900001, 300.00);
  176. tmpobjid = CreateObject(19920, 1287.829956, -1875.432983, 13.548458, 0.000000, 0.000000, 90.000000, 300.00);
  177. tmpobjid = CreateObject(2208, 1300.593505, -1878.442382, 12.398450, 0.000000, 0.000000, 0.000000, 300.00);
  178. tmpobjid = CreateObject(14820, 1301.885986, -1878.577026, 13.348452, 0.000000, 0.000000, 0.000000, 300.00);
  179. tmpobjid = CreateObject(2484, 1300.690795, -1878.386108, 14.028462, 0.000000, 0.000000, 225.000000, 300.00);
  180. tmpobjid = CreateObject(2484, 1303.071533, -1878.386108, 14.028462, 0.000000, 0.000000, 315.000000, 300.00);
  181. tmpobjid = CreateObject(2229, 1301.749877, -1877.875732, 12.168451, 0.000000, 0.000000, 180.000000, 300.00);
  182. tmpobjid = CreateObject(2229, 1301.389770, -1877.875732, 12.168451, 0.000000, 0.000000, 180.000000, 300.00);
  183. tmpobjid = CreateObject(2469, 1302.003173, -1877.847167, 13.588456, 0.000000, 0.000000, -159.700027, 300.00);
  184. tmpobjid = CreateObject(19419, 1301.848144, -1877.677978, 13.508460, 0.000000, 0.000000, 0.000000, 300.00);
  185. tmpobjid = CreateObject(2491, 1304.157836, -1870.217163, 11.828448, 0.000000, 0.000000, 0.000000, 300.00);
  186. tmpobjid = CreateObject(2491, 1302.537109, -1870.217163, 11.828448, 0.000000, 0.000000, 0.000000, 300.00);
  187. tmpobjid = CreateObject(2491, 1300.916748, -1870.217163, 11.828448, 0.000000, 0.000000, 0.000000, 300.00);
  188. tmpobjid = CreateObject(2491, 1299.316406, -1870.217163, 11.828448, 0.000000, 0.000000, 0.000000, 300.00);
  189. tmpobjid = CreateObject(2491, 1299.316406, -1873.746459, 11.828448, 0.000000, 0.000000, 0.000000, 300.00);
  190. tmpobjid = CreateObject(2491, 1299.315551, -1873.255981, 11.828448, 0.000000, 0.000000, 0.000000, 300.00);
  191. tmpobjid = CreateObject(2491, 1302.516967, -1873.746459, 11.828448, 0.000000, 0.000000, 0.000000, 300.00);
  192. tmpobjid = CreateObject(2491, 1302.516723, -1873.266235, 11.828448, 0.000000, 0.000000, 0.000000, 300.00);
  193. tmpobjid = CreateObject(2226, 1299.026489, -1873.747558, 13.668448, 0.000000, 0.000000, 270.000000, 300.00);
  194. tmpobjid = CreateObject(2103, 1302.250610, -1873.733764, 13.708455, 0.000000, 0.000000, 270.000000, 300.00);
  195. tmpobjid = CreateObject(1897, 1305.569702, -1871.953735, 14.768449, 270.000000, 90.000000, 180.000000, 300.00);
  196. tmpobjid = CreateObject(19317, 1304.893676, -1871.958984, 13.988457, 0.000000, 0.000000, -90.000000, 300.00);
  197. tmpobjid = CreateObject(19317, 1304.793579, -1871.958984, 13.988457, 0.000000, 0.000000, -90.000000, 300.00);
  198. tmpobjid = CreateObject(19317, 1304.683471, -1871.958984, 13.988457, 0.000000, 0.000000, -90.000000, 300.00);
  199. tmpobjid = CreateObject(19317, 1304.573364, -1871.958984, 13.988457, 0.000000, 0.000000, -90.000000, 300.00);
  200. tmpobjid = CreateObject(1897, 1305.569702, -1872.984252, 14.768449, 270.000000, 90.000000, 180.000000, 300.00);
  201. tmpobjid = CreateObject(1897, 1305.569702, -1873.974609, 14.768449, 270.000000, 90.000000, 180.000000, 300.00);
  202. tmpobjid = CreateObject(19318, 1304.912841, -1872.970703, 14.068457, 0.000000, 0.000000, 270.000000, 300.00);
  203. tmpobjid = CreateObject(19318, 1304.812744, -1872.980590, 14.068457, 0.000000, 0.000000, 270.000000, 300.00);
  204. tmpobjid = CreateObject(19318, 1304.712646, -1872.981201, 14.068457, 0.000000, 0.000000, 270.000000, 300.00);
  205. tmpobjid = CreateObject(19318, 1304.592529, -1872.981079, 14.068457, 0.000000, 0.000000, 270.000000, 300.00);
  206. tmpobjid = CreateObject(19319, 1304.572143, -1873.940429, 14.038455, 0.000000, 0.000000, -90.000000, 300.00);
  207. tmpobjid = CreateObject(19319, 1304.642211, -1873.940429, 14.038455, 0.000000, 0.000000, -90.000000, 300.00);
  208. tmpobjid = CreateObject(19319, 1304.762329, -1873.940429, 14.038455, 0.000000, 0.000000, -90.000000, 300.00);
  209. tmpobjid = CreateObject(19319, 1304.912475, -1873.940429, 14.038455, 0.000000, 0.000000, -90.000000, 300.00);
  210. tmpobjid = CreateObject(2173, 1295.752563, -1877.685546, 12.578453, 0.000000, 0.000000, 0.000000, 300.00);
  211. tmpobjid = CreateObject(2253, 1297.059814, -1877.350219, 13.618455, 0.000000, 0.000000, 0.000000, 300.00);
  212. tmpobjid = CreateObject(2253, 1295.409301, -1877.350219, 13.618455, 0.000000, 0.000000, 0.000000, 300.00);
  213. tmpobjid = CreateObject(19807, 1295.527465, -1877.780029, 13.428444, 0.000000, 0.000000, 0.000000, 300.00);
  214. tmpobjid = CreateObject(19835, 1296.236083, -1877.496215, 13.508459, 0.000000, 0.000000, 0.000000, 300.00);
  215. tmpobjid = CreateObject(18869, 1296.368896, -1877.702636, 13.368455, 0.000000, 0.000000, -22.700000, 300.00);
  216. tmpobjid = CreateObject(19564, 1296.819213, -1877.529663, 13.358453, 0.000000, 0.000000, -51.200000, 300.00);
  217. tmpobjid = CreateObject(1671, 1296.257812, -1878.772705, 12.998457, 0.000000, 0.000000, 180.000000, 300.00);
  218. tmpobjid = CreateObject(1671, 1296.927734, -1876.379638, 12.999402, 0.599999, 0.000000, -32.300010, 300.00);
  219. tmpobjid = CreateObject(1671, 1295.592407, -1876.374389, 12.991127, 0.599999, 0.000000, 27.899990, 300.00);
  220. tmpobjid = CreateObject(2836, 1295.747070, -1870.210693, 12.596879, 0.000000, 0.000000, 0.000000, 300.00);
  221. tmpobjid = CreateObject(638, 1302.873046, -1868.035888, 13.246877, 0.000000, 0.000000, 90.000000, 300.00);
  222. tmpobjid = CreateObject(638, 1299.501953, -1868.035888, 13.246877, 0.000000, 0.000000, 90.000000, 300.00);
  223. tmpobjid = CreateObject(638, 1292.970703, -1868.035888, 13.246877, 0.000000, 0.000000, 90.000000, 300.00);
  224. tmpobjid = CreateObject(638, 1289.579711, -1868.035888, 13.246877, 0.000000, 0.000000, 90.000000, 300.00);
  225. tmpobjid = CreateObject(19425, 1302.870361, -1862.529541, 12.546875, 0.000000, 0.000000, 0.000000, 300.00);
  226. tmpobjid = CreateObject(19425, 1299.488769, -1862.519409, 12.546875, 0.000000, 0.000000, 0.000000, 300.00);
  227. tmpobjid = CreateObject(19425, 1292.968139, -1862.519042, 12.546875, 0.000000, 0.000000, 0.000000, 300.00);
  228. tmpobjid = CreateObject(19425, 1289.568237, -1862.518432, 12.546875, 0.000000, 0.000000, 0.000000, 300.00);
  229. tmpobjid = CreateObject(1232, 1294.643554, -1868.776733, 13.646874, 0.000000, 0.000000, 0.000000, 300.00);
  230. tmpobjid = CreateObject(1232, 1297.723999, -1868.776733, 13.646874, 0.000000, 0.000000, 0.000000, 300.00);
  231. tmpobjid = CreateObject(1232, 1287.742797, -1868.776733, 13.646874, 0.000000, 0.000000, 0.000000, 300.00);
  232. tmpobjid = CreateObject(1232, 1304.724365, -1868.776733, 13.646874, 0.000000, 0.000000, 0.000000, 300.00);
  233.  
  234. return 1;
  235. }
  236.  
  237. public OnGameModeInit()
  238. {
  239. SetTimer("GateCheck", 500, true);
  240. AutomaticGate1 = CreateObject(19859, 1294.623168, -1862.670776, 13.796877, 0.000000, 0.000000, 0.000000);
  241. AutomaticGate2 = CreateObject(19859, 1297.616333, -1862.673706, 13.796883, 0.000000, 0.000000, 180.000000);
  242. return 1;
  243. }
  244.  
  245. public GateCheck()
  246. {
  247. for(new i=0; i<MAX_PLAYERS; i++)
  248. {
  249. if(IsPlayerConnected(i))
  250. {
  251. if(IsPlayerInRangeOfPoint(i, 2.0, 1295.4685, -1868.6724, 13.8032))
  252. {
  253. MoveObject(AutomaticGate1, 1293.5400, -1869.1113, 13.8032,1.0,0.000000, 0.000000, 0.000000);
  254. }
  255. else
  256. {
  257. MoveObject(AutomaticGate1, 1294.7184, -1869.1113, 13.8032,1.0,0.000000, 0.000000, 0.000000);
  258. }
  259. }
  260. if(IsPlayerConnected(i))
  261. {
  262. if(IsPlayerInRangeOfPoint(i, 2.0, 1295.4685, -1868.6724, 13.8032))
  263. {
  264. MoveObject(AutomaticGate2, 1298.9040, -1869.1113, 13.8032,1.0,0.000000, 0.000000, 180.000000);
  265. }
  266. else
  267. {
  268. MoveObject(AutomaticGate2, 1297.7106, -1869.1113, 13.8032,1.0,0.000000, 0.000000, 180.000000);
  269. }
  270. }
  271. }
  272. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement