Advertisement
Guest User

Police by Mido

a guest
Nov 29th, 2015
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.39 KB | None | 0 0
  1. //Police department
  2. new PoliceVerZid[14];
  3. new PoliceDoor[2];
  4. new PolicePark[20];
  5. new PolicePozida[14];
  6. new PoliceStub[12];
  7. new PoliceFence[9];
  8.  
  9. RemoveBuildingForPlayer(playerid, 5928, 1309.9141, -1330.1328, 25.1875, 0.25);
  10. RemoveBuildingForPlayer(playerid, 5933, 1281.4375, -1337.9531, 12.3750, 0.25);
  11. RemoveBuildingForPlayer(playerid, 5809, 1281.4375, -1337.9531, 12.3750, 0.25);
  12. RemoveBuildingForPlayer(playerid, 620, 1321.5234, -1374.4297, 12.5859, 0.25);
  13. RemoveBuildingForPlayer(playerid, 620, 1292.0000, -1374.2969, 12.3672, 0.25);
  14. RemoveBuildingForPlayer(playerid, 620, 1300.5859, -1374.2969, 12.3672, 0.25);
  15. RemoveBuildingForPlayer(playerid, 5704, 1309.9141, -1330.1328, 25.1875, 0.25);
  16. RemoveBuildingForPlayer(playerid, 620, 1329.4766, -1374.4297, 12.5859, 0.25);
  17. RemoveBuildingForPlayer(playerid, 620, 1330.6016, -1340.9844, 6.1094, 0.25);
  18. RemoveBuildingForPlayer(playerid, 620, 1326.6953, -1316.0078, 8.7266, 0.25);
  19. RemoveBuildingForPlayer(playerid, 620, 1327.5938, -1333.6719, 6.1094, 0.25);
  20. RemoveBuildingForPlayer(playerid, 620, 1332.0000, -1309.4297, 8.7266, 0.25);
  21.  
  22. //======================Police Department===========================
  23. //garazna vrata idu do Z = 5.00000 || 2- kapija ide dos RY = -10.00000
  24. new PoliceText = CreateObject(7900, 1310.0025, -1368.9613, 19.0448, 0.0000, 0.3999, 0.1135);
  25. SetObjectMaterialText(PoliceText, "POLICE", 0, 50, "Georgia", 24, 1, -16776961, 0, 1);
  26. PoliceDoor[0] = CreateDynamicObject(3037, 1275.53638, -1365.77197, 9.43200, 0.02800, 0.00000, 92.40000);
  27. PoliceDoor[1] = CreateDynamicObject(968, 1270.23462, -1333.24951, 13.0526, 0.00000, -90.00000, 90.00000);
  28. //glavni objekat - 0 trava, 1 donji prozori(kamen), 2 - oko donji prozora(kamen) 3- u kamen, 4- srednji prozori (staklo) ,5 krov, 6 gorni prozori (staklo), 7 - zelena ograda ,8 zid (u kamen), 9 vrata(u kamen) ,10 pod krov(valjda u kamen),11 Kamen ,12 velika vrata,13 pod krov(kamen),14 trotoar,15 podkrov
  29. new MegaPolice = CreateObject(5704, 1309.91406, -1330.13281, 25.18750, 0.00000, 0.00000, 0.00000);
  30. SetObjectMaterial(MegaPolice, 1, 5418, "idlewood3_lae", "ws_sandstone2", 0xFFFFFFFF);
  31. SetObjectMaterial(MegaPolice, 2, 5418, "idlewood3_lae", "ws_sandstone2", 0xFFFFFFFF);
  32. SetObjectMaterial(MegaPolice, 3, 5418, "idlewood3_lae", "ws_sandstone2", 0xFFFFFFFF);
  33. SetObjectMaterial(MegaPolice, 4, 5766, "capitol_lawn", "capitol3_LAwN", -143654656);
  34. SetObjectMaterial(MegaPolice, 6, 5766, "capitol_lawn", "capitol3_LAwN", -143654656);
  35. SetObjectMaterial(MegaPolice, 8, 5418, "idlewood3_lae", "ws_sandstone2", 0xFFFFFFFF);
  36. SetObjectMaterial(MegaPolice, 9, 5418, "idlewood3_lae", "ws_sandstone2", 0xFFFFFFFF);
  37. SetObjectMaterial(MegaPolice, 10, 5418, "idlewood3_lae", "ws_sandstone2", 0xFFFFFFFF);
  38. SetObjectMaterial(MegaPolice, 11, 5418, "idlewood3_lae", "ws_sandstone2", 0xFFFFFFFF);
  39. SetObjectMaterial(MegaPolice, 12, 6056, "venice_law", "flatdoor01_law", 0xFFFFFFFF);
  40. SetObjectMaterial(MegaPolice, 13, 5418, "idlewood3_lae", "ws_sandstone2", 0xFFFFFFFF);
  41. SetObjectMaterial(MegaPolice, 14, 4568, "skyscrap2_lan2", "pavementhexagon", 0xFFFFFFFF);
  42. SetObjectMaterial(MegaPolice, 15, 5418, "idlewood3_lae", "ws_sandstone2", 0xFFFFFFFF);
  43.  
  44. CreateObject(4232, 1294.08081, -1326.46008, 5.74780, 0.00000, 0.00000, 180.24001);
  45. CreateObject(4032, 1294.07996, -1326.45996, 5.74780, 0.00000, 0.00000, 180.24001);
  46.  
  47. PolicePark[0] = CreateDynamicObject(19377, 1275.48254, -1380.05615, 10.95190, 0.00000, 75.00000, -90.00000);
  48. PolicePark[1] = CreateDynamicObject(19377, 1275.48865, -1369.92090, 8.25200, 0.00000, 75.00000, -90.00000);
  49. PolicePark[2] = CreateDynamicObject(19377, 1285.83459, -1336.21741, 12.49300, 0.00000, 88.50000, 0.00000);
  50. PolicePark[3] = CreateDynamicObject(19377, 1285.87134, -1326.60645, 12.49300, 0.00000, 88.50000, 0.00000);
  51. PolicePark[4] = CreateDynamicObject(19377, 1285.92786, -1317.00867, 12.49300, 0.00000, 88.50000, 0.00000);
  52. PolicePark[5] = CreateDynamicObject(19377, 1285.84888, -1307.48596, 12.49300, 0.00000, 88.50000, 0.00000);
  53. PolicePark[6] = CreateDynamicObject(19377, 1285.93701, -1297.86035, 12.49300, 0.00000, 88.50000, 0.00000);
  54. PolicePark[7] = CreateDynamicObject(19377, 1285.90808, -1295.91833, 12.49300, 0.00000, 88.50000, 0.00000);
  55. PolicePark[8] = CreateDynamicObject(19377, 1275.46863, -1345.82568, 12.32500, 0.00000, 90.00000, 0.00000);
  56. PolicePark[9] = CreateDynamicObject(19377, 1275.46863, -1336.22192, 12.32500, 0.00000, 90.00000, 0.00000);
  57. PolicePark[10] = CreateDynamicObject(19377, 1275.46863, -1326.60754, 12.32500, 0.00000, 90.00000, 0.00000);
  58. PolicePark[11] = CreateDynamicObject(19377, 1275.42908, -1317.01343, 12.32500, 0.00000, 90.00000, 0.00000);
  59. PolicePark[12] = CreateDynamicObject(19377, 1275.44861, -1307.41003, 12.32500, 0.00000, 90.00000, 0.00000);
  60. PolicePark[13] = CreateDynamicObject(19377, 1275.44861, -1297.80908, 12.32500, 0.00000, 90.00000, 0.00000);
  61. PolicePark[14] = CreateDynamicObject(19377, 1275.45203, -1291.69312, 12.32550, 0.00000, 90.00000, 0.00000);
  62. PolicePark[15] = CreateDynamicObject(19377, 1285.90723, -1345.83948, 12.49300, 0.00000, 88.50000, 0.00000);
  63. PolicePark[16] = CreateDynamicObject(19362, 1271.93140, -1345.94824, 12.28170, 0.00000, 95.00000, 0.00000);
  64. PolicePark[17] = CreateDynamicObject(19362, 1271.93384, -1349.13037, 12.28120, 0.00000, 95.00000, 0.00000);
  65. PolicePark[18] = CreateDynamicObject(19362, 1272.04944, -1329.41699, 12.28170, 0.00000, 95.00000, 0.00000);
  66. PolicePark[19] = CreateDynamicObject(19362, 1272.05151, -1326.51587, 12.28120, 0.00000, 95.00000, 0.00000);
  67. for(new i = 0; i < sizeof(PolicePark); i++)
  68. {
  69. SetDynamicObjectMaterial(PolicePark[i], 0, 10938, "skyscrap_sfse", "ws_carpark2", 0xFFFFFFFF);
  70. }
  71. PolicePozida[0] = CreateDynamicObject(9339, 1270.20154, -1354.03613, 13.05300, 0.00000, 0.00000, 0.00000);
  72. PolicePozida[1] = CreateDynamicObject(9339, 1287.23474, -1372.05676, 13.10900, 0.00000, 0.00000, -0.78000);
  73. PolicePozida[2] = CreateDynamicObject(9339, 1283.43994, -1290.97949, 13.10900, 0.00000, 0.00000, 90.00000);
  74. PolicePozida[3] = CreateDynamicObject(9339, 1282.89465, -1350.74243, 13.10900, 0.00000, 0.00000, 90.00000);
  75. PolicePozida[4] = CreateDynamicObject(18762, 1277.92212, -1365.96851, 12.18590, 0.00000, 90.00000, 0.90010);
  76. PolicePozida[5] = CreateDynamicObject(18762, 1272.92358, -1366.06445, 12.18590, 0.00000, 90.00000, 0.90010);
  77. PolicePozida[6] = CreateDynamicObject(18762, 1270.84912, -1366.08740, 9.85790, 0.00000, 0.00000, 92.58000);
  78. PolicePozida[7] = CreateDynamicObject(18762, 1270.31592, -1384.63672, 9.99790, 0.00000, 0.00000, 90.00000);
  79. PolicePozida[8] = CreateDynamicObject(18762, 1280.11609, -1365.80859, 9.68990, 0.00000, 0.00000, 94.02010);
  80. PolicePozida[9] = CreateDynamicObject(18762, 1270.41150, -1365.80859, 9.85790, 0.00000, 0.00000, 92.58000);
  81. PolicePozida[10] = CreateDynamicObject(19378, 1270.69470, -1371.00952, 8.22400, 0.00000, 0.00000, 0.00000);
  82. PolicePozida[11] = CreateDynamicObject(19378, 1270.72437, -1380.28723, 8.22400, 0.00000, 0.00000, 0.00000);
  83. PolicePozida[12] = CreateDynamicObject(19378, 1280.25635, -1380.16858, 7.38400, 0.00000, 0.00000, 0.00000);
  84. PolicePozida[13] = CreateDynamicObject(19378, 1280.29602, -1371.08496, 7.38400, 0.00000, 0.00000, 0.00000);
  85. for(new i = 0; i < sizeof(PolicePozida); i++)
  86. {
  87. SetDynamicObjectMaterial(PolicePozida[i], 0, 5418, "idlewood3_lae", "ws_sandstone2", 0xFFFFFFFF);
  88. }
  89. PoliceStub[0] = CreateDynamicObject(9131, 1286.90930, -1385.03955, 13.60800, 0.00000, 0.00000, 0.00000);
  90. PoliceStub[1] = CreateDynamicObject(9131, 1271.31128, -1350.68250, 13.60800, 0.00000, 0.00000, 0.00000);
  91. PoliceStub[2] = CreateDynamicObject(9131, 1286.92297, -1350.73035, 13.60800, 0.00000, 0.00000, 0.00000);
  92. PoliceStub[3] = CreateDynamicObject(9131, 1278.71924, -1350.70874, 13.58000, 0.00000, 0.00000, 0.00000);
  93. PoliceStub[4] = CreateDynamicObject(9131, 1271.42908, -1291.04993, 13.58000, 0.00000, 0.00000, 0.00000);
  94. PoliceStub[5] = CreateDynamicObject(9131, 1279.36047, -1291.06921, 13.58000, 0.00000, 0.00000, 0.00000);
  95. PoliceStub[6] = CreateDynamicObject(9131, 1286.80554, -1291.12134, 13.58000, 0.00000, 0.00000, 0.00000);
  96. PoliceStub[7] = CreateDynamicObject(9131, 1280.26440, -1385.08057, 13.60800, 0.00000, 0.00000, 0.00000);
  97. PoliceStub[8] = CreateDynamicObject(9131, 1287.22119, -1367.55029, 13.60800, 0.00000, 0.00000, 0.00000);
  98. PoliceStub[9] = CreateDynamicObject(9131, 1287.17358, -1376.46228, 13.60800, 0.00000, 0.00000, 0.00000);
  99. PoliceStub[10] = CreateDynamicObject(9131, 1270.29126, -1350.19873, 13.60800, 0.00000, 0.00000, 0.00000);
  100. PoliceStub[11] = CreateDynamicObject(9131, 1270.34595, -1340.65845, 13.49600, 0.00000, 0.00000, 0.00000);
  101. for(new i = 0; i < sizeof(PoliceStub); i++)
  102. {
  103. SetDynamicObjectMaterial(PoliceStub[i], 0, 6056, "venice_law", "stonewall_la", 0xFFFFFFFF);
  104. }
  105. PoliceFence[0] = CreateDynamicObject(19364, 1281.78479, -1384.95447, 12.50000, 0.00000, 0.00000, 90.00000);
  106. PoliceFence[1] = CreateDynamicObject(19364, 1284.97534, -1384.95447, 12.50000, 0.00000, 0.00000, 90.00000);
  107. PoliceFence[2] = CreateDynamicObject(19456, 1287.12573, -1380.07458, 12.94400, 0.00000, 0.00000, -0.84000);
  108. PoliceFence[3] = CreateDynamicObject(19456, 1287.27783, -1370.47388, 12.94400, 0.00000, 0.00000, -0.84000);
  109. PoliceFence[4] = CreateDynamicObject(19456, 1270.21191, -1345.13672, 12.88800, 0.00000, 0.00000, 0.00000);
  110. PoliceFence[5] = CreateDynamicObject(19456, 1276.21704, -1350.73462, 12.94400, 0.00000, 0.00000, 90.00000);
  111. PoliceFence[6] = CreateDynamicObject(19456, 1285.84924, -1350.73462, 12.94400, 0.00000, 0.00000, 90.00000);
  112. PoliceFence[7] = CreateDynamicObject(19456, 1275.92834, -1290.95142, 12.94400, 0.00000, 0.00000, 90.00000);
  113. PoliceFence[8] = CreateDynamicObject(19456, 1285.55127, -1290.95142, 12.94400, 0.00000, 0.00000, 90.00000);
  114. for(new i = 0; i < sizeof(PoliceFence); i++)
  115. {
  116. SetDynamicObjectMaterial(PoliceFence[i], 0, 6489, "councl_law2", "lanlabra1_M", 0);
  117. }
  118. new PoliceNaplatna = CreateDynamicObject(8168, 1271.18323, -1328.65393, 14.16800, 0.00000, 0.00000, -73.92000);
  119. SetDynamicObjectMaterial(PoliceNaplatna, 6, 10023, "bigwhitesfe", "sfe_arch8", -143654656);
  120. SetDynamicObjectMaterial(PoliceNaplatna, 8, 6332, "rodeo01_law2", "rodwall04_LAw2", 0);
  121. SetDynamicObjectMaterial(PoliceNaplatna, 9, 6332, "rodeo01_law2", "rodwall04_LAw2", 0);
  122. SetDynamicObjectMaterial(PoliceNaplatna, 10, 6332, "rodeo01_law2", "rodwall04_LAw2", 0);
  123.  
  124. PoliceVerZid[0] = CreateDynamicObject(9339, 1312.30103, -1362.74219, 24.58180, 90.00000, 0.00000, 45.00000);
  125. PoliceVerZid[1] = CreateDynamicObject(9339, 1302.69739, -1360.56506, 21.58180, 90.00000, 0.00000, 45.00000);
  126. PoliceVerZid[2] = CreateDynamicObject(9339, 1308.32410, -1362.83618, 24.58180, 90.00000, 0.00000, -45.00000);
  127. PoliceVerZid[3] = CreateDynamicObject(9339, 1317.69763, -1360.44043, 21.58180, 90.00000, 0.00000, -45.00000);
  128. PoliceVerZid[4] = CreateDynamicObject(9339, 1293.37561, -1328.66846, 24.58180, 90.00000, 0.00000, -45.00000);
  129. PoliceVerZid[5] = CreateDynamicObject(9339, 1293.41626, -1320.94775, 24.58180, 90.00000, 0.00000, -135.00000);
  130. PoliceVerZid[6] = CreateDynamicObject(9339, 1296.66968, -1320.86890, 21.50400, 90.00000, 0.00000, -135.00000);
  131. PoliceVerZid[7] = CreateDynamicObject(9339, 1296.57886, -1347.35681, 21.50400, 90.00000, 0.00000, -135.00000);
  132. PoliceVerZid[8] = CreateDynamicObject(9339, 1296.74609, -1328.81409, 21.50400, 90.00000, 0.00000, -45.00000);
  133. PoliceVerZid[9] = CreateDynamicObject(9339, 1296.33936, -1305.37500, 21.50400, 90.00000, 0.00000, -63.84005);
  134. PoliceVerZid[10] = CreateDynamicObject(9339, 1326.94897, -1328.68774, 24.58180, 90.00000, 0.00000, 45.00000);
  135. PoliceVerZid[11] = CreateDynamicObject(9339, 1326.94360, -1320.93066, 24.58180, 90.00000, 0.00000, 135.00000);
  136. PoliceVerZid[12] = CreateDynamicObject(9339, 1323.12524, -1347.18677, 21.50400, 90.00000, 0.00000, 135.00000);
  137. PoliceVerZid[13] = CreateDynamicObject(9339, 1323.56396, -1305.23560, 21.50400, 90.00000, 0.00000, 36.24004);
  138. for(new i = 0; i < sizeof(PoliceVerZid); i++)
  139. {
  140. SetDynamicObjectMaterial(PoliceVerZid[i], 0, 16150, "ufo_bar", "black32", 0xFFFFFFFF);
  141. }
  142. CreateDynamicObject(966, 1270.23462, -1333.24951, 12.32464, 0.00000, 0.00000, 90.00003);
  143. CreateDynamicObject(869, 1283.52759, -1381.02148, 12.86300, 0.00000, 0.00000, 81.90001);
  144. CreateDynamicObject(869, 1283.30396, -1373.32556, 12.86300, 0.00000, 0.00000, 81.90001);
  145. CreateDynamicObject(869, 1282.82251, -1364.98438, 12.86300, 0.00000, 0.00000, 81.90001);
  146. CreateDynamicObject(869, 1282.78455, -1356.42444, 12.86300, 0.00000, 0.00000, 81.90001);
  147. CreateDynamicObject(869, 1274.66406, -1355.42590, 12.86300, 0.00000, 0.00000, 81.90001);
  148. CreateDynamicObject(700, 1282.85217, -1360.60071, 12.51355, 0.00000, 0.00000, 0.00000);
  149. CreateDynamicObject(700, 1282.86707, -1369.81750, 12.51355, 0.00000, 0.00000, 0.00000);
  150. CreateDynamicObject(700, 1282.99097, -1377.95325, 12.51355, 0.00000, 0.00000, 0.00000);
  151. CreateDynamicObject(869, 1290.95081, -1374.92505, 13.92700, 0.00000, 0.00000, 79.02000);
  152. CreateDynamicObject(869, 1290.88440, -1378.33130, 13.92700, 0.00000, 0.00000, 79.02000);
  153. CreateDynamicObject(869, 1290.90137, -1381.87463, 13.92700, 0.00000, 0.00000, 79.02000);
  154. CreateDynamicObject(869, 1298.78882, -1373.84448, 13.92700, 0.00000, 0.00000, 79.02000);
  155. CreateDynamicObject(869, 1298.82642, -1377.23193, 13.92700, 0.00000, 0.00000, 79.02000);
  156. CreateDynamicObject(869, 1298.78015, -1380.50806, 13.92700, 0.00000, 0.00000, 79.02000);
  157. CreateDynamicObject(869, 1298.79968, -1382.87915, 13.92700, 0.00000, 0.00000, 79.02000);
  158. CreateDynamicObject(869, 1321.11462, -1382.54565, 13.92700, 0.00000, 0.00000, 79.02000);
  159. CreateDynamicObject(869, 1321.22095, -1379.07813, 13.92700, 0.00000, 0.00000, 79.02000);
  160. CreateDynamicObject(869, 1321.31140, -1375.25500, 13.92700, 0.00000, 0.00000, 79.02000);
  161. CreateDynamicObject(869, 1321.28503, -1373.16748, 13.92700, 0.00000, 0.00000, 79.02000);
  162. CreateDynamicObject(869, 1329.23108, -1373.50867, 13.92700, 0.00000, 0.00000, 79.02000);
  163. CreateDynamicObject(869, 1329.03003, -1376.48108, 13.92700, 0.00000, 0.00000, 79.02000);
  164. CreateDynamicObject(869, 1329.06616, -1379.54614, 13.92700, 0.00000, 0.00000, 79.02000);
  165. CreateDynamicObject(869, 1328.93787, -1382.68359, 13.92700, 0.00000, 0.00000, 79.02000);
  166. CreateDynamicObject(1694, 1305.70044, -1325.74072, 46.52400, 0.00000, 0.00000, -71.58000);
  167. CreateDynamicObject(3928, 1294.74670, -1358.05530, 34.67710, 0.00000, 0.00000, 0.00000);
  168. CreateDynamicObject(3928, 1324.77698, -1358.11377, 34.67710, 0.00000, 0.00000, 0.00000);
  169. CreateDynamicObject(3399, 1302.39539, -1346.64075, 35.63670, 0.00000, 0.00000, 0.00000);
  170. CreateDynamicObject(3399, 1318.02502, -1347.32227, 35.63670, 0.00000, 0.00000, 180.00000);
  171. CreateDynamicObject(1499, 1307.90161, -1354.33484, 34.60950, 0.00000, 0.00000, 90.00000);
  172. CreateDynamicObject(16089, 1310.04541, -1360.99927, 19.00000, 0.00000, 90.00000, -90.00000);
  173. CreateDynamicObject(1692, 1273.00000, -1295.00000, 11.63920, 0.00000, 0.00000, 0.00000);
  174. CreateDynamicObject(1692, 1273.00000, -1299.00000, 11.63920, 0.00000, 0.00000, 0.00000);
  175. CreateDynamicObject(1692, 1273.00000, -1303.00000, 11.63920, 0.00000, 0.00000, 0.00000);
  176. CreateDynamicObject(1692, 1273.00000, -1307.00000, 11.63920, 0.00000, 0.00000, 0.00000);
  177. CreateDynamicObject(1692, 1273.00000, -1311.00000, 11.63920, 0.00000, 0.00000, 0.00000);
  178. CreateDynamicObject(1692, 1273.00000, -1315.00000, 11.63920, 0.00000, 0.00000, 0.00000);
  179. CreateDynamicObject(1692, 1273.00000, -1319.00000, 11.63920, 0.00000, 0.00000, 0.00000);
  180. CreateDynamicObject(1692, 1273.00000, -1323.00000, 11.63920, 0.00000, 0.00000, 0.00000);
  181. CreateDynamicObject(1692, 1283.71362, -1331.93860, 11.72320, 0.00000, -1.50000, 0.00000);
  182. CreateDynamicObject(1692, 1283.71362, -1335.93860, 11.72320, 0.00000, -1.50000, 0.00000);
  183. CreateDynamicObject(1692, 1283.71362, -1339.93860, 11.72320, 0.00000, -1.50000, 0.00000);
  184. CreateDynamicObject(1692, 1283.71362, -1343.93860, 11.72320, 0.00000, -1.50000, 0.00000);
  185. CreateDynamicObject(1692, 1283.71362, -1347.93860, 11.72320, 0.00000, -1.50000, 0.00000);
  186. CreateDynamicObject(19381, 1285.42126, -1380.19189, 12.49760, 0.00000, 90.00000, 0.00000);
  187. CreateDynamicObject(19381, 1285.53101, -1370.65063, 12.44160, 0.00000, 90.00000, 0.00000);
  188. CreateDynamicObject(19381, 1285.50256, -1361.01819, 12.44160, 0.00000, 90.00000, 0.00000);
  189. CreateDynamicObject(19381, 1275.01147, -1361.01416, 12.44160, 0.00000, 90.00000, 0.00000);
  190. CreateDynamicObject(19381, 1275.30981, -1355.52002, 12.44000, 0.00000, 90.00000, 0.00000);
  191. CreateDynamicObject(19381, 1285.78088, -1355.51904, 12.44000, 0.00000, 90.00000, 0.00000);
  192.  
  193. if(newkeys & KEY_YES)
  194. {
  195. if(IsPlayerInRangeOfPoint(playerid, 15.0, 1275.5677,-1366.1654,8.2064))
  196. {
  197. MoveDynamicObject(PoliceDoor[0], 1275.53638, -1365.77197, 5.00000, 2.0000);
  198. }
  199. else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1270.23462, -1333.24951, 13.0526))
  200. {
  201. SetDynamicObjectRot(PoliceDoor[1], 0.00000, -10.00000, 90.00000);
  202. }
  203. }
  204. if(newkeys & KEY_NO)
  205. {
  206. if(IsPlayerInRangeOfPoint(playerid, 15.0, 1275.5677,-1366.1654,8.2064))
  207. {
  208. MoveDynamicObject(PoliceDoor[0], 1275.53638, -1365.77197, 9.43200, 2.0000);
  209. }
  210. else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1270.23462, -1333.24951, 13.0526))
  211. {
  212. SetDynamicObjectRot(PoliceDoor[1], 0.00000, -90.00000, 90.00000);
  213. }
  214. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement