Guest User

az Car cable

a guest
May 18th, 2015
576
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.91 KB | None | 0 0
  1.  
  2. //az car cable
  3.  
  4. #include <a_samp>
  5.  
  6. #include <zcmd>
  7.  
  8. #define speed 15.0
  9.  
  10.  
  11. new mainobj,
  12. te[4],ro[4],
  13. pub[12],
  14. miror[7],
  15. door[3],
  16. doorup,
  17. sk,
  18. cam,
  19. cam1,
  20. camstat =0,
  21. add[15],
  22. travelstat=0
  23. ;
  24.  
  25.  
  26. public OnFilterScriptInit()
  27. {
  28. // mainobj = CreateObject(19467, 0,0,0, 0.0000, 360.0000, 0.00000);
  29.  
  30. sk = CreateObject(19157, -0.20710, -0.01810, -1.57830, 0.00000, -180.00000, 0.00000);
  31.  
  32.  
  33. te[0] = CreateObject(19365, 0.20400, 0.52720, -4.14600, 0.00000, 90.00000, 0.00000);
  34. te[1] = CreateObject(19365, 0.20400, -0.57480, -4.14400, 0.00000, 90.00000, 0.00000);
  35. te[2] = CreateObject(19365, -0.61610, -0.57320, -4.14000, 0.00000, 90.00000, 0.00000);
  36. te[3] = CreateObject(19365, -0.61500, 0.52720, -4.14200, 0.00000, 90.00000, 0.00000);
  37. ro[0] = CreateObject(19372, -0.60050, -0.65850, -0.16320, 0.00000, 90.00000, 0.00000);
  38. ro[1] = CreateObject(19372, -0.58780, 0.60710, -0.16520, 0.00000, 90.00000, 0.00000);
  39. ro[2] = CreateObject(19372, 0.19750, 0.62250, -0.15720, 0.00000, 90.00000, 0.00000);
  40. ro[3] = CreateObject(19372, 0.19750, -0.65850, -0.15920, 0.00000, 90.00000, 0.00000);
  41.  
  42.  
  43.  
  44. pub[0] = CreateObject(1626, -1.99310, -1.49790, -0.49800, 90.00000, 0.00000, 0.00000);
  45. pub[1] = CreateObject(1626, -1.99610, -0.03370, -0.49800, 90.00000, 0.00000, 0.00000);
  46. pub[2] = CreateObject(1626, -1.99610, 1.42230, -0.49800, 90.00000, 0.00000, 0.00000);
  47. pub[3] = CreateObject(1626, 1.66560, 0.00620, -0.49800, -90.00000, 0.00000, -180.00000);
  48. pub[4] = CreateObject(1626, 1.65680, -1.45660, -0.49800, -90.00000, 0.00000, -180.00000);
  49. pub[5] = CreateObject(1626, 1.66560, 1.46220, -0.49800, -90.00000, 0.00000, -180.00000);
  50. pub[6] = CreateObject(1626, -0.22970, 1.87530, -0.49800, -90.00000, 0.00000, -90.00000);
  51. pub[7] = CreateObject(1626, -1.62970, 1.87530, -0.49800, -90.00000, 0.00000, -90.00000);
  52. pub[8] = CreateObject(1626, 1.22630, 1.87530, -0.49800, -90.00000, 0.00000, -90.00000);
  53. pub[9] = CreateObject(1626, 1.22955, -1.88314, -0.49800, -90.00000, 0.00000, 90.00000);
  54. pub[10] = CreateObject(1626, -0.22640, -1.88310, -0.49800, -90.00000, 0.00000, 90.00000);
  55. pub[11] = CreateObject(1626, -1.68240, -1.88310, -0.49800, -90.00000, 0.00000, 90.00000);
  56.  
  57.  
  58.  
  59. miror[0] =CreateObject(1649, 2.02278, 0.02704, -2.40910, 0.00000, 0.00000, 270.00000);
  60. miror[1] =CreateObject(1649, -0.19961, -2.24404, -2.40910, 0.00000, 0.00000, 180.00000);
  61. miror[2] =CreateObject(1649, -0.26840, 2.24530, -2.40910, 0.00000, 0.00000, 180.00000);
  62. miror[3] =CreateObject(1649, -0.19961, -2.24404, -2.40910, 0.00000, 0.00000, 180.00000);
  63. miror[4] =CreateObject(1649, -0.14529, 2.21709, -2.40910, 0.00000, 0.00000, 0.00000);
  64. miror[5] =CreateObject(1649, -0.28424, -2.27287, -2.40910, 0.00000, 0.00000, 0.00000);
  65. miror[6] = CreateObject(1649, 2.1398, -0.0093, -2.4091, 180.00000, 0.00000, -90.00000);
  66.  
  67.  
  68. door[0] = CreateObject(19441, -2.31300, 1.38050, -2.34870, 0.00000, 0.00000, 0.00000);
  69. door[1] = CreateObject(19441, -2.31500, -0.21550, -2.34870, 0.00000, 0.00000, 0.00000);
  70. door[2] = CreateObject(19441, -2.31300, -1.47550, -2.34870, 0.00000, 0.00000, 0.00000);
  71.  
  72.  
  73.  
  74. add[0] = CreateObject(2748, 0.55210, -1.54470, -3.47180, 0.00000, 0.00000, 180.00000);
  75. add[1] = CreateObject(2748, -1.08290, -1.54470, -3.47180, 0.00000, 0.00000, 180.00000);
  76. add[2] = CreateObject(2748, 0.55210, 1.48530, -3.47180, 0.00000, 0.00000, 0.00000);
  77. add[3] = CreateObject(2748, -1.08290, 1.48530, -3.47180, 0.00000, 0.00000, 0.00000);
  78. add[4] = CreateObject(921, -0.12590, 0.10200, -0.37500, 90.00000, 23.00000, 0.00000);
  79. add[5] = CreateObject(921, -0.12590, 1.82700, -0.37500, 90.00000, 23.00000, 0.00000);
  80. add[6] = CreateObject(921, -0.12590, -1.66800, -0.37500, 90.00000, 23.00000, 0.00000);
  81. add[7] = CreateObject(19787, 1.69826, -0.00136, -0.68590, 19.00000, 0.00000, -90.00000);
  82. add[8] = CreateObject(2763, 0.29320, -0.03340, -3.67690, 0.00000, 0.00000, 0.00000);
  83. add[9] = CreateObject(2763, -0.75680, -0.03340, -3.67690, 0.00000, 0.00000, 0.00000);
  84. add[10] = CreateObject(957, -0.11840, 0.13340, -0.29920, 0.00000, 0.00000, 0.00000);
  85. add[11] = CreateObject(957, -0.11840, 1.76840, -0.29920, 0.00000, 0.00000, 0.00000);
  86. add[12] = CreateObject(957, -0.11840, -1.66660, -0.29920, 0.00000, 0.00000, 0.00000);
  87. add[13] = CreateObject(3804, -2.37059, -0.09345, -0.28740, 0.00000, -161.00000, 0.00000);
  88. add[14] = CreateObject(3813, -2.42500, -0.05670, -0.77010, 0.00000, 19.00000, 1.00000);
  89.  
  90. // exterior
  91.  
  92. CreateObject(3244, -2276.17407, -1666.39478, 463.46890, 0.00000, 0.00000, -90.00000);
  93. CreateObject(16050, -2219.21313, -1665.95935, 498.15591, 0.00000, 0.00000, 90.00000);
  94. CreateObject(3244, -2342.16089, -1667.05029, 463.46890, 0.00000, 0.00000, -90.00000);
  95. CreateObject(16050, -2285.24805, -1666.52344, 498.15591, 0.00000, 0.00000, 90.00000);
  96. CreateObject(7096, -2348.42676, -1673.96826, 486.7043, 0.00000, 0.00000, 90.00000);
  97. cam = CreateObject(0, -18.5709, -1.0083, 2.1146, 0.00000, 0.00000, 0.00000);
  98. cam1 = CreateObject(0, -14.6063, -18.1421, 2.1108, 0.00000, 0.00000, 0.00000);
  99.  
  100. CreateObject(3244, -2276.17407, -1666.39478, 463.46890, 0.00000, 0.00000, -90.00000);
  101. CreateObject(16050, -2172.31909, -1665.57983, 489.11591, 9.00000, 0.00000, 90.00000);
  102. CreateObject(0, -2342.16089, -1667.05029, 463.46890, 0.00000, 0.00000, -90.00000);
  103. CreateObject(16050, -2285.24805, -1666.52344, 498.15591, 0.00000, 0.00000, 90.00000);
  104. CreateObject(0, -2348.42676, -1673.96826, 486.70432, 0.00000, 0.00000, 90.00000);
  105. CreateObject(0, -18.57090, -1.00830, 2.11460, 0.00000, 0.00000, 0.00000);
  106. CreateObject(0, -14.60630, -18.14210, 2.11080, 0.00000, 0.00000, 0.00000);
  107. CreateObject(16050, -2060.19336, -1664.62219, 471.30389, 9.00000, 0.00000, 90.00000);
  108. CreateObject(16050, -1948.87549, -1663.66394, 453.60590, 9.00000, 0.00000, 90.00000);
  109. CreateObject(16050, -1836.81970, -1662.71301, 435.79190, 9.00000, 0.00000, 90.00000);
  110. CreateObject(16050, -1725.53882, -1661.76563, 418.08789, 9.00000, 0.00000, 90.00000);
  111. CreateObject(16050, -1614.12439, -1660.81787, 400.37390, 9.00000, 0.00000, 90.00000);
  112. CreateObject(16050, -1502.80188, -1659.87170, 382.64590, 9.00000, 0.00000, 90.00000);
  113. CreateObject(16050, -1391.36279, -1658.93103, 365.56232, 9.00000, 0.00000, 90.00000);
  114. CreateObject(16050, -1279.56775, -1657.99048, 347.81030, 9.00000, 0.00000, 90.00000);
  115. CreateObject(16050, -1167.48047, -1657.03601, 329.99231, 9.00000, 0.00000, 90.00000);
  116. CreateObject(16050, -1055.44128, -1656.07751, 312.22330, 9.00000, 0.00000, 90.00000);
  117. CreateObject(16050, -943.95801, -1655.12927, 294.49731, 9.00000, 0.00000, 90.00000);
  118. CreateObject(16050, -832.26440, -1654.18054, 276.71130, 9.00000, 0.00000, 90.00000);
  119. CreateObject(16050, -720.71478, -1653.23743, 258.97729, 9.00000, 0.00000, 90.00000);
  120. CreateObject(16050, -608.63409, -1652.27539, 241.18130, 9.00000, 0.00000, 90.00000);
  121. CreateObject(16050, -496.70050, -1651.32520, 223.36230, 9.00000, 0.00000, 90.00000);
  122. CreateObject(16050, -384.79620, -1650.37268, 205.57629, 9.00000, 0.00000, 90.00000);
  123. CreateObject(16050, -273.36789, -1649.40991, 187.86530, 9.00000, 0.00000, 90.00000);
  124. CreateObject(0, -161.31281, -1648.44995, 170.06030, 9.00000, 0.00000, 90.00000);
  125. CreateObject(0, 341.82831, -1824.36194, 7.92130, 0.00000, 0.00000, 266.00000);
  126.  
  127. CreateObject(3244, 268.41525, -1834.12634, -3.19750, 0.00000, 0.00000, 90.00000);
  128. CreateObject(16050, -165.38799, -1674.84912, 170.10229, 9.00000, 0.00000, 63.00000);
  129. CreateObject(16050, -64.94190, -1724.97278, 152.24631, 9.00000, 0.00000, 63.00000);
  130. CreateObject(16050, 30.50175, -1772.56506, 114.33430, 30.00000, 0.00000, 63.00000);
  131. CreateObject(16050, 116.09910, -1815.15076, 59.03830, 30.00000, 0.00000, 63.00000);
  132. CreateObject(16050, 211.97940, -1834.62988, 31.62640, 0.00000, 0.00000, 90.00000);
  133.  
  134. CreateObject(7096, 264.93066, -1843.67493, 19.14070, 0.00000, 0.00000, -180.00000);
  135. CreateObject(7096, 277.08835, -1845.67505, 14.79870, 0.00000, 0.00000, -90.00000);
  136. CreateObject(7096, 288.24826, -1845.71484, 12.68370, 0.00000, 0.00000, -90.00000);
  137. CreateObject(7096, 297.03223, -1845.58167, 10.42770, 0.00000, 0.00000, -90.00000);
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144. create();
  145.  
  146. // textures
  147. for(new i = 0; i!= 4;i++) {
  148. SetObjectMaterial(te[i] , 0, 9496, "boxybld_sfw", "ws_alley_conc1", 0xFFFFFFFF);
  149. SetObjectMaterial(ro[i], 0, 10932, "station_sfse", "ws_stationfloor", 0xFFFFFFFF);
  150. }
  151. for(new ii; ii != 12;ii ++ ) {
  152. SetObjectMaterial(pub[ii], 0, 10429, "hashblock1_sfs", "ws_suburbansign", 0xFFFFFFFF);
  153. SetObjectMaterial(door[ii], 0, 10375, "subshops_sfs", "ws_airportdoors1", 0xFFFFFFFF);
  154. }
  155. print("\n-----------//az car cable-----------------------");
  156. print(" //az car cable BEtA ");
  157. print("--------------//az car cable-------------------\n");
  158. return 1;
  159. }
  160.  
  161. public OnFilterScriptExit()
  162. {
  163. return 1;
  164. }
  165.  
  166. stock SetPlayerScoreEx(playerid, amount) return SetPlayerScore(playerid, amount);
  167.  
  168.  
  169.  
  170. main()
  171. {
  172. print("\n------------//az car cable------------------");
  173. print(" //az car cable BetAA");
  174. print("-----------//az car cable----------------\n");
  175. }
  176.  
  177.  
  178. CMD:goto(playerid, params[])
  179. {
  180. SetPlayerPos(playerid,-2329.2703, -1614.7617, 482.6901);
  181. return 1;
  182. }
  183.  
  184. CMD:go(playerid, params[])
  185. {
  186. TravelUpGo();
  187. return 1;
  188. }
  189.  
  190. CMD:back(playerid, params[])
  191. {
  192. TravelUpB();
  193. return 1;
  194. }
  195.  
  196. CMD:od(playerid, params[])
  197. {
  198. new Float:xx,Float:yy,Float:zz,Float:rx,Float:ry,Float:rz;
  199. GetObjectPos(mainobj,xx,yy,zz);
  200. GetObjectRot(mainobj,rx,ry,rz);
  201. DestroyObject(door[1]);
  202. door[1] = CreateObject(19441, xx-2.31500, yy-0.21550, zz-2.34870-0.3, 0.00000, 0.00000, 0.00000);
  203. SetObjectMaterial(door[1], 0, 10375, "subshops_sfs", "ws_airportdoors1", 0xFFFFFFFF);
  204. MoveObject(door[1], xx-2.4870, yy-0.2155, zz-2.6727-0.3, 0.50,rx,ry,rz);
  205. doorup = 1;
  206. SetTimer("doorupp", 2000, false);
  207. return 1;
  208. }
  209.  
  210. CMD:cd(playerid, params[])
  211. {
  212. new Float:xx,Float:yy,Float:zz,Float:rx,Float:ry,Float:rz;
  213. GetObjectPos(mainobj,xx,yy,zz);
  214. GetObjectRot(mainobj,rx,ry,rz);
  215. DestroyObject(door[1]);
  216. door[1] = CreateObject(19441, xx-2.4870, yy-1.4495, zz-2.6727-0.3, 0.00000, 0.00000, 0.00000);
  217. SetObjectMaterial(door[1], 0, 10375, "subshops_sfs", "ws_airportdoors1", 0xFFFFFFFF);
  218. MoveObject(door[1], xx-2.4870, yy-0.2155, zz-2.6727-0.3, 0.50,rx,ry,rz);
  219. doorup = 0;
  220. SetTimer("doorupp", 1500, false);
  221. SetPlayerScore(playerid, 3);
  222. return 1;
  223. }
  224.  
  225. CMD:hd(playerid, params[]) // hold door
  226. {
  227. AttachObjectToObject(door[1],mainobj, -2.31500, -0.21550, -2.34870-0.3, 0.00000, 0.00000, 0.00000, 1);
  228. return 1;
  229. }
  230.  
  231.  
  232.  
  233. CMD:cam(playerid, params[])
  234. {
  235. switch(camstat)
  236. {
  237. case 0 : AttachCameraToObject(playerid, cam),camstat=1;
  238. case 1 : AttachCameraToObject(playerid, cam1),camstat=2;
  239. case 2 : SetCameraBehindPlayer(playerid),camstat=0;
  240. }
  241. return 1;
  242. }
  243.  
  244.  
  245. forward doorupp(); public doorupp()
  246. {
  247. new Float:x,Float:y,Float:z;
  248. GetObjectPos(mainobj,x,y,z);
  249. if(doorup == 1) {
  250. MoveObject(door[1], x-2.4870, y-1.4495, z-2.6727-0.3, 0.50);
  251. }
  252. if(doorup == 0) {
  253. MoveObject(door[1], x-2.31500, y-0.21550, z-2.34870-0.3, 0.50);
  254. }
  255. return 1;
  256. }
  257.  
  258. forward TravelUpGo(); public TravelUpGo()
  259. {
  260. switch (travelstat){
  261. case 0: MoveObject(mainobj,-2339.9963, -1671.5070, 493.1258,speed, 0.0000, 360.0000, 0.00000),travelstat = 1;
  262. case 1: MoveObject(mainobj,-2275.7478, -1671.0298, 493.1258,speed, 0.0000, 360.0000, 0.00000),travelstat = 2;
  263. case 2: MoveObject(mainobj,-2226.4016, -1670.7053, 492.5498 ,speed, 0.0000, 9.0000, 0.0000),travelstat = 3;
  264. case 3: MoveObject(mainobj,-221.6431, -1653.4961, 174.5618 ,speed, 0.0000, 9.0000, 0.0000),travelstat = 4;
  265. case 4: MoveObject(mainobj,-216.0547, -1654.6851, 173.6438,speed,0.0000, 9.0000, -26.0000),travelstat = 5;
  266. case 5: MoveObject(mainobj,-21.5657, -1751.8025, 139.1468,speed,0.0000, 9.0000, -26.0000),travelstat = 6;
  267. case 6: MoveObject(mainobj,-15.3188, -1754.9266, 136.8438,speed,0.0000, 30.0000, -29.0000),travelstat = 7;
  268. case 7: MoveObject(mainobj,151.4213, -1837.7019, 29.0888,speed,0.0000, 30.0000, -29.0000),travelstat = 8;
  269. case 8: MoveObject(mainobj,159.0432, -1839.6539, 26.7228,speed,0.0000, 0.0000, 0.0000),travelstat = 9;
  270. case 9: MoveObject(mainobj,267.8173, -1839.4286, 26.7228,speed,0.0000, 0.0000, 0.0000),travelstat = 10;
  271. }
  272. return 1;
  273. }
  274.  
  275. forward TravelUpB(); public TravelUpB()
  276. {
  277. switch (travelstat){
  278. case 9: MoveObject(mainobj,-2339.9963, -1671.5070, 493.1258,speed, 0.0000, 360.0000, 0.00000),travelstat = 0;
  279. case 8: MoveObject(mainobj,-2275.7478, -1671.0298, 493.1258,speed, 0.0000, 360.0000, 0.00000),travelstat = 9;
  280. case 7: MoveObject(mainobj,-2226.4016, -1670.7053, 492.5498 ,speed, 0.0000, 9.0000, 0.0000),travelstat = 8;
  281. case 6: MoveObject(mainobj,-221.6431, -1653.4961, 174.5618 ,speed, 0.0000, 9.0000, 0.0000),travelstat = 7;
  282. case 5: MoveObject(mainobj,-21.5657, -1751.8025, 139.1468,speed,0.0000, 9.0000, -26.0000),travelstat = 6;
  283. case 4: MoveObject(mainobj,-21.5657, -1751.8025, 139.1468,speed,0.0000, 9.0000, -26.0000),travelstat = 5;
  284. case 3: MoveObject(mainobj,-15.3188, -1754.9266, 136.8438,speed,0.0000, 30.0000, -29.0000),travelstat = 4;
  285. case 2: MoveObject(mainobj,151.4213, -1837.7019, 29.0888,speed,0.0000, 30.0000, -29.0000),travelstat = 3;
  286. case 1: MoveObject(mainobj,159.0432, -1839.6539, 26.7228,speed,0.0000, 0.0000, 0.0000),travelstat = 2;
  287. case 0: MoveObject(mainobj,267.8173, -1839.4286, 26.7228,speed,0.0000, 0.0000, 0.0000),travelstat = 1;
  288. case 10: travelstat =1;
  289. }
  290. return 1;
  291. }
  292.  
  293.  
  294.  
  295.  
  296. create() {
  297.  
  298. // new Float:x,Float:y,Float:z;
  299. // GetPlayerPos(playerid,x,y,z);
  300.  
  301. // mainobj = CreateObject(19467, x+5,y+5,z+4, 0.0000, 360.0000, 0.00000);
  302. // attach
  303.  
  304. mainobj = CreateObject(19467, -2339.9963, -1671.5070, 493.1258, 0.0000, 0.0000, 0.00000);
  305.  
  306.  
  307.  
  308. AttachObjectToObject(sk,mainobj, -0.20710, -0.01810, -1.57830-0.3, 0.00000, -180.00000, 0.00000, 1);
  309. AttachObjectToObject(te[0],mainobj, 0.20400, 0.52720, -4.14600-0.3, 0.00000, 90.00000, 0.00000, 1);
  310. AttachObjectToObject(te[1],mainobj, 0.20400, -0.57480, -4.14400-0.3, 0.00000, 90.00000, 0.00000, 1);
  311. AttachObjectToObject(te[2],mainobj, -0.61610, -0.57320, -4.14000-0.3, 0.00000, 90.00000, 0.00000, 1);
  312. AttachObjectToObject(te[3],mainobj, -0.61500, 0.52720, -4.14200-0.3, 0.00000, 90.00000, 0.00000, 1);
  313. AttachObjectToObject(ro[0],mainobj, -0.60050, -0.65850, -0.16320-0.3, 0.00000, 90.00000, 0.00000, 1);
  314. AttachObjectToObject(ro[1],mainobj, -0.58780, 0.60710, -0.16520-0.3, 0.00000, 90.00000, 0.00000, 1);
  315. AttachObjectToObject(ro[2],mainobj, 0.19750, 0.62250, -0.15720-0.3, 0.00000, 90.00000, 0.00000, 1);
  316. AttachObjectToObject(ro[3],mainobj, 0.19750, -0.65850, -0.15920-0.3, 0.00000, 90.00000, 0.00000, 1);
  317. AttachObjectToObject(pub[0],mainobj, -1.99310, -1.49790, -0.49800-0.3, 90.00000, 0.00000, 0.00000, 1);
  318. AttachObjectToObject(pub[1],mainobj, -1.99610, -0.03370, -0.49800-0.3, 90.00000, 0.00000, 0.00000, 1);
  319. AttachObjectToObject(pub[2],mainobj, -1.99610, 1.42230, -0.49800-0.3, 90.00000, 0.00000, 0.00000, 1);
  320. AttachObjectToObject(pub[3],mainobj, 1.66560, 0.00620, -0.49800-0.3, -90.00000, 0.00000, -180.00000, 1);
  321. AttachObjectToObject(pub[4],mainobj, 1.65680, -1.45660, -0.49800-0.3, -90.00000, 0.00000, -180.00000, 1);
  322. AttachObjectToObject(pub[5],mainobj, 1.66560, 1.46220, -0.49800-0.3, -90.00000, 0.00000, -180.00000, 1);
  323. AttachObjectToObject(pub[6],mainobj, -0.22970, 1.87530, -0.49800-0.3, -90.00000, 0.00000, -90.00000, 1);
  324. AttachObjectToObject(pub[7],mainobj, -1.62970, 1.87530, -0.49800-0.3, -90.00000, 0.00000, -90.00000, 1);
  325. AttachObjectToObject(pub[8],mainobj, 1.22630, 1.87530, -0.49800-0.3, -90.00000, 0.00000, -90.00000, 1);
  326. AttachObjectToObject(pub[9],mainobj, 1.22955, -1.88314, -0.49800-0.3, -90.00000, 0.00000, 90.00000, 1);
  327. AttachObjectToObject(pub[10],mainobj, -0.22640, -1.88310, -0.49800-0.3, -90.00000, 0.00000, 90.00000, 1);
  328. AttachObjectToObject(pub[11],mainobj, -1.68240, -1.88310, -0.49800-0.3, -90.00000, 0.00000, 90.00000, 1);
  329. AttachObjectToObject(miror[0],mainobj, 2.02278, 0.02704, -2.40910-0.3, 0.00000, 0.00000, 270.00000, 1);
  330. AttachObjectToObject(miror[1],mainobj, -0.19961, -2.24404, -2.40910-0.3, 0.00000, 0.00000, 180.00000, 1);
  331. AttachObjectToObject(miror[2],mainobj, -0.26840, 2.24530, -2.40910-0.3, 0.00000, 0.00000, 180.00000, 1);
  332. AttachObjectToObject(miror[3],mainobj, -0.19961, -2.24404, -2.40910-0.3, 0.00000, 0.00000, 180.00000, 1);
  333. AttachObjectToObject(miror[4],mainobj, -0.14529, 2.21709, -2.40910-0.3, 0.00000, 0.00000, 0.00000, 1);
  334. AttachObjectToObject(miror[5],mainobj, -0.28424, -2.27287, -2.40910-0.3, 0.00000, 0.00000, 0.00000, 1);
  335. AttachObjectToObject(miror[6],mainobj, 2.03992, 0.03175, -2.40910-0.3, 0.00000, 0.00000, -90.00000, 1);
  336. AttachObjectToObject(door[0],mainobj, -2.31300, 1.38050, -2.34870-0.3, 0.00000, 0.00000, 0.00000, 1);
  337. AttachObjectToObject(door[1],mainobj, -2.31500, -0.21550, -2.34870-0.3, 0.00000, 0.00000, 0.00000, 1);
  338. AttachObjectToObject(door[2],mainobj, -2.31300, -1.47550, -2.34870-0.3, 0.00000, 0.00000, 0.00000, 1);
  339. AttachObjectToObject(add[0],mainobj, 0.55210, -1.54470, -3.47180-0.3, 0.00000, 0.00000, 180.00000, 1);
  340. AttachObjectToObject(add[1],mainobj, -1.08290, -1.54470, -3.47180-0.3, 0.00000, 0.00000, 180.00000, 1);
  341. AttachObjectToObject(add[2],mainobj, 0.55210, 1.48530, -3.47180-0.3, 0.00000, 0.00000, 0.00000, 1);
  342. AttachObjectToObject(add[3],mainobj, -1.08290, 1.48530, -3.47180-0.3, 0.00000, 0.00000, 0.00000, 1);
  343. AttachObjectToObject(add[4],mainobj, -0.12590, 0.10200, -0.37500-0.3, 90.00000, 23.00000, 0.00000, 1);
  344. AttachObjectToObject(add[5],mainobj, -0.12590, 1.82700, -0.37500-0.3, 90.00000, 23.00000, 0.00000, 1);
  345. AttachObjectToObject(add[6],mainobj, -0.12590, -1.66800, -0.37500-0.3, 90.00000, 23.00000, 0.00000, 1);
  346. AttachObjectToObject(add[7],mainobj, 1.69826, -0.00136, -0.68590-0.3, 19.00000, 0.00000, -90.00000, 1);
  347. AttachObjectToObject(add[8],mainobj, 0.29320, -0.03340, -3.67690-0.3, 0.00000, 0.00000, 0.00000, 1);
  348. AttachObjectToObject(add[9],mainobj, -0.75680, -0.03340, -3.67690-0.3, 0.00000, 0.00000, 0.00000, 1);
  349. AttachObjectToObject(add[10],mainobj, -0.11840, 0.13340, -0.29920-0.3, 0.00000, 0.00000, 0.00000, 1);
  350. AttachObjectToObject(add[11],mainobj, -0.11840, 1.76840, -0.29920-0.3, 0.00000, 0.00000, 0.00000, 1);
  351. AttachObjectToObject(add[12],mainobj, -0.11840, -1.66660, -0.29920-0.3, 0.00000, 0.00000, 0.00000, 1);
  352. AttachObjectToObject(add[13],mainobj, -2.37059, -0.09345, -0.28740-0.3, 0.00000, -161.00000, 0.00000, 1);
  353. AttachObjectToObject(add[14], mainobj, -2.42500, -0.05670, -0.77010-0.3, 0.00000, 19.00000, 1.00000, 1);
  354. AttachObjectToObject(cam,mainobj, -18.5709, -1.0083, 2.1146, 0.00000, 0.00000, 0.00000, 1);
  355. AttachObjectToObject(cam1,mainobj, -14.6063, -18.1421, 2.1108, 0.00000, 0.00000, 0.00000, 1);
  356.  
  357. }
Advertisement
Add Comment
Please, Sign In to add comment