Guest User

Untitled

a guest
May 22nd, 2013
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.59 KB | None | 0 0
  1. new string[256];
  2. new string1[MAX_PLAYER_NAME];
  3. for(new c=0;c<CAR_AMOUNT;c++)
  4. {
  5. Gas[c] = GasMax;
  6. }
  7. LoadProperty();
  8. LoadBizz();
  9. LoadSBizz();
  10. LoadBoxer();
  11. LoadStuff();
  12. LoadIRC();
  13. LoadFamilies();
  14. LoadCK();
  15. LoadTurfs();
  16. LoadPapers();
  17. IRCInfo[0][iPlayers] = 0; IRCInfo[1][iPlayers] = 0; IRCInfo[2][iPlayers] = 0;
  18. IRCInfo[3][iPlayers] = 0; IRCInfo[4][iPlayers] = 0; IRCInfo[5][iPlayers] = 0;
  19. IRCInfo[6][iPlayers] = 0; IRCInfo[7][iPlayers] = 0; IRCInfo[8][iPlayers] = 0;
  20. IRCInfo[9][iPlayers] = 0;
  21. News[hTaken1] = 0; News[hTaken2] = 0; News[hTaken3] = 0; News[hTaken4] = 0; News[hTaken5] = 0;
  22. format(string, sizeof(string), "Nothing");
  23. strmid(News[hAdd1], string, 0, strlen(string), 255);
  24. strmid(News[hAdd2], string, 0, strlen(string), 255);
  25. strmid(News[hAdd3], string, 0, strlen(string), 255);
  26. strmid(News[hAdd4], string, 0, strlen(string), 255);
  27. strmid(News[hAdd5], string, 0, strlen(string), 255);
  28. format(string1, sizeof(string1), "No-one");
  29. strmid(News[hContact1], string1, 0, strlen(string1), 255);
  30. strmid(News[hContact2], string1, 0, strlen(string1), 255);
  31. strmid(News[hContact3], string1, 0, strlen(string1), 255);
  32. strmid(News[hContact4], string1, 0, strlen(string1), 255);
  33. strmid(News[hContact5], string1, 0, strlen(string1), 255);
  34. PlayerHaul[78][pCapasity] = 100;
  35. PlayerHaul[79][pCapasity] = 100;
  36. PlayerHaul[80][pCapasity] = 50;
  37. PlayerHaul[81][pCapasity] = 50;
  38. SetGameModeText("ALiens Romania v1.0");
  39. format(objstore, sizeof(objstore), "MOLE: I got nothing, check back with me later.");
  40. format(cbjstore, sizeof(cbjstore), "HQ: There is nothing in your Vicinity, Out.");
  41. format(motd, sizeof(motd), "Bun venit pe serverul nostru.ALiens Romania.");
  42. gettime(ghour, gminute, gsecond);
  43. FixHour(ghour);
  44. ghour = shifthour;
  45. if(!realtime)
  46. {
  47. SetWorldTime(wtime);
  48. }
  49. SetPDistance(10);
  50. //EnableTirePopping(1);
  51. //EnableZoneNames(1);
  52. AllowInteriorWeapons(1);
  53. //AllowAdminTeleport(1);
  54. UsePlayerPedAnims();
  55. // CreatedCars check
  56. for(new i = 0; i < sizeof(CreatedCars); i++)
  57. {
  58. CreatedCars[i] = 0;
  59. }
  60. // Zones
  61. for(new i = 0; i < sizeof(TurfInfo); i++)
  62. {
  63. Turfs[i] = GangZoneCreate(TurfInfo[i][zMinX],TurfInfo[i][zMinY],TurfInfo[i][zMaxX],TurfInfo[i][zMaxY]);
  64. }
  65. // Player Class's
  66. for(new i = 0; i <= sizeof(Peds)-1; i++)
  67. {
  68. AddPlayerClass(Peds[i][0],1958.3783,1343.1572,1100.3746,269.1425,-1,-1,-1,-1,-1,-1);
  69. }
  70. //--------------------------------------------[CARS GROVE]------------------------------------------------------
  71. AddStaticVehicle(518,2516.8374,-1672.0383,13.6449,63.1716,86,86); // Grove CAR
  72. SetVehicleNumberPlate(1, "GROV 001");
  73. AddStaticVehicle(560,2505.7214,-1693.9906,13.2941,0.9380,86,86); //
  74. SetVehicleNumberPlate(2, "GROV 002");
  75. AddStaticVehicle(409,2492.8052,-1684.0913,13.1570,91.0356,86,86); //
  76. SetVehicleNumberPlate(3, "GROV 003");
  77. AddStaticVehicle(579,2473.3149,-1692.2532,13.2521,359.2916,86,0); //
  78. SetVehicleNumberPlate(4, "GROV 004");
  79. AddStaticVehicle(567,2482.0283,-1653.5009,13.2915,89.4898,86,0); //
  80. SetVehicleNumberPlate(5, "GROV 005");
  81. AddStaticVehicle(567,2469.9448,-1669.7424,13.1809,12.5599,86,0); //
  82. SetVehicleNumberPlate(6, "GROV 006");
  83. AddStaticVehicle(487,2529.9680,-1676.8478,19.9419,91.0528,86,0); //
  84. SetVehicleNumberPlate(7, "GROV 007");
  85. AddStaticVehicle(536,-1702.6705,1353.2782,6.9160,135.7493,93,0); //
  86. SetVehicleNumberPlate(8, "GROV 008");
  87. AddStaticVehicle(482,2472.1609,-1676.6594,13.4448,36.1950,86,86); //
  88. SetVehicleNumberPlate(9, "GROV 009");
  89. //--------------------------------------------[CARS BALLAS]-------------------------------------------------------
  90. AddStaticVehicle(567,2229.1812,-1368.1683,23.7298,90.1990,147,147); //
  91. SetVehicleNumberPlate(10, "BALL 001");
  92. AddStaticVehicle(567,2229.1511,-1362.9766,23.8589,91.0945,147,147); //
  93. SetVehicleNumberPlate(11, "BALL 002");
  94. AddStaticVehicle(560,2216.8643,-1333.6128,23.6553,271.4279,147,147); //
  95. SetVehicleNumberPlate(12, "BALL 003");
  96. AddStaticVehicle(409,2230.2454,-1346.4067,23.6557,179.4410,147,147); //
  97. SetVehicleNumberPlate(13, "BALL 004");
  98. AddStaticVehicle(566,2236.8379,-1320.9083,23.6470,33.1092,147,147); //
  99. SetVehicleNumberPlate(14, "BALL 005");
  100. AddStaticVehicle(579,2242.4763,-1320.7937,23.7219,34.1591,147,147); //
  101. SetVehicleNumberPlate(15, "BALL 006");
  102. AddStaticVehicle(487,2189.9448,-1323.9725,28.4437,226.5885,147,147); //
  103. SetVehicleNumberPlate(16, "BALL 007");
  104. //--------------------------------------------[CARS]-------------------------------------
  105.  
  106. CreateVehicle(494,-1401.0436,-210.0052,1042.9913,1.6623,1,0,60000); //hotring 116
  107. CreateVehicle(494,-1400.4019,-219.9365,1043.0348,5.3554,1,3,60000); //hotring
  108. CreateVehicle(494,-1394.4932,-207.7917,1042.9963,3.6872,0,6,60000); //hotring
  109. CreateVehicle(494,-1393.7854,-217.9354,1043.0325,2.9556,1,2,60000); //hotring
  110. CreateVehicle(468,-1445.6392,-592.3033,1055.7831,90.2133,-1,-1,60000); //bike 120
  111. CreateVehicle(468,-1433.1708,-592.4930,1055.6533,92.4067,-1,-1,60000); //bike
  112. CreateVehicle(468,-1448.5325,-584.4943,1055.4949,95.5400,-1,-1,60000); //bike
  113. CreateVehicle(468,-1434.8973,-585.1266,1055.2488,91.1533,-1,-1,60000); //bike
  114. CreateVehicle(468,-1449.2814,1610.7823,1052.5313,272.9406,-1,-1,60000); // bike 124
  115. CreateVehicle(468,-1453.8767,1611.2418,1052.5313,89.0355,-1,-1,60000); // bike
  116. CreateVehicle(468,-1454.4746,1614.3342,1052.5313,86.8422,-1,-1,60000); // bike
  117. CreateVehicle(468,-1449.5795,1614.0684,1052.5313,269.2039,-1,-1,60000); // bike
  118. CreateVehicle(514,-77.5039,-1108.1729,1.6683,161.8915,-1,-1,60000); // truck
  119. CreateVehicle(514,-72.3507,-1109.7822,1.6670,161.7769,-1,-1,60000); // truck
  120. CreateVehicle(514,-67.0126,-1111.7156,1.6688,160.4800,-1,-1,60000); // truck
  121. CreateVehicle(435,-51.0638,-1135.2831,1.0781,68.3320,-1,-1,60000); // trailer
  122. CreateVehicle(435,-53.6230,-1139.7546,1.0781,67.5604,-1,-1,60000); // trailer
  123. CreateVehicle(435,-55.0517,-1144.3676,0.8018,68.1347,-1,-1,60000); // trailer
  124.  
  125.  
  126. AddStaticVehicleEx(596,-1381.9910,457.0832,6.9837,0.1452, 44, 86, 60000);/*Patriot cruiser*/
  127. AddStaticVehicleEx(596,1558.392000,-1710.859000,5.466783,1.0, -1, -1, 60000);/*CopCruiser*/
  128. AddStaticVehicleEx(596,1569.639000,-1710.859000,5.466783,1.0, -1, -1, 60000);/*CopCruiser*/
  129. AddStaticVehicleEx(596,-2139.1995,-2393.7671,30.3452,140.7012, 0, 0, 60000);/*CopCruiser*/
  130. AddStaticVehicleEx(425,-1279.8262,493.3734,18.0309,219.1345, -1, -1, 60000);/*Hunter*/
  131. AddStaticVehicleEx(425,-1291.0063,492.3819,18.0305,223.8306, -1, -1, 60000);/*Hunter*/
  132. AddStaticVehicleEx(596,1601.308000,-1621.916000,13.056540,90.0, -1, -1, 60000);/*CopCruiser*/
  133. AddStaticVehicleEx(596,1535.8275,-1678.0283,13.1680,359.9876, -1, -1, 60000);/*CopCruiser*/
  134. AddStaticVehicleEx(596,1561.860000,-1694.905000,6.139762,222.0,-1, -1, 60000);/*CopCruiser*/
  135. AddStaticVehicleEx(470,-1375.1555,457.5534,6.9837,359.8331,-1, -1, 60000);/*Patriot*/
  136. AddStaticVehicleEx(467,1067.1295,-295.5681,73.7826,179.6040, 90, -1, 60000);/*Hitman Oceanic*/
  137. AddStaticVehicleEx(467,1077.3829,-295.1148,73.7812,180.2754, 90, -1, 60000);/*Hitman Oceanic*/
  138. AddStaticVehicleEx(596,614.8,-588.5,17.4,240.0, -1, -1, 60000);/*CopCruiser*/
  139. AddStaticVehicleEx(596,635.1,-561.5,16.5,180.0, -1, -1, 60000);/*CopCruiser*/
  140. AddStaticVehicleEx(596,-2177.5759,-2362.5042,30.4296,141.0939, 0, 0, 60000);/*CopCruiser*/
  141. AddStaticVehicleEx(490,1539.392000,-1646.262000,6.274928,180.0, -1, -1, 60000);/*FBI Rancher*/
  142. AddStaticVehicleEx(490,1531.254000,-1647.431000,6.274976,200.0, -1, -1, 60000);/*FBI Rancher*/
  143. AddStaticVehicleEx(470,-1363.1493,457.1042,6.9836,359.6740, -1, -1, 60000);/*Patriot*/
  144. AddStaticVehicleEx(470,-1355.5931,456.7297,6.9836,0.0286, -1, -1, 60000);/*Patriot*/
  145. AddStaticVehicleEx(596,1535.8459,-1668.7560,13.2653,359.7447,-1, -1, 60000);/*CopCruiser*/
  146. AddStaticVehicleEx(407,-2550.1443,610.7148,14.3281,90.6597, -1, -1, 60000);/*FireTruck*/
  147. AddStaticVehicleEx(596,-2181.2766,-2375.6953,30.3405,231.7148, 0, 0, 60000);/*CopCruiser*/
  148. AddStaticVehicleEx(596,1545.7845,-1684.4004,5.6342,271.1593, 89, 1, 60000);/*General Car*/
  149. AddStaticVehicleEx(596,1530.1611,-1676.0326,5.4563,231.7766, 89, 1, 60000);/*General Car*/
  150. AddStaticVehicleEx(407,-2551.8792,587.1581,14.3281,90.4374,-1, -1, 60000);/*FireTruck*/
  151. AddStaticVehicleEx(497, 1517.8,-1656.1,13.7,0.0, -1, -1, 60000);/*Police Maveric*/
  152. AddStaticVehicleEx(416,-2637.0630,617.3499,14.3281,90.1464, -1, -1, 60000);/*Ambulance*/
  153. AddStaticVehicleEx(416,-2661.4282,617.3460,14.3288,89.2072, -1, -1, 60000);/*Ambulance*/
  154. AddStaticVehicleEx(416,-2662.4568,595.3354,14.3281,273.2716, -1, -1, 60000);/*Ambulance*/
  155. AddStaticVehicleEx(431,1172.5,-1795.5,13.1,0.0, -1, -1, 60000);//64/*Bus*/
  156. AddStaticVehicleEx(431,1182.1,-1795.9,13.1,0.0, -1, -1, 60000);//65/*Bus*/
  157. AddStaticVehicleEx(430,-1443.4342,427.0862,-0.6994,268.8489,-1, -1, 60000);/*NG BOAT*/
  158. AddStaticVehicleEx(430,-1442.0721,390.6206,-0.4339,270.1023,-1, -1, 60000);/*NG BOAT*/
  159. AddStaticVehicleEx(467,1071.9189,-294.9166,73.7250,178.9444,90, -1, 60000);//68/*Hitman Oceanic*/
  160. AddStaticVehicleEx(405,-2082.3562,-117.3896,34.9299,177.0056,17, 17, 60000);//69 Driving School /*Sentinel*/
  161. AddStaticVehicleEx(405,-2072.5933,-117.4564,34.9383,178.0982,17, 17, 60000);//Driving School/*Sentinel*/
  162. AddStaticVehicleEx(405,-2062.4253,-117.6652,34.9347,180.8394,17, 17, 60000);//Driving School/*Sentinel*/
  163. AddStaticVehicleEx(434,551.7929,-1285.5260,16.9303,0.4147,-1, -1, 60000);//Rent car/*Hotknife*/
  164. AddStaticVehicleEx(568,536.9888,-1286.5275,16.9993,359.1704,-1, -1, 60000); //Rent car/*Bandito*/
  165. AddStaticVehicleEx(434,544.1793,-1286.1422,16.9492,7.3116,-1, -1, 60000);//Rent car/*Hotknife*/
  166. AddStaticVehicleEx(434,-1949.9493,258.1949,35.1922,70.7581,-1, -1, 60000); //Rent car/*Hotknife*/
  167. AddStaticVehicleEx(568,-1948.1650,264.8094,35.1930,72.6982,-1, -1, 60000); //Rent car/*Bandito*/
  168. AddStaticVehicleEx(434,-1947.0601,270.3815,35.1954,66.0783,-1, -1, 60000); //Rent car/*Hotknife*/
  169. AddStaticVehicleEx(456,2795.2,-2417.8,13.4,90.8,-1,-1,60000);//Component Truck/*Yankee*/
  170. AddStaticVehicleEx(456,2783.9,-2417.9,13.4,90.8,-1,-1,60000);//Component Truck/*Yankee*/
  171. AddStaticVehicleEx(440,2794.1,-2455.9,13.4,90.8,-1,-1,60000);//Component Truck/*Rumpo*/
  172. AddStaticVehicleEx(440,2782.9,-2455.6,13.4,90.8,-1,-1,60000);//Component Truck/*Rumpo*/
  173. AddStaticVehicleEx(420,-1986.4958,115.9394,27.3324,0.1277,-1, -1, 60000);//Taxi/*Taxi*/
  174. AddStaticVehicleEx(487,-2703.3201,624.0250,14.1766,180.2649, 1, 3, 60000);//Medic Chopper/*Maverick*/
  175. AddStaticVehicleEx(420,-1986.5049,129.1749,27.3299,359.6938,-1, -1, 60000);//Taxi/*Taxi*/
  176. AddStaticVehicleEx(420,-1986.4310,150.1195,27.3299,0.0329,-1, -1, 60000);//Taxi //CAR ID 85/*Taxi*/
  177. AddStaticVehicleEx(452,720.1,-1694.0,-0.4,179.4,-1,-1,60000);//Fishboat/*Speeder*/
  178. AddStaticVehicleEx(452,721.2,-1629.4,-0.4,180.9,-1,-1,60000);//Fishboat/*Speeder*/
  179. AddStaticVehicleEx(452,739.5,-1670.5,-0.6,177.5,-1,-1,60000);//Fishboat/*Speeder*/
  180. AddStaticVehicleEx(452,-1474.4949,693.0169,0.1996,0.0751,-1,-1,60000);//Fishboat SF/*Speeder*/
  181. AddStaticVehicleEx(452,-1720.0717,1439.6177,-0.4913,357.6789,-1,-1,60000);//Fishboat SF/*Speeder*/
  182. AddStaticVehicleEx(520,-1430.4078,508.1596,18.9400,269.6329,44,86,60000);//NG Plane id 91
  183. AddStaticVehicleEx(520,-1419.9038,493.5340,18.9350,269.6848,44,86,60000);//NG Plane id 92
  184. AddStaticVehicleEx(520,-1398.6207,507.7513,18.9328,269.8143,44,86,60000); //NG Plane id 93
  185. AddStaticVehicleEx(420,-1986.6089,163.8508,27.4837,359.5881,-1,-1,60000);//Taxi
  186. AddStaticVehicleEx(487,1088.1736,-294.8004,73.7886,134.9237, 0, 1, 60000); //Hitman Chopper
  187. AddStaticVehicleEx(488,-2044.1797,479.9963,35.1399,180.0648,-1,-1,60000); // newschopper
  188. AddStaticVehicleEx(582,-2022.6146,458.6767,35.1414,0.7133,-1,-1,60000); // newsvan
  189. AddStaticVehicleEx(582,-2031.3779,459.0133,35.1362,359.7429,-1,-1,60000); // newsvan
  190. AddStaticVehicleEx(593,382.5172,2536.9561,16.5338,179.7261,-1,-1,60000);//Flyschool
  191. AddStaticVehicleEx(513,348.3660,2536.9792,16.7418,178.8195,-1,-1,60000);//Flyschool
  192. AddStaticVehicleEx(487,365.4068,2537.0327,16.6645,181.9959,-1,-1,60000);//Flyschool
  193. AddStaticVehicleEx(593,-1429.2843,-505.8203,13.7824,205.7709,-1,-1,60000);//Airport SF
  194. AddStaticVehicleEx(593,-1462.4779,-524.2803,13.7832,204.8137,-1,-1,60000);//Airport SF
  195. AddStaticVehicleEx(593,1907.7614,-2624.4097,13.5416,53.1810,-1,-1,60000);//Airport LS
  196. AddStaticVehicleEx(593,1887.0736,-2627.6543,13.5394,52.6116,-1,-1,60000);//Airport LS
  197. AddStaticVehicleEx(513,-1354.3270,-466.5467,13.7827,162.0134,-1,-1,60000);//Airport SF
  198. AddStaticVehicleEx(513,-1390.3510,-482.7985,13.7883,250.3124,-1,-1,60000);//Airport SF
  199. AddStaticVehicleEx(513,1835.3215,-2624.1938,13.5405,56.0569,-1,-1,60000);//Airport LS
  200. AddStaticVehicleEx(513,1813.2893,-2625.6296,13.5394,53.2858,-1,-1,60000);//Airport LS
  201. AddStaticVehicleEx(571,2286.2141,-2354.5000,12.8306,225.8705,-1,-1,60000); // kart
  202. AddStaticVehicleEx(571,2279.9412,-2348.4141,12.8312,225.8585,-1,-1,60000); // kart
  203. AddStaticVehicleEx(571,2291.7932,-2345.5356,12.8305,227.3060,-1,-1,60000); // kart
  204. AddStaticVehicleEx(571,2287.5615,-2341.6433,12.8306,226.5350,-1,-1,60000); // kart
  205. AddStaticVehicleEx(571,2299.6785,-2338.3186,12.8307,224.3563,-1,-1,60000); // kart
  206. AddStaticVehicleEx(571,2295.3887,-2334.9448,12.8307,227.9102,-1,-1,60000); // kart
  207. CreateVehicle(494,-1401.0436,-210.0052,1042.9913,1.6623,1,0,60000); //hotring 116
  208. CreateVehicle(494,-1400.4019,-219.9365,1043.0348,5.3554,1,3,60000); //hotring
  209. CreateVehicle(494,-1394.4932,-207.7917,1042.9963,3.6872,0,6,60000); //hotring
  210. CreateVehicle(494,-1393.7854,-217.9354,1043.0325,2.9556,1,2,60000); //hotring
  211. CreateVehicle(468,-1445.6392,-592.3033,1055.7831,90.2133,-1,-1,60000); //bike 120
  212. CreateVehicle(468,-1433.1708,-592.4930,1055.6533,92.4067,-1,-1,60000); //bike
  213. CreateVehicle(468,-1448.5325,-584.4943,1055.4949,95.5400,-1,-1,60000); //bike
  214. CreateVehicle(468,-1434.8973,-585.1266,1055.2488,91.1533,-1,-1,60000); //bike
  215. CreateVehicle(468,-1449.2814,1610.7823,1052.5313,272.9406,-1,-1,60000); // bike 124
  216. CreateVehicle(468,-1453.8767,1611.2418,1052.5313,89.0355,-1,-1,60000); // bike
  217. CreateVehicle(468,-1454.4746,1614.3342,1052.5313,86.8422,-1,-1,60000); // bike
  218. CreateVehicle(468,-1449.5795,1614.0684,1052.5313,269.2039,-1,-1,60000); // bike
  219. CreateVehicle(514,-77.5039,-1108.1729,1.6683,161.8915,-1,-1,60000); // truck
  220. CreateVehicle(514,-72.3507,-1109.7822,1.6670,161.7769,-1,-1,60000); // truck
  221. CreateVehicle(514,-67.0126,-1111.7156,1.6688,160.4800,-1,-1,60000); // truck
  222. CreateVehicle(435,-51.0638,-1135.2831,1.0781,68.3320,-1,-1,60000); // trailer
  223. CreateVehicle(435,-53.6230,-1139.7546,1.0781,67.5604,-1,-1,60000); // trailer
  224. CreateVehicle(435,-55.0517,-1144.3676,0.8018,68.1347,-1,-1,60000); // trailer
  225. LinkVehicleToInterior(116, 7);
  226. LinkVehicleToInterior(117, 7);
  227. LinkVehicleToInterior(118, 7);
  228. LinkVehicleToInterior(119, 7);
  229. LinkVehicleToInterior(120, 4);
  230. LinkVehicleToInterior(121, 4);
  231. LinkVehicleToInterior(122, 4);
  232. LinkVehicleToInterior(123, 4);
  233. LinkVehicleToInterior(124, 14);
  234. LinkVehicleToInterior(125, 14);
  235. LinkVehicleToInterior(126, 14);
  236. LinkVehicleToInterior(127, 14);
  237. /*for(new h = 0; h < sizeof(HouseInfo); h++)
  238. {
  239. if(HouseInfo[h][hOwned] == 0)
  240. {
  241. AddStaticPickup(1273, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
  242. pickups++;
  243. }
  244. if(HouseInfo[h][hOwned] == 1)
  245. {
  246. AddStaticPickup(1239, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
  247. pickups++;
  248. }
  249. }
  250. for(new h = 0; h < sizeof(BizzInfo); h++)
  251. {
  252. if(BizzInfo[h][bOwned] == 0)
  253. {
  254. AddStaticPickup(1272, 2, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
  255. pickups++;
  256. }
  257. if(BizzInfo[h][bOwned] == 1)
  258. {
  259. AddStaticPickup(1239, 2, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
  260. pickups++;
  261. }
  262. }
  263. for(new h = 0; h < sizeof(SBizzInfo); h++)
  264. {
  265. if(SBizzInfo[h][sbOwned] == 0)
  266. {
  267. AddStaticPickup(1272, 2, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
  268. pickups++;
  269. }
  270. if(SBizzInfo[h][sbOwned] == 1)
  271. {
  272. AddStaticPickup(1239, 2, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
  273. pickups++;
  274. }
  275. }*/
  276. AddStaticPickup(1239, 2, 1173.2563,-1323.3102,15.3943); //Hospital 1 near Ammu
  277. AddStaticPickup(1239, 2, 2029.5945,-1404.6426,17.2512); //Hospital 2 near speedway
  278. AddStaticPickup(1239, 2, 253.9280,69.6094,1003.6406); //Clear icon in Police Station
  279. AddStaticPickup(1239, 2, 1481.2463,-1770.7344,18.7958); //City Hall
  280. AddStaticPickup(1239, 2, 359.5408,206.7693,1008.3828); //Detective Registration
  281. AddStaticPickup(1239, 2, 347.7374,193.7241,1014.1875); //Lawyer Registration
  282. AddStaticPickup(1239, 2, 1215.1304,-11.8431,1000.9219); //Whore Registration
  283. AddStaticPickup(1239, 2, 2166.3772,-1675.3829,15.0859); //DrugDealer Registration
  284. AddStaticPickup(1239, 2, 1109.3318,-1796.3042,16.5938); //CarJacker Registration
  285. AddStaticPickup(1239, 2, -2050.8962,460.0262,35.1719); //NewsReporter Registration & /paper
  286. AddStaticPickup(1239, 2, -2040.9436,456.2395,35.1719); //PaperBoy Registration
  287. AddStaticPickup(1239, 2, -1932.3859,276.2117,41.0391); //CarMechanic Registration
  288. AddStaticPickup(1239, 2, 2226.1716,-1718.1792,13.5165); //BodyGuard Registration
  289. AddStaticPickup(1239, 2, 1366.4325,-1275.2096,13.5469); //ArmsDealer Registration
  290. AddStaticPickup(1239, 2, 531.7930,-1292.4044,17.2422); //CarDealer Registration
  291. AddStaticPickup(1239, 2, 766.0804,14.5133,1000.7004); //Boxer Registration
  292. AddStaticPickup(1239, 2, 1154.2208,-1770.8203,16.5992); //BusDriver Registration
  293. AddStaticPickup(1239, 2, -77.7288,-1136.3896,1.0781); //Trucker Registration
  294. AddStaticPickup(1239, 2, 323.0342,1118.5804,1083.8828); //Getting Drugs for DrugDealers
  295. AddStaticPickup(1239, 2, 1381.0413,-1088.8511,27.3906); //Bill Board (old Job Department)
  296. AddStaticPickup(1239, 2, 597.1277,-1248.6479,18.2734); //Materials Package building
  297. AddStaticPickup(1239, 2, -2119.5469,-178.5679,35.3203); //Factory
  298. AddStaticPickup(1239, 2, 1073.0619,-344.5148,73.9922); //Hitman Agency entrance
  299. AddStaticPickup(371, 2, 1544.2,-1353.4,329.4); //LS towertop
  300. AddStaticPickup(371, 2, 1536.0, -1360.0, 1150.0); //LS towertop
  301. AddStaticPickup(1242, 2, 1527.5,-12.1,1002.0); //binco armor
  302. AddStaticPickup(1240, 2, 279.3000,1853.5619,8.7649); //area51 health
  303.  
  304. AddStaticPickup(1247, 2, 1554.7256,-1675.9296,16.1953);//PD
  305. AddStaticPickup(1279, 2, 2166.3811,-1671.8566,15.0742);//Crack
  306. AddStaticPickup(1239, 2, 1352.0875,-1758.5438,13.5078);//24/7
  307. AddStaticPickup(1239, 2, 1929.2108,-1776.1262,13.5469);//24/7
  308. AddStaticPickup(1239, 2, 1832.6653,-1842.7769,13.5781);//24/7
  309. AddStaticPickup(1239, 2, 999.8947,-919.9718,42.3281);//24/7
  310. AddStaticPickup(1239, 2, 1315.5907,-898.6295,39.5781);//24/7
  311. AddStaticPickup(1239, 2, 2104.8477,-1806.4823,13.5547);//Pizza
  312. AddStaticPickup(1239, 2, 2244.4189,-1665.0159,15.4766);//Binco
  313. AddStaticPickup(1239, 2, 2229.1902,-1721.7548,13.5657);//Gym
  314. AddStaticPickup(1239, 2, 1835.8771,-1682.7637,13.3714);//Alhambra
  315. AddStaticPickup(1239, 2, 2421.6697,-1219.8688,25.5207);//Pig Pen
  316. AddStaticPickup(1239, 2, 1199.5415,-918.5719,43.1181);//Hamburger
  317. AddStaticPickup(1239, 2, 1457.0571,-1138.1591,23.9851);//Zip
  318.  
  319. Create3DTextLabel("Police Departament \n Scrie /enter pentru a intra!",0xE60000FF,1554.7256,-1675.9296,16.1953,30.0,0,1);//PD
  320. Create3DTextLabel("Primarie \n Scrie /enter pentru a intra!",0xE60000FF,1481.2463,-1770.7344,18.7958,30.0,0,1);//Primarie
  321. Create3DTextLabel("24/7 \n Scrie /enter pentru a intra!",0xE60000FF,1352.0875,-1758.5438,13.5078,30.0,0,1);//24/7
  322. Create3DTextLabel("24/7 \n Scrie /enter pentru a intra!",0xE60000FF,1929.2108,-1776.1262,13.5469,30.0,0,1);//24/7
  323. Create3DTextLabel("24/7 \n Scrie /enter pentru a intra!",0xE60000FF,1832.6653,-1842.7769,13.5781,30.0,0,1);//24/7
  324. Create3DTextLabel("24/7 \n Scrie /enter pentru a intra!",0xE60000FF,999.8947,-919.9718,42.3281,30.0,0,1);//24/7
  325. Create3DTextLabel("24/7 \n Scrie /enter pentru a intra!",0xE60000FF,1315.5907,-898.6295,39.5781,30.0,0,1);//24/7
  326. Create3DTextLabel("Pizza \n Scrie /enter pentru a intra!",0xE60000FF,2104.8477,-1806.4823,13.5547,30.0,0,1);//Pizza
  327. Create3DTextLabel("Crack \n Scrie /enter pentru a intra!",0xE60000FF,2166.3811,-1671.8566,15.0742,30.0,0,1);//Crack
  328. Create3DTextLabel("Binco \n Scrie /enter pentru a intra!",0xE60000FF,2244.4189,-1665.0159,15.4766,30.0,0,1);//Binco
  329. Create3DTextLabel("Gym \n Scrie /enter pentru a intra!",0xE60000FF,2229.1902,-1721.7548,13.5657,30.0,0,1);//Gym
  330. Create3DTextLabel("Pig Pen \n Scrie /enter pentru a intra!",0xE60000FF,2421.6697,-1219.8688,25.5207,30.0,0,1);//Pig Pen
  331. Create3DTextLabel("Alhambra \n Scrie /enter pentru a intra!",0xE60000FF,1835.8771,-1682.7637,13.3714,30.0,0,1);//Alhambra
  332. Create3DTextLabel("Hamburger \n Scrie /enter pentru a intra!",0xE60000FF,1199.5415,-918.5719,43.118,30.0,0,1);//Hamburger
  333. Create3DTextLabel("Zip \n Scrie /enter pentru a intra!",0xE60000FF,1457.0571,-1138.1591,23.9851,30.0,0,1);//Zip
  334.  
  335. pickups=pickups+1000;
  336. printf("Pickups Max = 100, Current Pickups = %d",pickups);
  337. new randa = random(sizeof(RandCars));
  338. randa = random(sizeof(RandCars));carselect[0] = RandCars[randa][0];
  339. randa = random(sizeof(RandCars));carselect[1] = RandCars[randa][0];
  340. randa = random(sizeof(RandCars));carselect[2] = RandCars[randa][0];
  341. randa = random(sizeof(RandCars));carselect[3] = RandCars[randa][0];
  342. randa = random(sizeof(RandCars));carselect[4] = RandCars[randa][0];
  343. randa = random(sizeof(RandCars));carselect[5] = RandCars[randa][0];
  344. randa = random(sizeof(RandCars));carselect[6] = RandCars[randa][0];
  345. randa = random(sizeof(RandCars));carselect[7] = RandCars[randa][0];
  346. randa = random(sizeof(RandCars));carselect[8] = RandCars[randa][0];
  347. randa = random(sizeof(RandCars));carselect[9] = RandCars[randa][0];
  348. randa = random(sizeof(RandCars));carselect[10] = RandCars[randa][0];
  349. randa = random(sizeof(RandCars));carselect[11] = RandCars[randa][0];
  350. randa = random(sizeof(RandCars));carselect[12] = RandCars[randa][0];
  351. randa = random(sizeof(RandCars));carselect[13] = RandCars[randa][0];
  352. randa = random(sizeof(RandLCars));carselect[14] = RandLCars[randa][0];
  353. AddStaticVehicleEx(carselect[14], 1279.4,-1337.0,13.5,1.0,-1, -1, -1);//long
  354. AddStaticVehicleEx(409,1248.6779,-2045.4602,59.6498,268.3867,0,0,60000); // limo LaCosaNostra
  355. AddStaticVehicleEx(507,1242.7739,-2031.1902,59.7773,178.8082,0,0,60000); // Elegant LaCosaNostra
  356. AddStaticVehicleEx(507,1242.9808,-2015.0297,59.7788,180.6815,0,0,60000); // Elegant LaCosaNostra
  357. AddStaticVehicleEx(507,1275.1589,-2046.2448,58.9736,87.6114,0,0,60000); // Elegant LaCosaNostra
  358. AddStaticVehicleEx(409,-2274.3672,646.6611,49.1778,179.9364,50,50,60000); // limo Yakuza
  359. AddStaticVehicleEx(421,-2176.6760,636.7382,49.2387,37.7510,50,50,60000); // Washington Yakuza
  360. AddStaticVehicleEx(421,-2247.8093,649.9500,49.1645,0.0748,50,50,60000); // Washington Yakuza
  361. AddStaticVehicleEx(421,-2247.4382,667.7339,49.1645,359.8687,50,50,60000); // Washington Yakuza
  362. AddStaticVehicleEx(409,-2159.6860,-2393.2295,30.5070,52.5176,1,1,60000); // limo mayor
  363. if (realtime)
  364. {
  365. new tmphour;
  366. new tmpminute;
  367. new tmpsecond;
  368. gettime(tmphour, tmpminute, tmpsecond);
  369. FixHour(tmphour);
  370. tmphour = shifthour;
  371. SetWorldTime(tmphour);
  372. }
  373. synctimer = SetTimer("SyncUp", 60000, 1);
  374. unjailtimer = SetTimer("SetPlayerUnjail", 1000, 1);
  375. othtimer = SetTimer("OtherTimer", 1000, 1);
  376. cartimer = SetTimer("CarCheck", 30000, 1);
  377. pickuptimer = SetTimer("CustomPickups", 1000, 1);
  378. spectatetimer = SetTimer("Spectator", 2000, 1);
  379. idletimer = SetTimer("IdleKick", idletime, 1);
  380. productiontimer = SetTimer("Production", 300000, 1); //5 mins (300000)
  381. accountstimer = SetTimer("SaveAccounts", 1800000, 1); //30 mins every account saved
  382. checkgastimer = SetTimer("CheckGas", RunOutTime, 1);
  383. stoppedvehtimer = SetTimer("StoppedVehicle", RunOutTime, 1);
  384. pickuptimer = SetTimer("CustomPickups", 1000, 1);
  385. //SetTimer("OnPropUpdate", 3000, 1);
  386.  
  387. //for(new i = 0; i < sizeof(CarSpawns); i++)
  388. DisableInteriorEnterExits();
  389. for(new h = 0; h < sizeof(HouseInfo); h++)
  390. {
  391. AddStaticPickup(1273, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
  392. pickups++;
  393. if(HouseInfo[h][hOwned] == 1)
  394. {
  395. if(HouseInfo[h][hRentabil] == 0)
  396. {
  397. format(string, sizeof(string), "{F5E618}Owner: {FFFFFF}%s \n{F5E618}Level: {FFFFFF}%d \n{F5E618}Descriere: {FFFFFF}%s \n{F5E618}Valoare: {FFFFFF}%d \n{F5E618}ID: {FFFFFF}%d",HouseInfo[h][hOwner],HouseInfo[h][hLevel], HouseInfo[h][hDiscription], HouseInfo[h][hValue], h);
  398. }
  399. else
  400. {
  401. format(string, sizeof(string), "{F5E618}Owner: {FFFFFF}%s \n{F5E618}Level: {FFFFFF}%d \n{F5E618}Rent: {FFFFFF}%d \n{F5E618}Descriere: {FFFFFF}%s \n{F5E618}Valoare: {FFFFFF}%d \n{F5E618}ID: {FFFFFF}%d\n{F5E618}Type: /rentroom",HouseInfo[h][hOwner],HouseInfo[h][hLevel], HouseInfo[h][hRent], HouseInfo[h][hDiscription], HouseInfo[h][hValue], h);
  402. }
  403. }
  404. else
  405. {
  406. format(string, sizeof(string), "{2EAD15}House For Sale! \n{2EAD15}Level: {FFFFFF}%d \n{2EAD15}Descriere: {FFFFFF}%s \n{2EAD15}Valoare: {FFFFFF}%d \n{2EAD15}ID: {FFFFFF}%d\n{2EAD15}Type: /buyhouse",HouseInfo[h][hLevel], HouseInfo[h][hDiscription], HouseInfo[h][hValue], h);
  407. }
  408. HouseLabel[h] = Create3DTextLabel(string, 0x008080FF, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 40.0, 0, 1);
  409. }
  410. for(new h = 0; h < sizeof(BizzInfo); h++)
  411. {
  412. if(BizzInfo[h][bOwned] == 0)
  413. {
  414. AddStaticPickup(1272, 2, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
  415. pickups++;
  416. format(string, sizeof(string), "{2EAD15}%s\n {2EAD15}Business For Sale\n {2EAD15}Level: {FFFFFF}%d\n {2EAD15}Valoare: {FFFFFF}%d\n{2EAD15}Type: /buybiz",BizzInfo[h][bMessage],BizzInfo[h][bLevelNeeded],BizzInfo[h][bBuyPrice]);
  417. }
  418. if(BizzInfo[h][bOwned] == 1)
  419. {
  420. AddStaticPickup(1239, 2, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
  421. pickups++;
  422. format(string, sizeof(string), "{F5E618}%s\n {F5E618}Owner: {FFFFFF}%s\n {F5E618}Extortion: {FFFFFF}%s\n {F5E618}Level: {FFFFFF}%d\n {F5E618}Fee: {FFFFFF}%d\n {F5E618}Valoare: {FFFFFF}%d\n{F5E618}Type: /enter",BizzInfo[h][bMessage],BizzInfo[h][bOwner],BizzInfo[h][bExtortion],BizzInfo[h][bLevelNeeded],BizzInfo[h][bEntranceCost],BizzInfo[h][bBuyPrice]);
  423. }
  424. BizLabel[h] = Create3DTextLabel(string, 0x008080FF, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 40.0, 0, 1);
  425. }
  426. for(new h = 0; h < sizeof(SBizzInfo); h++)
  427. {
  428. if(SBizzInfo[h][sbOwned] == 0)
  429. {
  430. AddStaticPickup(1272, 2, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
  431. pickups++;
  432. format(string, sizeof(string), "{2EAD15}%s\n {2EAD15}Business For Sale\n {2EAD15}Level: {FFFFFF}%d\n {2EAD15}Valoare: {FFFFFF}%d\n{2EAD15}Type: /buybiz",SBizzInfo[h][sbMessage],SBizzInfo[h][sbLevelNeeded],SBizzInfo[h][sbBuyPrice]);
  433. }
  434. if(SBizzInfo[h][sbOwned] == 1)
  435. {
  436. AddStaticPickup(1239, 2, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
  437. pickups++;
  438. format(string, sizeof(string), "{F5E618}%s\n {F5E618}Owner: {FFFFFF}%s\n {F5E618}Extortion: {FFFFFF}%s\n {F5E618}Level: {FFFFFF}%d\n {F5E618}Fee: {FFFFFF}%d\n {F5E618}Valoare: {FFFFFF}%d\n{F5E618}Type: /enter",SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner],SBizzInfo[h][sbExtortion],SBizzInfo[h][sbLevelNeeded],SBizzInfo[h][sbEntranceCost],SBizzInfo[h][sbBuyPrice]);
  439. }
  440. SBizLabel[h] = Create3DTextLabel(string, 0x008080FF, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ], 40.0, 0, 1);
  441. }
  442. for(new i = 0; i < 165; i++)
  443. {
  444. AddCar(i);
  445. }
  446. CarInit();
  447. if (!fexist("TempBans.ban")){
  448. new File:open = fopen("TempBans.ban",io_write);
  449. if (open) fclose(open);
  450. }
  451. return 1;
  452. }
Advertisement
Add Comment
Please, Sign In to add comment