Guest User

Untitled

a guest
Aug 24th, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.94 KB | None | 0 0
  1. forward ucitajsve();
  2. public ucitajsve()
  3. {
  4. for(new i; i < 34; i++)
  5. {
  6. BankomatNovac[i] = 10000;
  7. }
  8. for(new e = 1; e < 25; e++)
  9. {
  10. UcitajOrg(e, 1);
  11. UcitajOrg(e, 2);
  12. }
  13. new admini[40];
  14. format(admini,sizeof(admini), "/StaffTeam/Admini.ini");
  15. if(fexist(admini))
  16. {
  17. INI_ParseFile(admini, "UcitajAdmine");
  18. print( "-- Admin lista je uspjesno ucitana!");
  19. }
  20. new masteri[40];
  21. format(masteri,sizeof(masteri), "/StaffTeam/Masteri.ini");
  22. if(fexist(masteri))
  23. {
  24. INI_ParseFile(masteri, "UcitajMastere");
  25. print( "-- GameMaster lista je uspjesno ucitana!");
  26. }
  27. LimitGlobalChatRadius(30);
  28. SetTimer("UcitajMape", 5000, false);
  29. SetTimer("UcitajOstalo", 4000, false);
  30. // ============================================== //
  31. BrKombi[0]= AddStaticVehicleEx(609,11999.0+random(10000), 11999.0+random(10000), 0.0, 0.0, 0, 0, -1);
  32. BrKombi[1]= AddStaticVehicleEx(609,11999.0+random(10000), 11999.0+random(10000), 0.0, 0.0, 0, 0, -1);
  33. BrKombi[2]= AddStaticVehicleEx(609,11999.0+random(10000), 11999.0+random(10000), 0.0, 0.0, 0, 0, -1);
  34. BrKombi[3]= AddStaticVehicleEx(609,11999.0+random(10000), 11999.0+random(10000), 0.0, 0.0, 0, 0, -1);
  35. BrKombi[4]= AddStaticVehicleEx(609,11999.0+random(10000), 11999.0+random(10000), 0.0, 0.0, 0, 0, -1);
  36. BrKombi[5]= AddStaticVehicleEx(609,11999.0+random(10000), 11999.0+random(10000), 0.0, 0.0, 0, 0, -1);
  37. BrKombi[6]= AddStaticVehicleEx(609,2505.9814,-1650.7244,13.7833,134.5854,0,0,600);
  38. BrKombi[7]= AddStaticVehicleEx(609,2273.8499,-1414.3374,24.0326,86.2302,0,0,600);
  39. BrKombi[8]= AddStaticVehicleEx(609,887.6799,-1437.5294,13.4960,90.2144,0,0,600);
  40. BrKombi[9]= AddStaticVehicleEx(609,972.2027,-1300.4747,13.4535,179.6168,0,0,600);
  41. BrKombi[10]= AddStaticVehicleEx(609,1499.3339, 2810.7053, 10.8700,90.0000,0,0,600);
  42. BrKombi[11]= AddStaticVehicleEx(609,2205.1572,-1176.9861,25.7964,269.2491,0,0,600);
  43. BrKombi[12]= AddStaticVehicleEx(609,11999.0+random(10000), 11999.0+random(10000), 0.0, 0.0, 0, 0, -1);
  44. BrKombi[13]= AddStaticVehicleEx(609,2250.6985,-1003.5524,58.6253,233.4574,0,0,600);
  45. BrKombi[14]= AddStaticVehicleEx(609,2560.2466,-2191.6689,-0.2200,340.0000,0,0,600);
  46. BrKombi[15]= AddStaticVehicleEx(609,1246.3402,-2043.8967,59.8834,269.5631,0,0,600);
  47. BrKombi[16]= AddStaticVehicleEx(609,11999.0+random(10000), 11999.0+random(10000), 0.0, 0.0, 0, 0, -1);
  48. BrKombi[17]= AddStaticVehicleEx(609,1360.7336,727.6357,10.8876,2.7686,0,0,600);
  49. BrKombi[18]= AddStaticVehicleEx(609,2772.2883,-2484.7153,13.6550,9.0000,0,0,600);
  50. //====================================================[ VOZILA POSLOVA ]====================================================
  51. // ----- [ Kolodvor ] -----
  52. bus[0] = AddStaticVehicleEx(431,1185.5999800,-1788.0999800,13.8000000,0.0000000,128,1,-1);
  53. bus[1] = AddStaticVehicleEx(431,1185.5999800,-1805.6999500,13.8000000,0.0000000,128,1,-1);
  54. bus[2] = AddStaticVehicleEx(431,1254.5999800,-1835.8000500,13.6000000,90.0000000,128,1,-1);
  55. bus[3] = AddStaticVehicleEx(431,1233.6999500,-1835.8000500,13.6000000,90.0000000,128,1,-1);
  56. bus[4] = AddStaticVehicleEx(431,1201.3000500,-1827.6999500,13.7000000,270.0000000,128,1,-1);
  57. bus[5] = AddStaticVehicleEx(437,1270.0000000,-1799.0000000,13.7000000,180.0000000,128,128,-1);
  58. bus[6] = AddStaticVehicleEx(437,1274.9000200,-1799.0000000,13.6000000,180.0000000,128,128,-1);
  59. bus[7] = AddStaticVehicleEx(437,1279.8000500,-1799.0000000,13.6000000,180.0000000,128,128,-1);
  60. bus[8] = AddStaticVehicleEx(437,1265.0000000,-1799.0000000,13.7000000,180.0000000,128,128,-1);
  61. bus[9] = AddStaticVehicleEx(437,1260.0999800,-1799.0000000,13.7000000,180.0000000,128,128,-1);
  62. bus[10] = AddStaticVehicleEx(437,1279.8000500,-1831.0000000,13.6000000,0.0000000,128,128,-1);
  63. // ----- [ Posta vozila ] -----
  64. Posta[0] = AddStaticVehicleEx(498, 1993.2262, -1783.1672, 13.5600, 0.0000, 6, 1, -1);
  65. Posta[1] = AddStaticVehicleEx(498, 1989.3931, -1783.1672, 13.5600, 0.0000, 6, 1, -1);
  66. Posta[2] = AddStaticVehicleEx(498, 1985.6893, -1783.1672, 13.5600, 0.0000, 6, 1, -1);
  67. Posta[3] = AddStaticVehicleEx(498, 1982.0258, -1783.1672, 13.5600, 0.0000, 6, 1, -1);
  68. Posta[4] = AddStaticVehicleEx(498, 1978.3243, -1783.1672, 13.5600, 0.0000, 6, 1, -1);
  69. // ----- [ Elektricar vozila ] -----
  70. Struja[0] = AddStaticVehicleEx(552, 1015.2160, -1353.8070, 13.0000, 90.0000, 1, 3, -1);
  71. Struja[1] = AddStaticVehicleEx(552, 1015.2160, -1349.6908, 13.0000, 90.0000, 1, 3, -1);
  72. Struja[2] = AddStaticVehicleEx(552, 1015.2160, -1345.7045, 13.0000, 90.0000, 1, 3, -1);
  73. Struja[3] = AddStaticVehicleEx(552, 999.8249, -1361.8063, 13.0000, 30.0000, 1, 3, -1);
  74. // ----- [ Smetlar vozila ] -----
  75. Smetlar[0] = AddStaticVehicleEx(408, 2176.1641, -1972.6240, 14.1800, 180.0000, 6, 1, -1);
  76. Smetlar[1] = AddStaticVehicleEx(408, 2172.4048, -1972.6240, 14.1800, 180.0000, 6, 1, -1);
  77. Smetlar[2] = AddStaticVehicleEx(408, 2168.4263, -1972.6240, 14.1800, 180.0000, 6, 1, -1);
  78. Smetlar[3] = AddStaticVehicleEx(408, 2180.2205, -1972.6240, 14.1800, 180.0000, 6, 1, -1);
  79. Smetlar[4] = AddStaticVehicleEx(408, 2184.2813, -1972.6240, 14.1800, 178.2000, 6, 1, -1);
  80. // ----- [ kosac trave vozila ] -----
  81. Kosac[0] = AddStaticVehicleEx(572, 715.5526,-1284.8590,14.5239,270.2202, 3, 1, -1);
  82. Kosac[1] = AddStaticVehicleEx(572, 715.5616,-1281.9004,14.5239,269.8641, 3, 1, -1);
  83. Kosac[2] = AddStaticVehicleEx(572, 715.5454,-1278.7303,14.5239,273.2715, 3, 1, -1);
  84. Kosac[3] = AddStaticVehicleEx(572, 715.4122,-1274.9200,14.5238,270.8206, 3, 1, -1);
  85. Kosac[4] = AddStaticVehicleEx(572, 719.2673,-1281.8464,14.5238,268.9982, 3, 1, -1);
  86. Kosac[5] = AddStaticVehicleEx(572, 719.2889,-1284.7697,14.5238,268.9119, 3, 1, -1);
  87. Kosac[6] = AddStaticVehicleEx(572, 719.2853,-1278.6602,14.5239,268.8270, 3, 1, -1);
  88. Kosac[7] = AddStaticVehicleEx(572, 719.3990,-1275.0349,14.5238,267.8864, 3, 1, -1);
  89. // ----- [ dostavljac vozila ] -----
  90. Dostavljac[0] = AddStaticVehicleEx(414, 2223.0215, -2160.4163, 13.6000, 135.0000, 2, 1, -1);
  91. Dostavljac[1] = AddStaticVehicleEx(414, 2225.3948, -2162.8367, 13.6000, 135.0000, 2, 1, -1);
  92. Dostavljac[2] = AddStaticVehicleEx(414, 2227.8584, -2165.2266, 13.6000, 135.0000, 2, 1, -1);
  93. Dostavljac[3] = AddStaticVehicleEx(414, 2230.3562, -2167.7117, 13.6000, 135.0000, 2, 1, -1);
  94. Dostavljac[4] = AddStaticVehicleEx(414, 2233.0176, -2170.1438, 13.6000, 135.0000, 2, 1, -1);
  95. // ----- [ Sprunk vozila ] -----
  96. Sprunk[0] = AddStaticVehicleEx(440, -1630.3, 1290.3, 7.3, 134.995, 1, 3, -1); //Rumpo
  97. Sprunk[1] = AddStaticVehicleEx(440, -1634, 1294.1, 7.3, 134.995, 1, 3, -1); //Rumpo
  98. Sprunk[2] = AddStaticVehicleEx(440, -1637.5, 1297.6, 7.3, 134.995, 1, 3, -1); //Rumpo
  99. Sprunk[3] = AddStaticVehicleEx(440, -1641.1, 1301.2, 7.3, 134.995, 1, 3, -1); //Rumpo
  100. Sprunk[4] = AddStaticVehicleEx(440, -1644.9, 1304.9, 7.3, 134.995, 1, 3, -1); //Rumpo
  101. Sprunk[5] = AddStaticVehicleEx(440, -1648.4, 1308.3, 7.3, 134.995, 1, 3, -1); //Rumpo
  102. Sprunk[6] = AddStaticVehicleEx(440, -1651.9, 1311.8, 7.3, 134.995, 1, 3, -1); //Rumpo
  103. Sprunk[7] = AddStaticVehicleEx(440, -1655.5, 1315.5, 7.3, 134.995, 1, 3, -1); //Rumpo
  104. // ----- [ Posao Vatrogasac ] ----
  105. VatroVozilo[0] = AddStaticVehicleEx(407, 1673.6580, 1853.5551, 11.0136, 180.0000, 3, 1, -1);
  106. VatroVozilo[1] = AddStaticVehicleEx(407, 1682.2310, 1853.5551, 11.0136, 180.0000, 3, 1, -1);
  107. VatroVozilo[2] = AddStaticVehicleEx(407, 1690.7205, 1853.5551, 11.0136, 180.0000, 3, 1, -1);
  108. // ----- [ Vodoinstalar vozila ] ----
  109. Vodo[0] = AddStaticVehicleEx(422, 2314.9819, 63.2396, 26.4131, 180.0000, 6, 1, -1);
  110. Vodo[1] = AddStaticVehicleEx(422, 2314.9819, 68.8664, 26.4131, 180.0000, 6, 1, -1);
  111. Vodo[2] = AddStaticVehicleEx(422, 2305.7561, 45.7246, 26.4131, 0.0000, 6, 1, -1);
  112. Vodo[3] = AddStaticVehicleEx(422, 2318.8269, 51.2235, 26.4131, 90.0000, 6, 1, -1);
  113. // ----- [ zastitar vozila ] -----
  114. Zastitar[0] = AddStaticVehicleEx(428, 1835.0314, -1402.3904, 13.5400, 0.0000, 1, 27, -1);
  115. Zastitar[1] = AddStaticVehicleEx(428, 1831.4772, -1402.3904, 13.5400, 0.0000, 1, 27, -1);
  116. Zastitar[2] = AddStaticVehicleEx(428, 1827.8451, -1402.3904, 13.5400, 0.0000, 1, 27, -1);
  117. Zastitar[3] = AddStaticVehicleEx(428, 1824.2313, -1402.3904, 13.5400, 0.0000, 1, 27, -1);
  118. // ----- [ Dostavljac Sladoleda ] ----
  119. Sladoledar[0] = AddStaticVehicleEx(423, -2093.5464, 97.0027, 35.3095, 180.0000, 3, 1, -1);
  120. Sladoledar[1] = AddStaticVehicleEx(423, -2088.8066, 97.0027, 35.3095, 179.7600, 3, 1, -1);
  121. Sladoledar[2] = AddStaticVehicleEx(423, -2083.9358, 97.0027, 35.3095, 179.7600, 3, 1, -1);
  122. Sladoledar[3] = AddStaticVehicleEx(423, -2096.1147, 72.4145, 35.3095, 0.0000, 3, 1, -1);
  123. // ----- [ Farmer vozila ] -----
  124. //KOMBAJN
  125. Farma[0] = AddStaticVehicleEx(532, -367.5588, -1439.6976, 26.7400, 90.0000, 128, 1, -1);
  126. Farma[1] = AddStaticVehicleEx(532, -367.5751, -1448.3544, 26.7400, 90.0000, 128, 1, -1);
  127. Farma[2] = AddStaticVehicleEx(532, -388.4686, -1455.0972, 26.7400, 270.0000, 128, 1, -1);
  128. //TRAKTOR
  129. Farma[3] = AddStaticVehicleEx(531, -381.9492, -1447.9613, 25.6600, 0.0000, 128, 1, -1);
  130. Farma[4] = AddStaticVehicleEx(531, -381.8621, -1443.2395, 25.6600, 0.0000, 128, 1, -1);
  131. Farma[5] = AddStaticVehicleEx(531, -381.9065, -1431.0380, 25.6600, 180.0000, 128, 1, -1);
  132. Farma[6] = AddStaticVehicleEx(531, -381.8728, -1435.3896, 25.6600, 180.0000, 128, 1, -1);
  133. //PRIKOLICE
  134. Farma[7] = AddStaticVehicleEx(610, -384.5164, -1418.2916, 25.0400, 270.0000, 128, 1, -1);
  135. Farma[8] = AddStaticVehicleEx(610, -372.6771, -1418.0804, 25.0400, 90.0000, 128, 1, -1);
  136. Farma[9] = AddStaticVehicleEx(610, -372.7373, -1421.6350, 25.0400, 90.0000, 128, 1, -1);
  137. Farma[10] = AddStaticVehicleEx(610, -372.7912, -1424.9883, 25.0400, 90.0000, 128, 1, -1);
  138. // ----- [ Ronilac ] ------
  139. Ronilac[0] = AddStaticVehicleEx(473, 2939.3696, -2063.6531, 0.1132, 180.0000, 1, 1, -1);
  140. Ronilac[1] = AddStaticVehicleEx(473, 2936.5576, -2063.6531, 0.1132, 180.0000, 1, 1, -1);
  141. Ronilac[2] = AddStaticVehicleEx(473, 2933.9536, -2063.6531, 0.1132, 180.0000, 1, 1, -1);
  142. Ronilac[3] = AddStaticVehicleEx(473, 2931.2349, -2063.6531, 0.1132, 180.3600, 1, 1, -1);
  143. Ronilac[4] = AddStaticVehicleEx(473, 2928.4531, -2063.6531, 0.1132, 180.3600, 1, 1, -1);
  144. Ronilac[5] = AddStaticVehicleEx(473, 2925.6826, -2063.6531, 0.1132, 180.3600, 1, 1, -1);
  145. //Farmer prikolice
  146. MapaPrikolice[0] = AddStaticVehicleEx(610, -563.1315, -1506.3774, 8.8093, 212.5800, 128, 1, -1);
  147. MapaPrikolice[1] = AddStaticVehicleEx(610, -559.3468, -1503.9901, 8.8093, 212.5800, 128, 1, -1);
  148. MapaPrikolice[2] = AddStaticVehicleEx(610, -555.1558, -1501.5546, 8.8093, 212.5800, 128, 1, -1);
  149. // ----- [ Vozac nafte ] -----
  150. NaftaKamion[0] = AddStaticVehicleEx(514, -1007.4000200, -682.5999800, 32.7000000, 0.0000000, 56,1,-1); //Tanker
  151. NaftaKamion[1] = AddStaticVehicleEx(514, -1039.6999500, -671.5000000, 32.7000000, 270.0000000, 56,1,-1); //Tanker
  152. NaftaKamion[2] = AddStaticVehicleEx(514, -1039.6999500, -666.7999900, 32.7000000, 270.0000000, 56,1,-1); //Tanker
  153. NaftaKamion[3] = AddStaticVehicleEx(514, -1039.6999500, -662.0000000, 32.7000000, 270.0000000, 56,1,-1); //Tanker
  154. NaftaKamion[4] = AddStaticVehicleEx(514, -1019.9000200, -691.4000200, 32.7000000, 0.0000000, 56,1,-1); //Tanker
  155. NaftaKamion[5] = AddStaticVehicleEx(514, -1026.4000200, -685.0000000, 32.7000000, 270.0000000, 56,1,-1); //Tanker
  156. NaftaPrikolica[0] = AddStaticVehicleEx(584,-979.0000000,-636.5999800,33.2000000,90.0000000,-1,-1,-1); //Petrol Trailer
  157. NaftaPrikolica[1] = AddStaticVehicleEx(584,-979.0000000,-643.4000200,33.2000000,90.0000000,-1,-1,-1); //Petrol Trailer
  158. NaftaPrikolica[2] = AddStaticVehicleEx(584,-979.0000000,-650.7999900,33.2000000,90.0000000,-1,-1,-1); //Petrol Trailer
  159. NaftaPrikolica[3] = AddStaticVehicleEx(584,-979.0000000,-657.5000000,33.2000000,90.0000000,-1,-1,-1); //Petrol Trailer
  160. NaftaPrikolica[4] = AddStaticVehicleEx(584,-979.0000000,-664.4000200,33.2000000,90.0000000,-1,-1,-1); //Petrol Trailer
  161. NaftaPrikolica[5] = AddStaticVehicleEx(584,-979.0000000,-671.9000200,33.2000000,90.0000000,-1,-1,-1); //Petrol Trailer
  162. // ----- [ Vozac Tranvaja ] -----
  163. Tran[0] = AddStaticVehicleEx(449, -2264.7654, 549.0259, 35.4000, 0.0000, 3, 1, -1);
  164. Tran[1] = AddStaticVehicleEx(449, -2264.7654, 539.0359, 35.4000, 0.0000, 3, 1, -1);
  165. Tran[2] = AddStaticVehicleEx(449, -2264.7654, 528.7857, 35.4000, 0.0000, 3, 1, -1);
  166. // ----- [ VIP Vozila ] -----
  167. VipV[0] = AddStaticVehicleEx(411, 952.9407, 1710.0929, 8.3802, 270.0000, 6, 1, -1);
  168. VipV[1] = AddStaticVehicleEx(451, 952.9407, 1714.3268, 8.2821, 270.0000, 6, 1, -1);
  169. VipV[2] = AddStaticVehicleEx(506, 952.9407, 1718.6300, 8.3646, 270.0000, 6, 1, -1);
  170. VipV[3] = AddStaticVehicleEx(560, 952.9407, 1722.8080, 8.2594, 270.0000, 6, 1, -1);
  171. VipV[4] = AddStaticVehicleEx(409, 982.1523, 1724.6615, 8.3580, 135.0000, 6, 1, -1);
  172. VipV[5] = AddStaticVehicleEx(409, 982.1523, 1732.5748, 8.3580, 139.9200, 6, 1, -1);
  173. VipV[6] = AddStaticVehicleEx(437, 980.9009, 1745.4430, 8.6990, 90.0000, 6, 1, -1);
  174. VipV[7] = AddStaticVehicleEx(560, 952.9407, 1742.9785, 8.2594, 270.0000, 6, 1, -1);
  175. VipV[8] = AddStaticVehicleEx(411, 952.9407, 1756.2764, 8.3802, 270.0000, 6, 1, -1);
  176. VipV[9] = AddStaticVehicleEx(451, 952.9407, 1751.7570, 8.2821, 270.0000, 6, 1, -1);
  177. VipV[10] = AddStaticVehicleEx(506, 952.9407, 1747.3180, 8.3646, 270.0000, 6, 1, -1);
  178. VipV[11] = AddStaticVehicleEx(556, 981.8475, 1699.7493, 9.0000, 0.0000, 6, 1, -1);
  179. VipV[12] = AddStaticVehicleEx(556, 981.8475, 1691.0187, 9.0000, 0.0000, 6, 1, -1);
  180. VipV[13] = AddStaticVehicleEx(579, 973.9377, 1766.0103, 8.6800, 215.0000, 6, 1, -1);
  181. VipV[14] = AddStaticVehicleEx(579, 973.9377, 1771.1895, 8.6800, 215.0000, 6, 1, -1);
  182. VipV[15] = AddStaticVehicleEx(579, 973.9377, 1776.2993, 8.6800, 215.0000, 6, 1, -1);
  183. VipV[16] = AddStaticVehicleEx(541, 964.4099, 1708.9886, 8.2600, 315.0000, 6, 1, -1);
  184. VipV[17] = AddStaticVehicleEx(541, 964.4099, 1757.3568, 8.2600, 225.0000, 6, 1, -1);
  185. VipV[18] = AddStaticVehicleEx(522, 973.4894, 1673.6302, 8.1795, 315.0000, 6, 1, -1);
  186. VipV[19] = AddStaticVehicleEx(522, 973.4894, 1676.9053, 8.1795, 315.0000, 6, 1, -1);
  187. VipV[20] = AddStaticVehicleEx(522, 973.4894, 1680.2059, 8.1795, 315.0000, 6, 1, -1);
  188. VipV[21] = AddStaticVehicleEx(522, 973.4894, 1683.6132, 8.1795, 315.0000, 6, 1, -1);
  189. VipV[22] = AddStaticVehicleEx(522, 973.4894, 1686.9117, 8.1795, 315.0000, 6, 1, -1);
  190. // ----- [ Pogrebna vozila ] -----
  191. Grobar[0] = AddStaticVehicleEx(442,929.09741211,-1062.98229980,24.24604416,90.00000000,0,0,-1); //Romero
  192. Grobar[1] = AddStaticVehicleEx(442,929.09667969,-1066.98144531,24.24604416,90.00000000,0,0,-1); //Romero
  193. Grobar[2] = AddStaticVehicleEx(442,929.09667969,-1070.98144531,24.24604416,90.00000000,0,0,-1); //Romero
  194. Grobar[3] = AddStaticVehicleEx(442,929.09667969,-1074.98144531,24.24604416,90.00000000,0,0,-1); //Romero
  195. Grobar[4] = AddStaticVehicleEx(442,929.09667969,-1078.98144531,24.24604416,90.00000000,0,0,-1); //Romero
  196. Grobar[5] = AddStaticVehicleEx(442,929.09667969,-1082.98144531,24.24604416,90.00000000,0,0,-1); //Romero
  197. //------ [ Rudar vozila ]------
  198. RudarKamion[0] = AddStaticVehicleEx(515, 863.4384, 837.5108, 14.3731, 0.0000, 3, 1, -1);
  199. RudarKamion[1] = AddStaticVehicleEx(515, 868.2276, 837.5108, 14.3731, 0.0000, 3, 1, -1);
  200. RudarKamion[2] = AddStaticVehicleEx(515, 873.0438, 837.5108, 14.3731, 0.0000, 3, 1, -1);
  201. RudarKamion[3] = AddStaticVehicleEx(515, 878.0193, 837.5108, 14.3731, 0.0000, 3, 1, -1);
  202. RudarKamion[4] = AddStaticVehicleEx(515, 883.2269, 837.5108, 14.3731, 0.0000, 3, 1, -1);
  203. RudarPrikolica[0] = AddStaticVehicleEx(450, 894.3375, 837.5108, 14.3603, 0.0000, -1, -1, -1);
  204. RudarPrikolica[1] = AddStaticVehicleEx(450, 899.1950, 837.5108, 14.3603, 0.0000, -1, -1, -1);
  205. RudarPrikolica[2] = AddStaticVehicleEx(450, 904.1132, 837.5108, 14.3603, 0.0000, -1, -1, -1);
  206. RudarPrikolica[3] = AddStaticVehicleEx(450, 909.4573, 837.5108, 14.3603, 0.0000, -1, -1, -1);
  207. RudarPrikolica[4] = AddStaticVehicleEx(450, 889.3523, 837.5108, 14.3603, 0.0000, -1, -1, -1);
  208. // ----- [ Posao Dostavljac pice] -----
  209. Dpice[0] = AddStaticVehicleEx(448, 2089.0374, -1813.1432, 12.8951, 90.0000,3,6,-1);
  210. Dpice[1] = AddStaticVehicleEx(448, 2089.0374, -1815.1056, 12.8951, 89.9400,3,6,-1);
  211. Dpice[2] = AddStaticVehicleEx(448, 2089.0374, -1816.9730, 12.8951, 89.9400,3,6,-1);
  212. Dpice[3] = AddStaticVehicleEx(448, 2089.0374, -1818.7621, 12.8951, 89.9400,3,6,-1);
  213. Dpice[4] = AddStaticVehicleEx(448, 2089.0374, -1820.9084, 12.8951, 89.9400,3,6,-1);
  214. // ------ [ Posao Vojnik ] ----
  215. Vojnik[0] = AddStaticVehicleEx(433, 1703.8311, 754.4025, 11.1111, 90.0000, 95, 10, -1);
  216. Vojnik[1] = AddStaticVehicleEx(433, 1703.8311, 759.0797, 11.1111, 90.0000, 95, 10, -1);
  217. Vojnik[2] = AddStaticVehicleEx(433, 1703.8311, 763.7568, 11.1111, 90.0000, 95, 10, -1);
  218. Vojnik[3] = AddStaticVehicleEx(433, 1703.8311, 768.0487, 11.1111, 90.0000, 95, 10, -1);
  219. // ----- [ Avioni LS ] -----
  220. Avion[0] = AddStaticVehicleEx(553,1948.41955566,-2642.74169922,15.78187466,0.00000000,1,79,-1); //Nevada
  221. Avion[1] = AddStaticVehicleEx(519,1978.41894531,-2642.74121094,15.78187466,0.00000000,1,79,-1); //Shamal
  222. Avion[2] = AddStaticVehicleEx(553,2008.41894531,-2642.74121094,15.78187466,0.00000000,1,79,-1); //Nevada
  223. Avion[3] = AddStaticVehicleEx(519,2038.41894531,-2642.74121094,15.78187466,0.00000000,1,79,-1); //Shamal
  224. Avion[4] = AddStaticVehicleEx(553,2068.41894531,-2642.74121094,15.78187466,0.00000000,1,79,-1); //Nevada
  225. //DM EVENT
  226. DMVozilo[0] = AddStaticVehicleEx(500, 352.9591, 2541.6731, 16.7118, 180.0000, -1, -1, 200);
  227. DMVozilo[1] = AddStaticVehicleEx(500, 324.8871, 2536.1399, 16.7718, 220.9800, -1, -1, 200);
  228. DMVozilo[2] = AddStaticVehicleEx(500, 264.1348, 2477.7715, 16.7718, 307.3799, -1, -1, 200);
  229. DMVozilo[3] = AddStaticVehicleEx(500, 178.0048, 2460.6499, 16.7718, 369.0000, -1, -1, 200);
  230. DMVozilo[4] = AddStaticVehicleEx(470, 154.9985, 2503.1321, 16.3652, 60.0000, -1, -1, 200);
  231. DMVozilo[5] = AddStaticVehicleEx(470, 158.3521, 2469.7249, 16.3652, 1.3200, -1, -1, 200);
  232. DMVozilo[6] = AddStaticVehicleEx(470, 210.8600, 2473.6814, 16.3652, 1.3200, -1, -1, 200);
  233. DMVozilo[7] = AddStaticVehicleEx(470, 284.2759, 2523.7012, 16.5652, 94.2000, -1, -1, 200);
  234. DMVozilo[8] = AddStaticVehicleEx(470, 373.8600, 2474.8384, 16.5652, -2.2800, -1, -1, 200);
  235. DMVozilo[9] = AddStaticVehicleEx(470, 416.9538, 2510.1497, 16.5652, -2.2800, -1, -1, 200);
  236. DMVozilo[10] = AddStaticVehicleEx(470, 407.7538, 2541.4846, 16.5652, 180.0000, -1, -1, 200);
  237. DMVozilo[11] = AddStaticVehicleEx(471, 382.7965, 2532.5710, 15.9599, 40.0200, -1, -1, 200);
  238. DMVozilo[12] = AddStaticVehicleEx(471, 382.8867, 2535.5640, 15.9599, 107.1000, -1, -1, 200);
  239. DMVozilo[13] = AddStaticVehicleEx(471, 304.8326, 2505.2097, 15.9547, 0.0000, -1, -1, 200);
  240. DMVozilo[14] = AddStaticVehicleEx(471, 153.0769, 2531.1079, 16.2091, 123.0600, -1, -1, 200);
  241. DMVozilo[15] = AddStaticVehicleEx(471, 150.2314, 2532.0962, 16.2091, 223.8000, -1, -1, 200);
  242. DMVozilo[16] = AddStaticVehicleEx(515, 293.0100, 2539.4995, 17.8400, 180.0000, -1, -1, 200);
  243. DMVozilo[17] = AddStaticVehicleEx(568, 212.2707, 2532.6304, 16.9400, 166.8000, -1, -1, 200);
  244. DMVozilo[18] = AddStaticVehicleEx(578, 397.9696, 2459.3281, 17.0600, 0.0000, -1, -1, 200);
  245. DMVozilo[19] = AddStaticVehicleEx(601, 285.5451, 2437.8674, 16.2757, 38.7000, -1, -1, 200);
  246. DMVozilo[20] = AddStaticVehicleEx(434, 374.4285, 2455.7446, 16.6600, 20.8200, -1, -1, 200);
  247. DMVozilo[21] = AddStaticVehicleEx(433, 260.6427, 2539.9485, 17.2600, 159.4200, -1, -1, 200);
  248. // ----- [ Gradjevinar vozila ] -----
  249. Gradjevinar[0] = AddStaticVehicleEx(486, 2403.4380, 1915.3163, 6.1576, 270.0000, -1, 1, -1);
  250. Gradjevinar[1] = AddStaticVehicleEx(486, 2403.4380, 1923.1842, 6.1576, 270.0000, -1, 1, -1);
  251. Gradjevinar[2] = AddStaticVehicleEx(486, 2403.4380, 1930.9894, 6.1576, 270.0000, -1, 1, -1);
  252. Gradjevinar[3] = AddStaticVehicleEx(524, 2376.8469, 1942.5748, 6.9464, 270.7527, 6, 1, -1); // Kamion 1
  253. Gradjevinar[4] = AddStaticVehicleEx(524, 2376.8862, 1929.9915, 6.9506, 268.7876, 6, 1, -1); // Kamion 2
  254. Gradjevinar[5] = AddStaticVehicleEx(524, 2377.1475, 1917.9764, 6.9483, 269.9832, 6, 1, -1); // Kamion 3
  255. Gradjevinar[6] = AddStaticVehicleEx(524, 2376.4875, 1905.1123, 6.9499, 270.4859, 6, 1, -1); // Kamion 4
  256. Gradjevinar[7] = AddStaticVehicleEx(524, 2376.5842, 1894.6587, 6.9493, 270.4686, 6, 1, -1); // Kamion 5
  257. // ----- [ VOZ ] -----
  258. Voz = AddStaticVehicleEx(538,1730.0007,-1955.9659,13.2678,270.00000000,3,1,-1); // Train
  259. // ----- [ Mehanicar vozila ] -----
  260. Mehanicar[0] = AddStaticVehicleEx(525, 2121.2544, -2137.5364, 13.4067, 180.0000, 3, 1, 200);
  261. Mehanicar[1] = AddStaticVehicleEx(525, 2125.8149, -2137.5364, 13.4067, 180.0000, 3, 1, 200);
  262. Mehanicar[2] = AddStaticVehicleEx(525, 2130.2991, -2137.5364, 13.4067, 180.0000, 3, 1, 200);
  263. Mehanicar[3] = AddStaticVehicleEx(525, 2135.0342, -2137.5364, 13.4067, 180.0000, 3, 1, 200);
  264. Mehanicar[4] = AddStaticVehicleEx(525, 2117.0168, -2149.4592, 13.4067, 180.0000, 3, 1, 200);
  265. Mehanicar[5] = AddStaticVehicleEx(525, 2123.9739, -2187.4390, 13.4067, 45.0000, 3, 1, 200);
  266. Mehanicar[6] = AddStaticVehicleEx(525, 2120.5737, -2192.5889, 13.5239, 46.0800, 3, 1, 200);
  267. Mehanicar[7] = AddStaticVehicleEx(525, 2126.1584, -2198.1370, 13.5239, 46.0800, 3, 1, 200);
  268. Mehanicar[8] = AddStaticVehicleEx(525, 2132.1199, -2203.9587, 13.5239, 46.0800, 3, 1, 200);
  269. Mehanicar[9] = AddStaticVehicleEx(525, 2138.0713, -2209.8389, 13.5239, 46.0800, 3, 1, 200);
  270. Mehanicar[10] = AddStaticVehicleEx(525, 2097.0964, -2175.3958, 13.5239, 63.8400, 3, 1, 200);
  271. Mehanicar[11] = AddStaticVehicleEx(525, 2090.1355, -2171.9502, 13.5239, 63.8400, 3, 1, 200);
  272. Mehanicar[12] = AddStaticVehicleEx(525, 2085.6033, -2164.5889, 13.5239, 87.0600, 3, 1, 200);
  273. Mehanicar[13] = AddStaticVehicleEx(525, 2078.3311, -2164.3472, 13.5239, 87.0600, 3, 1, 200);
  274. // ----- [ Vucna Sluzba ] ----
  275. Vucna[0] = AddStaticVehicleEx(525, 1587.6002, 963.5903, 10.4800, 270.0000, 6, 6, -1);
  276. Vucna[1] = AddStaticVehicleEx(525, 1587.6002, 969.1556, 10.4800, 270.0000, 6, 6, -1);
  277. Vucna[2] = AddStaticVehicleEx(525, 1587.6002, 974.8591, 10.4800, 270.0000, 6, 6, -1);
  278. Vucna[3] = AddStaticVehicleEx(525, 1587.6002, 980.6660, 10.4800, 270.0000, 6, 6, -1);
  279. Vucna[4] = AddStaticVehicleEx(525, 1587.6002, 986.6531, 10.4800, 270.0000, 6, 6, -1);
  280. Vucna[5] = AddStaticVehicleEx(525, 1587.6002, 992.2366, 10.4800, 269.9400, 6, 6, -1);
  281. // ----- [ Vucna Sluzba ] ----
  282. Ribar[0] = AddStaticVehicleEx(453, 1371.0164, 582.4791, 0.3040, 180.0000, 1, 1, -1);
  283. Ribar[1] = AddStaticVehicleEx(453, 1383.3645, 582.4791, 0.3040, 180.0000, 1, 1, -1);
  284. Ribar[2] = AddStaticVehicleEx(453, 1393.8890, 582.4791, 0.3040, 180.0000, 1, 1, -1);
  285. Ribar[3] = AddStaticVehicleEx(453, 1405.8429, 582.4791, 0.3040, 180.0000, 1, 1, -1);
  286. // ----- [ DRVOSECA ] ----
  287. Drvoseca[0] = AddStaticVehicleEx(578, 1093.1040, 1851.1422, 11.3300, 0.0000, 1, 1, -1);
  288. Drvoseca[1] = AddStaticVehicleEx(578, 1088.8135, 1851.1422, 11.3300, 0.0000, 1, 1, -1);
  289. Drvoseca[2] = AddStaticVehicleEx(578, 1126.2990, 1871.7194, 11.3300, 90.0000, 1, 1, -1);
  290. Drvoseca[3] = AddStaticVehicleEx(578, 1126.2990, 1875.4775, 11.3300, 90.0000, 1, 1, -1);
  291. Drvoseca[4] = AddStaticVehicleEx(578, 1126.2990, 1879.2870, 11.3300, 90.0000, 1, 1, -1);
  292. Drvoseca[5] = AddStaticVehicleEx(578, 1126.2990, 1883.2063, 11.3300, 90.0000, 1, 1, -1);
  293. //-------[ Kamiondija ]------
  294. Kamion[0] = AddStaticVehicleEx(515, -511.4393, -549.8409, 26.6155, 270.0000, 6, 1, -1);
  295. Kamion[1] = AddStaticVehicleEx(515, -498.5976, -533.7311, 26.6155, 317.2200, 6, 1, -1);
  296. Kamion[2] = AddStaticVehicleEx(515, -498.5976, -523.0970, 26.6155, 317.2200, 6, 1, -1);
  297. Kamion[3] = AddStaticVehicleEx(515, -479.9894, -536.2723, 26.6155, 364.8600, 6, 1, -1);
  298. Kamion[4] = AddStaticVehicleEx(515, -511.4393, -544.8574, 26.6155, 270.0000, 6, 1, -1);
  299. KamionPrikolica[0] = AddStaticVehicleEx(435, -475.1551, -473.3945, 26.1767, 180.0000, -1, -1, -1);
  300. KamionPrikolica[1] = AddStaticVehicleEx(435, -484.5008, -473.3945, 26.1767, 179.5200, -1, -1, -1);
  301. KamionPrikolica[2] = AddStaticVehicleEx(435, -494.5659, -473.3945, 26.1767, 179.5200, -1, -1, -1);
  302. KamionPrikolica[3] = AddStaticVehicleEx(435, -471.2327, -504.6475, 26.1767, 55.3200, -1, -1, -1);
  303. KamionPrikolica[4] = AddStaticVehicleEx(435, -472.2709, -521.2436, 26.1767, 22.9800, -1, -1, -1);
  304.  
  305. Autoskola[0] = AddStaticVehicleEx(436,1428.39392090,-2356.28002930,13.47799397,270.00000000,6,124,100); //Previon
  306. Autoskola[1] = AddStaticVehicleEx(436,1428.30615234,-2359.74096680,13.47799397,270.00000000,6,124,100); //Previon
  307. Autoskola[2] = AddStaticVehicleEx(436,1428.36267090,-2362.83886719,13.47799397,270.00000000,6,124,100); //Previon
  308. Autoskola[3] = AddStaticVehicleEx(436,1428.34680176,-2366.16918945,13.47799397,270.00000000,6,124,100); //Previon
  309. // ----- [ Taxi vozila ] ------
  310. taxiv[0] = AddStaticVehicleEx(420, 1778.2587, -1932.9655, 13.1000, 270.0000, 6, 1, -1);
  311. taxiv[1] = AddStaticVehicleEx(420, 1778.2587, -1928.6973, 13.1000, 270.0000, 6, 1, -1);
  312. taxiv[2] = AddStaticVehicleEx(420, 1778.2587, -1924.5444, 13.1000, 270.0000, 6, 1, -1);
  313. taxiv[3] = AddStaticVehicleEx(420, 1778.2587, -1920.2548, 13.1000, 270.0000, 6, 1, -1);
  314. taxiv[4] = AddStaticVehicleEx(438, 1778.2587, -1904.6184, 13.3000, 270.0000, 6, 1, -1);
  315. taxiv[5] = AddStaticVehicleEx(438, 1778.2587, -1900.1930, 13.3000, 270.0000, 6, 1, -1);
  316. taxiv[6] = AddStaticVehicleEx(438, 1778.2587, -1895.8192, 13.3000, 270.0000, 6, 1, -1);
  317. taxiv[7] = AddStaticVehicleEx(438, 1778.2587, -1891.4495, 13.3000, 270.0000, 6, 1, -1);
  318. taxiv[8] = AddStaticVehicleEx(560, 1803.4063, -1931.7496, 13.0165, 45.0000, 6, 1, -1);
  319. taxiv[9] = AddStaticVehicleEx(560, 1803.4063, -1926.9900, 13.0165, 45.0000, 6, 1, -1);
  320. taxiv[10] = AddStaticVehicleEx(560, 1803.4063, -1922.1759, 13.0165, 45.0000, 6, 1, -1);
  321. taxiv[11] = AddStaticVehicleEx(560, 1803.4063, -1917.3608, 13.0165, 45.0000, 6, 1, -1);
  322. taxiv[12] = AddStaticVehicleEx(409, 1789.3369, -1931.6831, 13.0998, 315.0000, 6, 1, -1);
  323. taxiv[13] = AddStaticVehicleEx(409, 1789.3573, -1887.6915, 13.0998, 245.0000, 6, 1, -1);
  324. taxiv[14] = AddStaticVehicleEx(409, 1805.3433, -1905.0687, 13.0998, 0.0000, 6, 1, -1);
  325. // ----- [ Kamion polaganje ] ------ //
  326. KamionP[0] = AddStaticVehicleEx(514,-2101.1941000,-24.1844000,35.7480000,359.5939000,251,251,200); //Tanker
  327. KamionP[1] = AddStaticVehicleEx(514,-2106.8176000,-24.1386000,35.7480000,359.5939000,251,251,200); //Tanker
  328. KamionP[2] = AddStaticVehicleEx(514,-2112.6360000,-24.0928000,35.7480000,359.5939000,251,251,200); //Tanker
  329. KamionP[3] = AddStaticVehicleEx(514,-2118.3767000,-24.1033000,35.7480000,359.5939000,251,251,200); //Tanker
  330. //------ [ Moto Skola ] -------
  331. Motoskola[0] = AddStaticVehicleEx(586, 2317.6062, 944.8744, 10.3542, 270.0000, 6, 1, 200);
  332. Motoskola[1] = AddStaticVehicleEx(586, 2317.6062, 948.3094, 10.3542, 270.0000, 6, 1, 200);
  333. Motoskola[2] = AddStaticVehicleEx(586, 2317.6062, 953.9204, 10.3542, 270.0000, 6, 1, 200);
  334. Motoskola[3] = AddStaticVehicleEx(586, 2317.6062, 957.4637, 10.3542, 270.0000, 6, 1, 200);
  335. //------ [ Avio Skola ] -------
  336. Avioskola[0] = AddStaticVehicleEx(469, 1403.2224, 1767.5808, 10.7514, 180.0000, 6, 1, 200);
  337. Avioskola[1] = AddStaticVehicleEx(469, 1392.3820, 1767.5686, 10.7514, 180.0000, 6, 1, 200);
  338. Avioskola[2] = AddStaticVehicleEx(469, 1403.2224, 1780.2349, 10.7514, 180.0000, 6, 1, 200);
  339. Avioskola[3] = AddStaticVehicleEx(469, 1392.3820, 1780.2349, 10.7514, 180.0000, 6, 1, 200);
  340. Avioniskola[0] = AddStaticVehicleEx(593, 1361.6467, 1766.6541, 11.3200, 180.0000, -1, -1, 100);
  341. Avioniskola[1] = AddStaticVehicleEx(593, 1361.6467, 1777.1063, 11.3200, 180.0000, -1, -1, 100);
  342. Avioniskola[2] = AddStaticVehicleEx(593, 1361.6467, 1788.4702, 11.3200, 180.0000, -1, -1, 100);
  343. //Vozila
  344. VlasnikVozilo = AddStaticVehicle(560,-2354.1536,-1620.6289,483.3629,261.1289,1,1); // Sultan
  345. KucaVozilo = AddStaticVehicle(444,177.8083,-1634.4823,15.7551,38.0564,1,1); // MOZE VOZITI SAMO VLASNIK KUCE ID 236 i 237
  346. /*for(new i = 1; i < 30; i++)
  347. {*/
  348. VlasnikVoziloLabel[0] = Create3DTextLabel("[Vlasnik vozilo]", TAMNOCRVENA, 0.0, 0.0, -1.0, 15.0, 0, 1 );
  349. Attach3DTextLabelToVehicle( VlasnikVoziloLabel[0], VlasnikVozilo, 0.0, 0.0, 0.0);
  350. // ----- [ Rent vozila ] -----
  351. for(new i; i < sizeof(RentVozilo); i++)
  352. {
  353. RentVozilo[i] = AddStaticVehicleEx(RentACar2[i][0], RentACar1[i][0], RentACar1[i][1], RentACar1[i][2], RentACar1[i][3], RentACar2[i][1], RentACar2[i][1], 600);
  354. VoziloIznajmljeno[i] = -1;
  355. if(VoziloJeMotor(GetVehicleModel(RentVozilo[i])))
  356. {
  357. RentLabel[i] = Create3DTextLabel("[Rent a Moto]", PLAVA3, 0.0, 0.0, -1.0, 15.0, 0, 1 );
  358. Attach3DTextLabelToVehicle(RentLabel[i], RentVozilo[i], 0.0, 0.0, 0.0);
  359. }
  360. else if(VoziloJeBicikla(GetVehicleModel(RentVozilo[i])))
  361. {
  362. RentLabel[i] = Create3DTextLabel("[Rent a Bike]", PLAVA3, 0.0, 0.0, -1.0, 15.0, 0, 1 );
  363. Attach3DTextLabelToVehicle(RentLabel[i], RentVozilo[i], 0.0, 0.0, 0.0);
  364. }
  365. else if(VoziloJeBrod(GetVehicleModel(RentVozilo[i])))
  366. {
  367. RentLabel[i] = Create3DTextLabel("[Rent a Boat]", PLAVA3, 0.0, 0.0, -1.0, 15.0, 0, 1 );
  368. Attach3DTextLabelToVehicle(RentLabel[i], RentVozilo[i], 0.0, 0.0, 0.0);
  369. }
  370. else if(VoziloJeAvion(GetVehicleModel(RentVozilo[i])))
  371. {
  372. RentLabel[i] = Create3DTextLabel("[Rent a Plane]", PLAVA3, 0.0, 0.0, -1.0, 15.0, 0, 1 );
  373. Attach3DTextLabelToVehicle(RentLabel[i], RentVozilo[i], 0.0, 0.0, 0.0);
  374. }
  375. else
  376. {
  377. RentLabel[i] = Create3DTextLabel("[Rent a Car]", 0x00BCFFFF, 0.0, 0.0, -1.0, 15.0, 0, 1 );
  378. Attach3DTextLabelToVehicle(RentLabel[i], RentVozilo[i], 0.0, 0.0, 0.0);
  379. }
  380. }
  381. for(new i; i < 89; i++)
  382. {
  383. SmeceLabel[i] = CreateDynamic3DTextLabel("POSAO SMETLAR\n{FFFFFF}/uzmismece\n\n{00BCFF}/trazistvari", PLAVA3, Smetliste[i][0], Smetliste[i][1], Smetliste[i][2]+1, 7, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0);
  384. SmeceTime[i] = 1;
  385. }
  386. for(new i; i < 34; i++)
  387. {
  388. BankomatiLabel[i] = CreateDynamic3DTextLabel("BANKOMAT\n{FFFFFF}/pljackabankomata", PLAVA3, Bankomati[i][0], Bankomati[i][1], Bankomati[i][2], 15, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0);
  389. BankomatTime[i] = 1;
  390. BankomatNovac[i] = 10000;
  391. }
  392. print( "-- Skripta je ucitana do kraja!");
  393. return 1;
  394. }
Advertisement
Add Comment
Please, Sign In to add comment