Guest User

main roleplay error sql

a guest
Sep 27th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 132.87 KB | None | 0 0
  1. // This is a comment
  2. // uncomment the line below if you want to write a filterscript
  3. //#define FILTERSCRIPT
  4.  
  5. #include <a_samp>
  6. #include <YSI\y_ini.inc>
  7. #include <ZCMD>
  8. #include <sscanf2>
  9.  
  10. #define DIALOG_REGISTER 1
  11. #define DIALOG_LOGIN 2
  12. #define SERVER_NAME "Main Roleplay"
  13.  
  14. #define PASSWORD_SALT "334t!t>D<QW**@!)#$>C_)_AAgddh"
  15. #define MAX_LOGIN_ATTEMPTS (3)
  16. #define MIN_PASSWORD_LENGTH (5)
  17. #define MAX_PASSWORD_LENGTH (45)
  18.  
  19. #define COL_WHITE "{FFFFFF}"
  20. #define COL_LIGHTBLUE "{00CED1}"
  21. #define COLOR_PURPLE 0xC2A2DAAA
  22. #define COLOR_ORANGE "{FFA500}"
  23. #define COLOR_RED 0xFF0000AA
  24. #define COLOR_GREEN 0x33AA33AA
  25. #define COLOR_CYAN 0x00FFFFFF
  26. #define COLOR_PDRAD 0x297CCFFF
  27.  
  28. new Engine[MAX_VEHICLES];
  29. new Lights[MAX_VEHICLES];
  30.  
  31. enum pInfo
  32. {
  33. pSqlid,
  34. pPass,
  35. pCash,
  36. pAdmin,
  37. pTester,
  38. pFaction,
  39. pLeader,
  40. pDeveloper,
  41. pKills,
  42. pDeaths,
  43. DT,
  44. DTT,
  45. ADT
  46. }
  47. enum fInfo
  48. {
  49. fLeader,
  50. fRank,
  51. fCar,
  52. fRanks,
  53. fGov,
  54. fDuty
  55. }
  56. enum aInfo
  57. {
  58. aDuty,
  59. aLevel
  60. }
  61. enum cInfo
  62. {
  63. cLocked,
  64. cOwner,
  65. cSpawned,
  66. cAlarm,
  67. cColor,
  68. cEngine,
  69. cLights
  70. }
  71. new PlayerInfo[MAX_PLAYERS][pInfo];
  72. new FactionInfo[MAX_PLAYERS][fInfo];
  73. new AdminInfo[MAX_PLAYERS][aInfo];
  74. new CarInfo[MAX_PLAYERS][cInfo];
  75. new incercari[MAX_PLAYERS];
  76.  
  77.  
  78. forward dttimer(playerid);
  79. forward recuperare(playerid);
  80. forward ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5);
  81. forward OnPlayerHealthChange(playerid, Float:newhealth, Float:oldhealth);
  82. forward SendAdminMessage(playerid, color, const message[]);
  83.  
  84. new Text:spawntextdraw;
  85.  
  86. main()
  87. {
  88. print("\n----------------------------------");
  89. print(" MAIN ROLEPLAY NETWORK 0.1 [BETA] ");
  90. print("----------------------------------\n");
  91. }
  92. // GameTextForPlayer(playerid, "~w~EL QUEBRADOS NETWORK", -1, 5);
  93. public OnGameModeInit()
  94. {
  95. SetGameModeText("Main-RP 0.1[BETA]");
  96. spawntextdraw = TextDrawCreate(10.0, 240.0, "[BETA] Trebuie sa apesi pe 'Spawn' sa te spawnezi!");
  97. TextDrawFont(spawntextdraw, 2);
  98. TextDrawColor(spawntextdraw, 0xFFFFFFFF);
  99. DisableInteriorEnterExits();
  100. EnableStuntBonusForAll(0);
  101. DB::Init("database name", "server/host name", "username", "password");
  102. DB::VerifyTable("Utilizatori", "ID", false,
  103. "Nume", STRING,
  104. "Parola", STRING,
  105. "IP", STRING,
  106. "Kills", INTEGER,
  107. "Deaths", INTEGER,
  108. "Cash", INTEGER,
  109. "Developer", INTEGER,
  110. "Admin", INTEGER,
  111. "Tester", INTEGER,
  112. "Lider", STRING,
  113. "Rank", STRING,
  114. "Factiune", STRING,
  115. "Viata", FLOAT);
  116. new eqpdpickup[2];
  117. new eqmcpickup[2];
  118. new eqnpickup[2];
  119. new EQNCar[4];
  120. eqpdpickup[0] = CreatePickup(1318, 0, -1390.0115,2638.8416,55.9844, 0);
  121. eqpdpickup[1] = CreatePickup(1318, 0, 1866.3854,1217.4387,18.0986, 0);
  122. eqmcpickup[0] = CreatePickup(1318, 0, -1514.5566,2520.1011,55.9629, 0);
  123. eqmcpickup[1] = CreatePickup(1318, 0, 642.9769,-172.3768,1001.2758, 0);
  124. eqnpickup[0] = CreatePickup(1318, 0, -1531.0065,2591.9971,55.8359, 0);
  125. eqnpickup[1] = CreatePickup(1318, 0, 248.6405,1783.9126,701.0859, 0);
  126. EQNCar[0] = AddStaticVehicle(582,-1527.5380,2596.4988,55.6893,88.0537,0,1);
  127. EQNCar[1] = AddStaticVehicle(582,-1541.2740,2562.5396,55.6875,186.1279,0,1);
  128. EQNCar[2] = AddStaticVehicle(582,-1511.0759,2577.1753,55.8359,268.8721,0,1);
  129. EQNCar[3] = AddStaticVehicle(582,-1522.5198,2576.1138,55.8359,355.9796,0,1);
  130. new ParedeFBI[60];
  131. ParedeFBI[0] = CreateObject(19379, 1867.87085, 1216.01453, 15.39000, 0.00000, 0.00000, 90.00000);
  132. ParedeFBI[1] = CreateObject(19379, 1877.41504, 1234.20728, 15.39000, 0.00000, 0.00000, 90.00000);
  133. ParedeFBI[2] = CreateObject(19379, 1867.92920, 1224.55347, 15.39000, 0.00000, 0.00000, 90.00000);
  134. ParedeFBI[3] = CreateObject(19379, 1872.67322, 1229.30823, 15.39000, 0.00000, 0.00000, 0.00000);
  135. ParedeFBI[4] = CreateObject(19379, 1882.15100, 1229.37219, 15.39000, 0.00000, 0.00000, 0.00000);
  136. ParedeFBI[5] = CreateObject(19379, 1877.35986, 1216.00464, 15.38996, 0.00000, 0.00000, 90.00000);
  137. ParedeFBI[6] = CreateObject(19379, 1905.25403, 1211.17017, 15.39000, 0.00000, 0.00000, 0.00000);
  138. ParedeFBI[7] = CreateObject(19379, 1882.80151, 1211.23279, 15.39000, 0.00000, 0.00000, 0.00000);
  139. ParedeFBI[8] = CreateObject(19379, 1890.07910, 1215.96021, 12.18633, 0.00000, 0.00000, 90.00000);
  140. ParedeFBI[9] = CreateObject(19379, 1885.61926, 1207.39709, 15.39000, 0.00000, 0.00000, 89.70443);
  141. ParedeFBI[10] = CreateObject(19379, 1890.34497, 1211.08118, 15.39000, 0.00000, 0.00000, 0.00000);
  142. ParedeFBI[11] = CreateObject(19379, 1890.40894, 1201.63440, 15.39000, 0.00000, 0.00000, 0.00000);
  143. ParedeFBI[12] = CreateObject(19379, 1905.23914, 1193.85034, 15.39000, 0.00000, 0.00000, 0.00000);
  144. ParedeFBI[13] = CreateObject(19379, 1905.23730, 1201.58154, 15.39000, 0.00000, 0.00000, 0.00000);
  145. ParedeFBI[14] = CreateObject(19379, 1923.96338, 1211.15698, 15.39000, 0.00000, 0.00000, 0.00000);
  146. ParedeFBI[15] = CreateObject(19379, 1923.97888, 1204.81824, 15.39000, 0.00000, 0.00000, 0.00000);
  147. ParedeFBI[16] = CreateObject(19379, 1890.39270, 1192.41382, 15.39000, 0.00000, 0.00000, 0.00000);
  148. ParedeFBI[17] = CreateObject(19379, 1883.74268, 1234.17847, 15.39000, 0.00000, 0.00000, 90.00000);
  149. ParedeFBI[18] = CreateObject(19379, 1914.80811, 1211.20032, 15.39000, 0.00000, 0.00000, 0.00000);
  150. ParedeFBI[19] = CreateObject(19445, 1922.77332, 1227.43896, 18.84000, 0.00000, 0.00000, 0.00000);
  151. ParedeFBI[20] = CreateObject(19445, 1922.78320, 1236.99939, 18.84000, 0.00000, 0.00000, 0.00000);
  152. ParedeFBI[21] = CreateObject(19445, 1919.43018, 1234.10657, 18.84000, 0.00000, 0.00000, 90.00000);
  153. ParedeFBI[22] = CreateObject(19445, 1927.53040, 1217.89636, 18.84000, 0.00000, 0.00000, 358.16553);
  154. ParedeFBI[23] = CreateObject(19445, 1891.60828, 1227.39014, 18.84000, 0.00000, 0.00000, 0.00000);
  155. ParedeFBI[24] = CreateObject(19445, 1900.62366, 1189.16174, 18.84000, 0.00000, 0.00000, 90.00000);
  156. ParedeFBI[25] = CreateObject(19445, 1892.74695, 1189.15796, 18.84000, 0.00000, 0.00000, 90.00000);
  157. ParedeFBI[26] = CreateObject(19445, 1901.10095, 1227.49780, 18.84000, 0.00000, 0.00000, 0.00000);
  158. ParedeFBI[27] = CreateObject(19445, 1901.09802, 1237.07764, 18.84000, 0.00000, 0.00000, 0.00000);
  159. ParedeFBI[28] = CreateObject(19445, 1901.11047, 1246.46460, 18.84000, 0.00000, 0.00000, 0.00000);
  160. ParedeFBI[29] = CreateObject(19445, 1888.52722, 1229.44592, 18.84000, 0.00000, 0.00000, 0.00000);
  161. ParedeFBI[30] = CreateObject(19445, 1895.13965, 1215.96338, 18.84000, 0.00000, 0.00000, 90.00000);
  162. ParedeFBI[31] = CreateObject(19445, 1896.34802, 1222.63281, 18.84000, 0.00000, 0.00000, 90.00000);
  163. ParedeFBI[32] = CreateObject(19445, 1912.28503, 1222.63147, 18.84000, 0.00000, 0.00000, 90.00000);
  164. ParedeFBI[33] = CreateObject(19445, 1914.56152, 1227.46021, 18.84000, 0.00000, 0.00000, 0.00000);
  165. ParedeFBI[34] = CreateObject(19445, 1905.90955, 1242.77271, 18.84000, 0.00000, 0.00000, 90.00000);
  166. ParedeFBI[35] = CreateObject(19445, 1910.70825, 1242.79211, 18.84000, 0.00000, 0.00000, 90.00000);
  167. ParedeFBI[36] = CreateObject(19445, 1914.54138, 1237.01660, 18.84000, 0.00000, 0.00000, 0.00000);
  168. ParedeFBI[37] = CreateObject(19445, 1914.52417, 1238.59814, 18.84000, 0.00000, 0.00000, 0.00000);
  169. ParedeFBI[38] = CreateObject(19445, 1910.04053, 1215.96289, 18.84000, 0.00000, 0.00000, 90.00000);
  170. ParedeFBI[39] = CreateObject(19445, 1925.87280, 1200.06787, 18.84000, 0.00000, 0.00000, 90.00000);
  171. ParedeFBI[40] = CreateObject(19445, 1910.02136, 1200.13293, 18.84000, 0.00000, 0.00000, 90.00000);
  172. ParedeFBI[41] = CreateObject(19445, 1925.81372, 1215.97241, 18.84000, 0.00000, 0.00000, 90.00000);
  173. ParedeFBI[42] = CreateObject(19445, 1925.10095, 1222.64856, 18.84000, 0.00000, 0.00000, 90.00000);
  174. ParedeFBI[43] = CreateObject(19383, 1918.68384, 1222.63965, 18.84000, 0.00000, 0.00000, 90.00000);
  175. ParedeFBI[44] = CreateObject(19383, 1914.82349, 1204.77966, 18.84000, 0.00000, 0.00000, 0.00000);
  176. ParedeFBI[45] = CreateObject(19353, 1914.81689, 1201.59753, 18.84000, 0.00000, 0.00000, 0.00000);
  177. ParedeFBI[46] = CreateObject(19383, 1905.89392, 1222.62427, 18.84000, 0.00000, 0.00000, 90.00000);
  178. ParedeFBI[47] = CreateObject(19353, 1902.69775, 1222.63416, 18.84000, 0.00000, 0.00000, 90.00000);
  179. ParedeFBI[48] = CreateObject(19383, 1886.90405, 1224.63806, 18.84000, 0.00000, 0.00000, 90.00000);
  180. ParedeFBI[49] = CreateObject(19383, 1903.72839, 1215.96167, 18.84000, 0.00000, 0.00000, 90.00000);
  181. ParedeFBI[50] = CreateObject(19383, 1883.76685, 1215.99316, 18.84000, 0.00000, 0.00000, 90.00000);
  182. ParedeFBI[51] = CreateObject(19383, 1886.29321, 1215.97241, 19.04100, 90.00000, 90.00000, 180.00000);
  183. ParedeFBI[52] = CreateObject(19383, 1889.51257, 1215.97437, 19.04100, 90.00000, -90.00000, 180.00000);
  184. ParedeFBI[53] = CreateObject(19353, 1919.49927, 1215.94507, 21.21926, 0.00000, 0.00000, 90.00000);
  185. ParedeFBI[54] = CreateObject(19353, 1919.56335, 1200.05481, 21.21926, 0.00000, 0.00000, 90.00000);
  186. ParedeFBI[55] = CreateObject(19353, 1916.42517, 1200.08240, 18.84000, 0.00000, 0.00000, 90.00000);
  187. ParedeFBI[56] = CreateObject(19353, 1916.45459, 1215.94702, 18.84000, 0.00000, 0.00000, 90.00000);
  188. ParedeFBI[57] = CreateObject(19353, 1890.08594, 1224.64685, 18.84000, 0.00000, 0.00000, 90.00000);
  189. ParedeFBI[58] = CreateObject(19353, 1901.29431, 1215.95703, 18.84000, 0.00000, 0.00000, 90.00000);
  190. ParedeFBI[59] = CreateObject(19353, 1883.70081, 1224.62878, 18.84000, 0.00000, 0.00000, 90.00000);
  191. for(new i = 0; i != 60; i++) SetObjectMaterial(ParedeFBI[i], 0, 3786, "missiles_sfs", "ws_greyfoam");
  192. new SofaFBI[16];
  193. SofaFBI[0] = CreateObject(11685, 1876.38293, 1227.68579, 17.11130, 0.00000, 0.00000, 90.00000);
  194. SofaFBI[1] = CreateObject(11685, 1879.73596, 1227.75891, 17.11130, 0.00000, 0.00000, 90.00000);
  195. SofaFBI[2] = CreateObject(11685, 1878.79358, 1227.75964, 17.11130, 0.00000, 0.00000, -90.00000);
  196. SofaFBI[3] = CreateObject(11685, 1879.74231, 1229.02026, 17.11130, 0.00000, 0.00000, 90.00000);
  197. SofaFBI[4] = CreateObject(11685, 1879.74512, 1230.32129, 17.11130, 0.00000, 0.00000, 90.00000);
  198. SofaFBI[5] = CreateObject(11685, 1879.74683, 1231.64063, 17.11130, 0.00000, 0.00000, 90.00000);
  199. SofaFBI[6] = CreateObject(11685, 1876.39343, 1229.00854, 17.11130, 0.00000, 0.00000, 90.00000);
  200. SofaFBI[7] = CreateObject(11685, 1878.79468, 1229.01782, 17.11130, 0.00000, 0.00000, -90.00000);
  201. SofaFBI[8] = CreateObject(11685, 1878.78931, 1230.31799, 17.11130, 0.00000, 0.00000, -90.00000);
  202. SofaFBI[9] = CreateObject(11685, 1878.78894, 1231.63794, 17.11130, 0.00000, 0.00000, -90.00000);
  203. SofaFBI[10] = CreateObject(11685, 1875.41809, 1227.66919, 17.11130, 0.00000, 0.00000, -90.00000);
  204. SofaFBI[11] = CreateObject(11685, 1876.39966, 1230.28906, 17.11130, 0.00000, 0.00000, 90.00000);
  205. SofaFBI[12] = CreateObject(11685, 1876.40967, 1231.61218, 17.11130, 0.00000, 0.00000, 90.00000);
  206. SofaFBI[13] = CreateObject(11685, 1875.41943, 1228.98914, 17.11130, 0.00000, 0.00000, -90.00000);
  207. SofaFBI[14] = CreateObject(11685, 1875.39929, 1230.27930, 17.11130, 0.00000, 0.00000, -90.00000);
  208. SofaFBI[15] = CreateObject(11685, 1875.40393, 1231.59900, 17.11130, 0.00000, 0.00000, -90.00000);
  209. for(new i = 0; i != 16; i++) SetObjectMaterial(SofaFBI[i], 0, 10765, "airportgnd_sfse", "white");
  210. new TapeteFBI[2];
  211. TapeteFBI[0] = CreateObject(19449, 1876.00903, 1231.30396, 17.02400, 0.00000, 90.00000, 0.00000);
  212. TapeteFBI[1] = CreateObject(19449, 1879.42957, 1231.29468, 17.02350, 0.00000, 90.00000, 0.00000);
  213. for(new i = 0; i != 2; i++) SetObjectMaterial(TapeteFBI[i],0, 18646, "matcolours", "grey-90-percent");
  214. new BalcaoFBI1 = CreateObject(19929, 1874.22778, 1219.36047, 20.93179, 180.00000, 0.00000, -90.00000);
  215. SetObjectMaterial(BalcaoFBI1, 0, 10765, "airportgnd_sfse", "white");
  216. SetObjectMaterial(BalcaoFBI1, 1, 14385, "trailerkb", "tr_wood1");
  217. new BalcaoFBI2 = CreateObject(19929, 1872.40393, 1217.55933, 20.94139, 180.00000, 0.00000, 0.00000);
  218. SetObjectMaterial(BalcaoFBI2, 0, 10765, "airportgnd_sfse", "white");
  219. SetObjectMaterial(BalcaoFBI2, 1, 14385, "trailerkb", "tr_wood1");
  220. new BalcaoFBI3 = CreateObject(19929, 1877.09888, 1219.35730, 17.08310, 0.00000, 0.00000, -90.00000);
  221. SetObjectMaterial(BalcaoFBI3, 0, 10765, "airportgnd_sfse", "white");
  222. SetObjectMaterial(BalcaoFBI3, 1, 14385, "trailerkb", "tr_wood1");
  223. new BalcaoFBI4 = CreateObject(19929, 1872.39587, 1217.52148, 17.08310, 0.00000, 0.00000, 0.00000);
  224. SetObjectMaterial(BalcaoFBI4, 0, 10765, "airportgnd_sfse", "white");
  225. SetObjectMaterial(BalcaoFBI4, 1, 14385, "trailerkb", "tr_wood1");
  226. new BalcaoFBI5 = CreateObject(19929, 1878.89941, 1217.49438, 20.94139, 180.00000, 0.00000, 0.00000);
  227. SetObjectMaterial(BalcaoFBI5, 0, 10765, "airportgnd_sfse", "white");
  228. SetObjectMaterial(BalcaoFBI5, 1, 14385, "trailerkb", "tr_wood1");
  229. new BalcaoFBI6 = CreateObject(19929, 1874.22778, 1219.36047, 17.08310, 0.00000, 0.00000, -90.00000);
  230. SetObjectMaterial(BalcaoFBI6, 0, 10765, "airportgnd_sfse", "white");
  231. SetObjectMaterial(BalcaoFBI6, 1, 14385, "trailerkb", "tr_wood1");
  232. new BalcaoFBI7 = CreateObject(19929, 1877.05103, 1219.35669, 20.93179, 180.00000, 0.00000, -90.00000);
  233. SetObjectMaterial(BalcaoFBI7, 0, 10765, "airportgnd_sfse", "white");
  234. SetObjectMaterial(BalcaoFBI7, 1, 14385, "trailerkb", "tr_wood1");
  235. new BalcaoFBI8 = CreateObject(19930, 1878.88086, 1218.33728, 17.08310, 0.00000, 0.00000, 0.00000);
  236. SetObjectMaterial(BalcaoFBI8, 0, 10765, "airportgnd_sfse", "white");
  237. SetObjectMaterial(BalcaoFBI8, 1, 14385, "trailerkb", "tr_wood1");
  238. new BalcaoFBI9 = CreateObject(19930, 1878.88013, 1217.20471, 17.08310, 0.00000, 0.00000, 0.00000);
  239. SetObjectMaterial(BalcaoFBI9, 0, 10765, "airportgnd_sfse", "white");
  240. SetObjectMaterial(BalcaoFBI9, 1, 14385, "trailerkb", "tr_wood1");
  241. new BalcaoFBI10 = CreateObject(19925, 1872.37805, 1219.37952, 20.94040, 180.00000, 0.00000, 0.00000);
  242. SetObjectMaterial(BalcaoFBI10, 0, 10765, "airportgnd_sfse", "white");
  243. SetObjectMaterial(BalcaoFBI10, 1, 14385, "trailerkb", "tr_wood1");
  244. new BalcaoFBI11 = CreateObject(19925, 1878.94727, 1219.35876, 17.08310, 0.00000, 0.00000, -180.00000);
  245. SetObjectMaterial(BalcaoFBI11, 0, 10765, "airportgnd_sfse", "white");
  246. SetObjectMaterial(BalcaoFBI11, 1, 14385, "trailerkb", "tr_wood1");
  247. new BalcaoFBI12 = CreateObject(19925, 1872.37805, 1219.37952, 17.08310, 0.00000, 0.00000, 270.81631);
  248. SetObjectMaterial(BalcaoFBI12, 0, 10765, "airportgnd_sfse", "white");
  249. SetObjectMaterial(BalcaoFBI12, 1, 14385, "trailerkb", "tr_wood1");
  250. new BalcaoFBI13 = CreateObject(19925, 1878.91467, 1219.34558, 20.94040, 180.00000, 0.00000, -90.00000);
  251. SetObjectMaterial(BalcaoFBI13, 0, 10765, "airportgnd_sfse", "white");
  252. SetObjectMaterial(BalcaoFBI13, 1, 14385, "trailerkb", "tr_wood1");
  253. new Zika[5];
  254. Zika[0] = CreateObject(1850, 1918.98547, 1228.51550, 17.08454, 0.00000, 0.00000, 0.00000);
  255. Zika[1] = CreateObject(1850, 1918.50000, 1229.26392, 17.08450, 0.00000, 0.00000, 180.00000);
  256. Zika[2] = CreateObject(2475, 1914.70593, 1225.25940, 17.15057, 0.00000, 0.00000, 90.00000);
  257. Zika[3] = CreateObject(2475, 1914.70422, 1228.62012, 17.15060, 0.00000, 0.00000, 90.00000);
  258. Zika[4] = CreateObject(2475, 1914.71106, 1232.13586, 17.15060, 0.00000, 0.00000, 90.00000);
  259. for(new i = 0; i != 5; i++) SetObjectMaterial(Zika[i],0, 19107, "armyhelmets", "armyhelmet4");
  260. new Tv1 = CreateObject(19786, 1882.18164, 1230.04956, 18.93669, 0.00000, 0.00000, 89.89799);
  261. SetObjectMaterial(Tv1, 0, 10765, "airportgnd_sfse", "black64");
  262. SetObjectMaterial(Tv1, 1, 19894, "laptopsamp1", "laptopscreen3");
  263. new Tv2 = CreateObject(19786, 1886.38452, 1207.42114, 19.00850, 0.00000, 0.00000, 180.00000);
  264. SetObjectMaterial(Tv2, 0, 10765, "airportgnd_sfse", "black64");
  265. SetObjectMaterial(Tv2, 1, 19894, "laptopsamp1", "laptopscreen3");
  266. new Tv3 = CreateObject(19786, 1872.67603, 1229.57971, 19.14500, 0.00000, 0.00000, 90.00000);
  267. SetObjectMaterial(Tv3, 0, 10765, "airportgnd_sfse", "black64");
  268. SetObjectMaterial(Tv3, 1, 19894, "laptopsamp1", "laptopscreen3");
  269. new Tv4 = CreateObject(19786, 1882.15100, 1229.76526, 19.14500, 0.00000, 0.00000, -90.00000);
  270. SetObjectMaterial(Tv4, 0, 10765, "airportgnd_sfse", "black64");
  271. SetObjectMaterial(Tv4, 1, 19894, "laptopsamp1", "laptopscreen3");
  272. new Porta1 = CreateObject(1502, 1902.94116, 1215.96106, 17.08752, 0.00000, 0.00000, 0.00000);
  273. SetObjectMaterial(Porta1, 0, 10765, "airportgnd_sfse", "white");
  274. SetObjectMaterial(Porta1, 1, 14385, "trailerkb", "tr_wood1");
  275. new Porta2 = CreateObject(1502, 1886.14685, 1224.60791, 17.08737, 0.00000, 0.00000, 0.00000);
  276. SetObjectMaterial(Porta2, 0, 10765, "airportgnd_sfse", "white");
  277. SetObjectMaterial(Porta2, 1, 14385, "trailerkb", "tr_wood1");
  278. new Porta3 = CreateObject(1502, 1882.98596, 1215.96497, 17.08737, 0.00000, 0.00000, 0.00000);
  279. SetObjectMaterial(Porta3, 0, 10765, "airportgnd_sfse", "white");
  280. SetObjectMaterial(Porta3, 1, 14385, "trailerkb", "tr_wood1");
  281. new Porta4 = CreateObject(1499, 1905.12061, 1222.59912, 17.08742, 0.00000, 0.00000, 0.00000);
  282. SetObjectMaterial(Porta4, 0, 19527, "cauldron1", "cauldron1");
  283. SetObjectMaterial(Porta4, 1, 19332, "balloon_texts", "balloon02");
  284. new Porta5 = CreateObject(1499, 1918.02979, 1215.93359, 17.08269, 0.00000, 0.00000, 0.00000);
  285. SetObjectMaterial(Porta5, 0, 19527, "cauldron1", "cauldron1");
  286. SetObjectMaterial(Porta5, 1, 19332, "balloon_texts", "balloon02");
  287. new Porta6 = CreateObject(1499, 1921.02917, 1215.95544, 17.08270, 0.00000, 0.00000, 179.99184);
  288. SetObjectMaterial(Porta6, 0, 19527, "cauldron1", "cauldron1");
  289. SetObjectMaterial(Porta6, 1, 19332, "balloon_texts", "balloon02");
  290. new Porta7 = CreateObject(1499, 1921.05261, 1200.04944, 17.08270, 0.00000, 0.00000, 180.00000);
  291. SetObjectMaterial(Porta7, 0, 19527, "cauldron1", "cauldron1");
  292. SetObjectMaterial(Porta7, 1, 19332, "balloon_texts", "balloon02");
  293. new Porta8 = CreateObject(1499, 1918.04736, 1200.05615, 17.08269, 0.00000, 0.00000, 0.00000);
  294. SetObjectMaterial(Porta8, 0, 19527, "cauldron1", "cauldron1");
  295. SetObjectMaterial(Porta8, 1, 19332, "balloon_texts", "balloon02");
  296. new Porta9 = CreateObject(1499, 1917.90076, 1222.61353, 17.08742, 0.00000, 0.00000, 0.00000);
  297. SetObjectMaterial(Porta9, 0, 19527, "cauldron1", "cauldron1");
  298. SetObjectMaterial(Porta9, 1, 19332, "balloon_texts", "balloon02");
  299. new ChaoFBI = CreateObject(19538, 1925.51208, 1220.35364, 17.09860, 0.00000, 0.00000, 0.00000);
  300. SetObjectMaterial(ChaoFBI, 0, 18646, "matcolours", "grey-80-percent");
  301. CreateObject(1569, 1864.95227, 1216.06262, 17.08530, 0.00000, 0.00000, 359.49591);
  302. CreateObject(1569, 1867.93665, 1216.08057, 17.08530, 0.00000, 0.00000, 180.03140);
  303. CreateObject(19089, 1864.30603, 1213.67615, 17.08546, 0.00000, 0.00000, 0.00000);
  304. CreateObject(19325, 1863.08789, 1216.91345, 18.77106, 0.00000, 0.00000, 0.00000);
  305. CreateObject(19325, 1863.09009, 1223.56885, 18.77106, 0.00000, 0.00000, 0.00000);
  306. CreateObject(19325, 1872.35522, 1216.09058, 20.51993, 0.00000, 0.00000, 0.00000);
  307. CreateObject(19325, 1875.67065, 1219.41614, 20.51990, 0.00000, 0.00000, 90.00000);
  308. CreateObject(19325, 1878.97412, 1216.09253, 20.51993, 0.00000, 0.00000, 0.00000);
  309. CreateObject(19325, 1888.46692, 1216.04260, 18.02666, 0.00000, 0.00000, 90.11427);
  310. CreateObject(1892, 1865.11060, 1216.44617, 17.08265, 0.00000, 0.00000, 0.00000);
  311. CreateObject(1892, 1866.68408, 1216.47205, 17.08265, 0.00000, 0.00000, 0.00000);
  312. CreateObject(16101, 1863.07629, 1220.21729, 17.10546, 0.00000, 0.00000, 0.00000);
  313. CreateObject(2451, 1898.45190, 1215.24341, 17.08486, 0.00000, 0.00000, 0.00000);
  314. CreateObject(2135, 1897.37878, 1215.40942, 17.08435, 0.00000, 0.00000, 0.00000);
  315. CreateObject(2137, 1896.26624, 1215.36182, 17.10862, 0.00000, 0.00000, 0.00000);
  316. CreateObject(2136, 1893.30090, 1215.38940, 17.08556, 0.00000, 0.00000, 0.00000);
  317. CreateObject(2137, 1895.27612, 1215.36804, 17.10862, 0.00000, 0.00000, 0.00000);
  318. CreateObject(2140, 1892.29907, 1215.44275, 17.08492, 0.00000, 0.00000, 0.00000);
  319. CreateObject(2140, 1891.31763, 1215.41565, 17.08492, 0.00000, 0.00000, 0.00000);
  320. CreateObject(2416, 1897.62732, 1212.56873, 17.08493, 0.00000, 0.00000, 0.00000);
  321. CreateObject(2416, 1892.30408, 1212.76990, 17.08493, 0.00000, 0.00000, 0.00000);
  322. CreateObject(2416, 1895.04150, 1212.65063, 17.08493, 0.00000, 0.00000, 0.00000);
  323. CreateObject(2441, 1898.06567, 1210.64832, 17.08424, 0.00000, 0.00000, 0.00000);
  324. CreateObject(2441, 1899.04248, 1210.64124, 17.08424, 0.00000, 0.00000, 0.00000);
  325. CreateObject(2442, 1900.42371, 1211.07385, 20.32700, 0.00000, 179.99451, 90.00000);
  326. CreateObject(2441, 1897.05981, 1210.64124, 17.08424, 0.00000, 0.00000, 0.00000);
  327. CreateObject(2441, 1896.05994, 1210.63647, 17.08424, 0.00000, 0.00000, 0.00000);
  328. CreateObject(2441, 1895.07471, 1210.63745, 17.08424, 0.00000, 0.00000, 0.00000);
  329. CreateObject(2441, 1894.09314, 1210.64099, 17.08424, 0.00000, 0.00000, 0.00000);
  330. CreateObject(2441, 1893.10901, 1210.63770, 17.08424, 0.00000, 0.00000, 0.00000);
  331. CreateObject(2441, 1892.13037, 1210.64758, 17.08424, 0.00000, 0.00000, 0.00000);
  332. CreateObject(2441, 1891.12988, 1210.65088, 17.08424, 0.00000, 0.00000, 0.00000);
  333. CreateObject(2441, 1900.42468, 1212.00781, 17.08420, 0.00000, 0.00000, 90.00000);
  334. CreateObject(2441, 1900.43030, 1213.00000, 17.08420, 0.00000, 0.00000, 90.00000);
  335. CreateObject(2441, 1900.45605, 1215.41809, 20.33670, 0.00000, 179.99451, 90.00000);
  336. CreateObject(2441, 1900.43823, 1215.39612, 17.08420, 0.00000, 0.00000, 90.00000);
  337. CreateObject(19304, 1892.12268, 1210.61951, 19.16137, 0.00000, 0.00000, 0.00000);
  338. CreateObject(19304, 1895.58459, 1210.66382, 19.16137, 0.00000, 0.00000, 0.00000);
  339. CreateObject(19304, 1898.50208, 1210.68274, 19.16137, 0.00000, 0.00000, 0.00000);
  340. CreateObject(2441, 1900.44824, 1214.43250, 20.33670, 0.00000, 179.99451, 90.00000);
  341. CreateObject(2441, 1900.43994, 1213.44263, 20.32700, 0.00000, 179.99451, 90.00000);
  342. CreateObject(2441, 1900.44104, 1212.44189, 20.32700, 0.00000, 179.99451, 90.00000);
  343. CreateObject(2441, 1900.42871, 1211.81238, 20.32700, 0.00000, 179.99451, 90.00000);
  344. CreateObject(2442, 1899.98364, 1210.64185, 17.08420, 0.00000, 0.00000, 0.00000);
  345. CreateObject(2441, 1899.02527, 1210.64099, 20.32700, 0.00000, 179.99451, 0.00000);
  346. CreateObject(19304, 1900.43652, 1212.48706, 19.16140, 0.00000, 0.00000, 90.00000);
  347. CreateObject(2441, 1900.42981, 1213.60095, 17.08420, 0.00000, 0.00000, 90.00000);
  348. CreateObject(2441, 1892.19495, 1210.66772, 20.32700, 0.00000, 179.99451, 0.00000);
  349. CreateObject(2441, 1898.04565, 1210.64172, 20.32700, 0.00000, 179.99451, 0.00000);
  350. CreateObject(2441, 1897.09448, 1210.65027, 20.32700, 0.00000, 179.99451, 0.00000);
  351. CreateObject(2441, 1896.10413, 1210.65405, 20.32700, 0.00000, 179.99451, 0.00000);
  352. CreateObject(2441, 1895.14783, 1210.65503, 20.32700, 0.00000, 179.99451, 0.00000);
  353. CreateObject(2441, 1894.17578, 1210.65588, 20.32700, 0.00000, 179.99451, 0.00000);
  354. CreateObject(2441, 1893.18835, 1210.65417, 20.32700, 0.00000, 179.99451, 0.00000);
  355. CreateObject(2441, 1891.19458, 1210.66223, 20.32700, 0.00000, 179.99451, 0.00000);
  356. CreateObject(19377, 1910.45996, 1195.38879, 20.65565, 0.00000, 90.00000, 0.00000);
  357. CreateObject(18059, 1893.95129, 1199.45996, 17.48060, 0.00000, 0.00000, 90.69699);
  358. CreateObject(2638, 1893.82153, 1200.83167, 17.68279, 0.00000, 0.00000, 0.00000);
  359. CreateObject(2638, 1893.72473, 1204.27393, 17.68279, 0.00000, 0.00000, 0.00000);
  360. CreateObject(2638, 1893.84155, 1197.80579, 17.68279, 0.00000, 0.00000, 0.00000);
  361. CreateObject(2638, 1893.83997, 1194.71814, 17.68279, 0.00000, 0.00000, 0.00000);
  362. CreateObject(2638, 1899.96777, 1194.47290, 17.68279, 0.00000, 0.00000, 0.00000);
  363. CreateObject(18059, 1899.92188, 1199.13403, 17.48060, 0.00000, 0.00000, 90.69699);
  364. CreateObject(2638, 1899.97290, 1197.65027, 17.68279, 0.00000, 0.00000, 0.00000);
  365. CreateObject(2638, 1899.94226, 1200.66516, 17.68279, 0.00000, 0.00000, 0.00000);
  366. CreateObject(2638, 1899.86072, 1204.06348, 17.68279, 0.00000, 0.00000, 0.00000);
  367. CreateObject(2639, 1899.76831, 1206.70923, 17.69020, 0.00000, 0.00000, 180.00000);
  368. CreateObject(2639, 1893.80530, 1206.83057, 17.69020, 0.00000, 0.00000, 180.00000);
  369. CreateObject(2639, 1900.12793, 1191.63330, 17.69020, 0.00000, 0.00000, 0.00000);
  370. CreateObject(2639, 1894.13525, 1191.97156, 17.69020, 0.00000, 0.00000, 0.00000);
  371. CreateObject(14791, 1904.84033, 1238.17603, 19.00775, 0.00000, 0.00000, 0.00000);
  372. CreateObject(2628, 1903.88342, 1226.61060, 17.07880, 0.00000, 0.00000, 40.00000);
  373. CreateObject(2628, 1903.71887, 1229.87939, 17.07880, 0.00000, 0.00000, 40.00000);
  374. CreateObject(2628, 1904.50439, 1232.57642, 17.07880, 0.00000, 0.00000, 40.00000);
  375. CreateObject(2630, 1906.11279, 1228.28259, 17.08393, 0.00000, 0.00000, 0.00000);
  376. CreateObject(2630, 1910.73608, 1227.65686, 17.08393, 0.00000, 0.00000, 0.00000);
  377. CreateObject(2630, 1908.44727, 1232.51685, 17.08393, 0.00000, 0.00000, 0.00000);
  378. CreateObject(2627, 1913.28418, 1224.22339, 17.08288, 0.00000, 0.00000, 0.00000);
  379. CreateObject(2627, 1911.72290, 1224.18884, 17.08288, 0.00000, 0.00000, 0.00000);
  380. CreateObject(2627, 1910.07739, 1224.22998, 17.08288, 0.00000, 0.00000, 0.00000);
  381. CreateObject(2627, 1908.33850, 1224.14465, 17.08288, 0.00000, 0.00000, 0.00000);
  382. CreateObject(14401, 1910.38501, 1237.57654, 17.38517, 0.00000, 0.00000, 0.00000);
  383. CreateObject(14782, 1914.08374, 1239.58179, 18.08879, 0.00000, 0.00000, -90.00000);
  384. CreateObject(14782, 1914.07251, 1232.87842, 18.08879, 0.00000, 0.00000, -90.00000);
  385. CreateObject(19414, 1909.52905, 1201.77112, 18.84000, 0.00000, 0.00000, 0.00000);
  386. CreateObject(19414, 1909.53271, 1204.29089, 18.84000, 0.00000, 0.00000, 0.00000);
  387. CreateObject(19414, 1909.51453, 1206.81140, 18.84000, 0.00000, 0.00000, 0.00000);
  388. CreateObject(19414, 1909.50159, 1209.34924, 18.84000, 0.00000, 0.00000, 0.00000);
  389. CreateObject(19414, 1909.49414, 1212.41016, 18.84000, 0.00000, 0.00000, 0.00000);
  390. CreateObject(19368, 1909.55554, 1213.97461, 18.84000, 0.00000, 0.00000, 90.00000);
  391. CreateObject(19368, 1909.52087, 1210.97754, 18.84000, 0.00000, 0.00000, 90.00000);
  392. CreateObject(19368, 1909.51929, 1208.11438, 18.84000, 0.00000, 0.00000, 90.00000);
  393. CreateObject(19368, 1909.57043, 1205.49414, 18.84000, 0.00000, 0.00000, 90.00000);
  394. CreateObject(19368, 1909.40222, 1203.11975, 18.84000, 0.00000, 0.00000, 90.00000);
  395. CreateObject(19435, 1909.42883, 1201.82629, 17.98891, 0.00000, 90.00000, 90.00000);
  396. CreateObject(19435, 1909.51038, 1204.97180, 17.98891, 0.00000, 90.00000, 90.00000);
  397. CreateObject(19435, 1909.50146, 1208.41602, 17.98891, 0.00000, 90.00000, 90.00000);
  398. CreateObject(19435, 1909.49402, 1211.87793, 17.98891, 0.00000, 90.00000, 90.00000);
  399. CreateObject(19435, 1909.50488, 1212.29688, 17.98891, 0.00000, 90.00000, 90.00000);
  400. CreateObject(19466, 1909.48767, 1201.89539, 19.02531, 0.00000, 0.00000, 0.00000);
  401. CreateObject(19466, 1909.52820, 1204.17822, 19.02531, 0.00000, 0.00000, 0.00000);
  402. CreateObject(19466, 1909.56128, 1206.65991, 19.02531, 0.00000, 0.00000, 0.00000);
  403. CreateObject(19466, 1909.52893, 1209.37988, 19.02531, 0.00000, 0.00000, 0.00000);
  404. CreateObject(19466, 1909.51208, 1212.30261, 19.02531, 0.00000, 0.00000, 0.00000);
  405. CreateObject(1811, 1911.22339, 1212.50000, 17.69066, 0.00000, 0.00000, 0.00000);
  406. CreateObject(1811, 1911.23535, 1209.33972, 17.69066, 0.00000, 0.00000, 0.00000);
  407. CreateObject(1811, 1911.29456, 1206.87744, 17.69066, 0.00000, 0.00000, 0.00000);
  408. CreateObject(1811, 1911.24939, 1204.33618, 17.69066, 0.00000, 0.00000, 0.00000);
  409. CreateObject(1811, 1911.24585, 1201.47620, 17.69066, 0.00000, 0.00000, 0.00000);
  410. CreateObject(1811, 1908.11047, 1201.50598, 17.69070, 0.00000, 0.00000, 180.00000);
  411. CreateObject(1811, 1908.05981, 1204.28601, 17.69070, 0.00000, 0.00000, 180.00000);
  412. CreateObject(1811, 1908.14673, 1206.78638, 17.69070, 0.00000, 0.00000, 180.00000);
  413. CreateObject(1811, 1908.17432, 1209.52637, 17.69070, 0.00000, 0.00000, 180.00000);
  414. CreateObject(1811, 1908.16211, 1212.50708, 17.69070, 0.00000, 0.00000, 180.00000);
  415. CreateObject(19395, 1914.81030, 1198.35242, 18.84000, 0.00000, 0.00000, 0.00000);
  416. CreateObject(19459, 1910.01965, 1199.98206, 18.84000, 0.00000, 0.00000, 90.00000);
  417. CreateObject(19459, 1910.04871, 1196.81238, 18.84000, 0.00000, 0.00000, 90.00000);
  418. CreateObject(19459, 1905.39453, 1195.15942, 18.84000, 0.00000, 0.00000, 0.00000);
  419. CreateObject(19459, 1910.02283, 1193.67383, 18.84000, 0.00000, 0.00000, 90.00000);
  420. CreateObject(19395, 1914.80273, 1195.24402, 18.84000, 0.00000, 0.00000, 0.00000);
  421. CreateObject(19395, 1914.78894, 1192.05688, 18.84000, 0.00000, 0.00000, 0.00000);
  422. CreateObject(19459, 1910.02539, 1190.49438, 18.84000, 0.00000, 0.00000, 90.00000);
  423. CreateObject(19459, 1905.35339, 1185.79260, 18.84000, 0.00000, 0.00000, 0.00000);
  424. CreateObject(19459, 1910.03003, 1187.31116, 18.84000, 0.00000, 0.00000, 90.00000);
  425. CreateObject(19395, 1914.79248, 1188.87756, 18.84000, 0.00000, 0.00000, 0.00000);
  426. CreateObject(19459, 1910.02576, 1184.17017, 18.84000, 0.00000, 0.00000, 90.00000);
  427. CreateObject(19395, 1914.80627, 1185.67761, 18.84000, 0.00000, 0.00000, 0.00000);
  428. CreateObject(19459, 1919.45911, 1184.17261, 18.84000, 0.00000, 0.00000, 90.00000);
  429. CreateObject(19459, 1925.86963, 1200.02600, 18.84000, 0.00000, 0.00000, 90.00000);
  430. CreateObject(19367, 1916.44495, 1199.98608, 18.84000, 0.00000, 0.00000, 90.00000);
  431. CreateObject(19367, 1919.58362, 1200.00903, 21.23434, 0.00000, 0.00000, 90.00000);
  432. CreateObject(19395, 1923.90894, 1198.30261, 18.84000, 0.00000, 0.00000, 0.00000);
  433. CreateObject(19459, 1928.63489, 1199.87549, 18.84000, 0.00000, 0.00000, 90.00000);
  434. CreateObject(19459, 1928.73950, 1196.70557, 18.84000, 0.00000, 0.00000, 90.00000);
  435. CreateObject(19395, 1923.91138, 1195.14246, 18.84000, 0.00000, 0.00000, -0.06000);
  436. CreateObject(19395, 1923.89368, 1191.98291, 18.84000, 0.00000, 0.00000, -0.06000);
  437. CreateObject(19459, 1928.72266, 1193.58582, 18.84000, 0.00000, 0.00000, 90.00000);
  438. CreateObject(19395, 1923.89453, 1188.89880, 18.84000, 0.00000, 0.00000, -0.06000);
  439. CreateObject(19459, 1928.68555, 1190.44666, 18.84000, 0.00000, 0.00000, 90.00000);
  440. CreateObject(19395, 1923.90027, 1185.73853, 18.84000, 0.00000, 0.00000, -0.06000);
  441. CreateObject(19459, 1928.73193, 1187.28625, 18.84000, 0.00000, 0.00000, 90.00000);
  442. CreateObject(19459, 1928.71790, 1184.16602, 18.84000, 0.00000, 0.00000, 90.00000);
  443. CreateObject(19459, 1933.45422, 1195.31494, 18.84000, 0.00000, 0.00000, 0.00000);
  444. CreateObject(19459, 1933.45752, 1185.84900, 18.84000, 0.00000, 0.00000, 0.00000);
  445. CreateObject(19303, 1914.84595, 1198.46167, 18.29818, 0.00000, 0.00000, 90.00000);
  446. CreateObject(19303, 1914.80481, 1195.32068, 18.29818, 0.00000, 0.00000, 90.00000);
  447. CreateObject(19303, 1914.82605, 1192.13354, 18.29818, 0.00000, 0.00000, 90.00000);
  448. CreateObject(19303, 1914.84094, 1188.95032, 18.29818, 0.00000, 0.00000, 90.00000);
  449. CreateObject(19303, 1914.86047, 1185.76770, 18.29818, 0.00000, 0.00000, 90.00000);
  450. CreateObject(19303, 1923.88269, 1185.86597, 18.29818, 0.00000, 0.00000, 90.00000);
  451. CreateObject(19303, 1923.84387, 1189.03613, 18.29818, 0.00000, 0.00000, 90.00000);
  452. CreateObject(19303, 1923.86670, 1192.09021, 18.29818, 0.00000, 0.00000, 90.00000);
  453. CreateObject(19303, 1923.85913, 1195.24377, 18.29818, 0.00000, 0.00000, 90.00000);
  454. CreateObject(19303, 1923.85522, 1198.38513, 18.29818, 0.00000, 0.00000, 90.00000);
  455. CreateObject(1800, 1934.47937, 1197.25525, 17.08460, 0.00000, 0.00000, 88.78189);
  456. CreateObject(1800, 1934.47009, 1194.07153, 17.08460, 0.00000, 0.00000, 88.78189);
  457. CreateObject(1800, 1934.42432, 1190.93579, 17.08460, 0.00000, 0.00000, 88.78189);
  458. CreateObject(1800, 1934.43408, 1187.81409, 17.08460, 0.00000, 0.00000, 88.78189);
  459. CreateObject(1800, 1934.44287, 1184.71326, 17.08460, 0.00000, 0.00000, 88.78189);
  460. CreateObject(1800, 1908.92151, 1186.42676, 17.08460, 0.00000, 0.00000, 88.78189);
  461. CreateObject(1800, 1908.94995, 1189.60791, 17.08460, 0.00000, 0.00000, 88.78189);
  462. CreateObject(1800, 1908.97876, 1192.76917, 17.08460, 0.00000, 0.00000, 88.78189);
  463. CreateObject(1800, 1908.97400, 1195.83508, 17.08460, 0.00000, 0.00000, 88.78189);
  464. CreateObject(1800, 1908.98743, 1199.00208, 17.08460, 0.00000, 0.00000, 88.78189);
  465. CreateObject(19377, 1910.47766, 1185.77954, 17.04000, 0.00000, 90.00000, 0.00000);
  466. CreateObject(19377, 1920.79871, 1182.72998, 17.04000, 0.00000, 90.00000, 0.00000);
  467. CreateObject(19377, 1931.20251, 1185.74146, 17.04000, 0.00000, 90.00000, 0.00000);
  468. CreateObject(19377, 1920.80396, 1192.05383, 17.04000, 0.00000, 90.00000, 0.00000);
  469. CreateObject(19377, 1931.21313, 1195.09583, 17.04000, 0.00000, 90.00000, 0.00000);
  470. CreateObject(19377, 1910.47949, 1201.59277, 17.04000, 0.00000, 90.00000, 0.00000);
  471. CreateObject(19377, 1910.44507, 1211.12976, 17.04000, 0.00000, 90.00000, 0.00000);
  472. CreateObject(19377, 1920.88745, 1211.20642, 17.04000, 0.00000, 90.00000, 0.00000);
  473. CreateObject(19377, 1920.86353, 1201.57520, 17.04000, 0.00000, 90.00000, 0.00000);
  474. CreateObject(19377, 1910.45996, 1195.38879, 17.04000, 0.00000, 90.00000, 0.00000);
  475. CreateObject(19377, 1910.47705, 1211.15027, 20.65565, 0.00000, 90.00000, 0.00000);
  476. CreateObject(19377, 1910.46765, 1201.50415, 20.65565, 0.00000, 90.00000, 0.00000);
  477. CreateObject(19377, 1920.15710, 1211.13293, 20.55667, 0.00000, 90.00000, 0.00000);
  478. CreateObject(19377, 1920.71667, 1201.54980, 20.65565, 0.00000, 90.00000, 0.00000);
  479. CreateObject(19377, 1920.82446, 1192.24915, 20.65565, 0.00000, 90.00000, 0.00000);
  480. CreateObject(19377, 1910.48816, 1185.81079, 20.65565, 0.00000, 90.00000, 0.00000);
  481. CreateObject(19377, 1931.15942, 1195.07300, 20.65565, 0.00000, 90.00000, 0.00000);
  482. CreateObject(19377, 1931.10449, 1185.52563, 20.65565, 0.00000, 90.00000, 0.00000);
  483. CreateObject(19377, 1920.81897, 1182.94556, 20.65565, 0.00000, 90.00000, 0.00000);
  484. CreateObject(1806, 1873.70020, 1218.00305, 17.08549, 0.00000, 0.00000, 0.00000);
  485. CreateObject(1806, 1877.58997, 1218.18494, 17.08549, 0.00000, 0.00000, 0.00000);
  486. CreateObject(16101, 1872.41675, 1219.36169, 17.10546, 0.00000, 0.00000, 0.00000);
  487. CreateObject(16101, 1878.93420, 1219.37744, 17.10546, 0.00000, 0.00000, 0.00000);
  488. CreateObject(2163, 1874.11902, 1216.15601, 17.08620, 0.00000, 0.00000, 180.00000);
  489. CreateObject(2161, 1876.73230, 1216.50378, 17.08587, 0.00000, 0.00000, 0.00000);
  490. CreateObject(2612, 1873.52917, 1216.16138, 19.02161, 0.00000, 0.00000, 180.00000);
  491. CreateObject(2611, 1876.77380, 1216.14050, 19.22260, 0.00000, 0.00000, 180.00000);
  492. CreateObject(19893, 1873.48059, 1219.25928, 18.00580, 0.00000, 0.00000, 25.00000);
  493. CreateObject(19893, 1877.99536, 1219.32227, 18.00580, 0.00000, 0.00000, -33.00000);
  494. CreateObject(11705, 1872.91248, 1219.27832, 18.00579, 0.00000, 0.00000, 0.00000);
  495. CreateObject(11705, 1878.59888, 1219.20313, 18.00579, 0.00000, 0.00000, 0.00000);
  496. CreateObject(2855, 1878.81128, 1218.37512, 18.00597, 0.00000, 0.00000, 0.00000);
  497. CreateObject(2855, 1878.88635, 1217.19519, 18.00597, 0.00000, 0.00000, 0.00000);
  498. CreateObject(2853, 1872.41956, 1218.51416, 18.00600, 0.00000, 0.00000, 0.00000);
  499. CreateObject(2852, 1872.36926, 1217.06641, 18.00600, 0.00000, 0.00000, 0.00000);
  500. CreateObject(19172, 1877.41992, 1234.12683, 18.74169, 0.00000, 0.00000, 0.00000);
  501. CreateObject(19175, 1884.23389, 1224.52295, 18.90816, 0.00000, 0.00000, 0.30301);
  502. CreateObject(19174, 1867.94446, 1224.44580, 18.90820, 0.00000, 0.00000, 0.30300);
  503. CreateObject(1753, 1888.04675, 1228.54822, 17.08470, 0.00000, 0.00000, -90.00000);
  504. CreateObject(1753, 1888.00305, 1233.11951, 17.08470, 0.00000, 0.00000, -90.00000);
  505. CreateObject(1823, 1887.73828, 1229.26782, 17.08505, 0.00000, 0.00000, 0.00000);
  506. CreateObject(2204, 1882.78467, 1234.03638, 17.08561, 0.00000, 0.00000, 0.00000);
  507. CreateObject(2164, 1885.94507, 1234.07629, 17.08563, 0.00000, 0.00000, 0.00000);
  508. CreateObject(2166, 1883.65710, 1225.24072, 17.08480, 0.00000, 0.00000, 90.00000);
  509. CreateObject(1714, 1883.81396, 1226.10303, 17.08480, 0.00000, 0.00000, -42.00000);
  510. CreateObject(19893, 1882.76575, 1226.01770, 17.87540, 0.00000, 0.00000, 98.00000);
  511. CreateObject(2205, 1885.94702, 1211.70520, 17.08400, 0.00000, 0.00000, 90.00000);
  512. CreateObject(2205, 1886.92871, 1211.72449, 17.08400, 0.00000, 0.00000, 90.00000);
  513. CreateObject(2205, 1886.90967, 1209.42334, 17.08400, 0.00000, 0.00000, 90.00000);
  514. CreateObject(2205, 1885.94446, 1209.42517, 17.08400, 0.00000, 0.00000, 90.00000);
  515. CreateObject(1714, 1884.79883, 1212.43860, 17.08590, 0.00000, 0.00000, 91.00000);
  516. CreateObject(1714, 1884.78613, 1210.17456, 17.08590, 0.00000, 0.00000, 91.00000);
  517. CreateObject(1714, 1888.01733, 1210.14807, 17.08590, 0.00000, 0.00000, 267.00000);
  518. CreateObject(1714, 1887.93201, 1212.46570, 17.08590, 0.00000, 0.00000, 267.00000);
  519. CreateObject(2616, 1890.22302, 1209.34692, 18.61170, 0.00000, 0.00000, -90.00000);
  520. CreateObject(2615, 1890.21826, 1209.82410, 18.61170, 0.00000, 0.00000, -90.00000);
  521. CreateObject(2614, 1890.20557, 1213.22095, 19.21874, 0.00000, 0.00000, -90.00000);
  522. CreateObject(2611, 1882.92358, 1209.22339, 18.68271, 0.00000, 0.00000, 90.00000);
  523. CreateObject(2612, 1882.94788, 1213.08435, 18.68270, 0.00000, 0.00000, 90.00000);
  524. CreateObject(1569, 1927.55725, 1219.96936, 17.08530, 0.00000, 0.00000, 268.08380);
  525. CreateObject(2035, 1917.57849, 1228.32739, 17.91488, 0.00000, -90.00000, 90.00000);
  526. CreateObject(2035, 1917.97778, 1228.34277, 17.91488, 0.00000, -90.00000, 90.00000);
  527. CreateObject(2035, 1918.37793, 1228.35803, 17.91488, 0.00000, -90.00000, 90.00000);
  528. CreateObject(2035, 1918.83777, 1228.38477, 17.91488, 0.00000, -90.00000, 90.00000);
  529. CreateObject(2035, 1919.23901, 1228.37109, 17.91488, 0.00000, -90.00000, 90.00000);
  530. CreateObject(2035, 1919.67908, 1228.37085, 17.91488, 0.00000, -90.00000, 90.00000);
  531. CreateObject(2035, 1920.01892, 1228.37500, 17.91488, 0.00000, -90.00000, 90.00000);
  532. CreateObject(2044, 1917.62207, 1228.59729, 18.30100, 0.00000, 0.00000, 0.00000);
  533. CreateObject(2044, 1918.12354, 1228.58911, 18.30100, 0.00000, 0.00000, 0.00000);
  534. CreateObject(2044, 1918.60388, 1228.58557, 18.30100, 0.00000, 0.00000, 0.00000);
  535. CreateObject(2044, 1919.18420, 1228.58130, 18.30100, 0.00000, 0.00000, 0.00000);
  536. CreateObject(2044, 1919.76440, 1228.59705, 18.30100, 0.00000, 0.00000, 0.00000);
  537. CreateObject(2036, 1917.56750, 1229.43701, 17.91490, 0.00000, -90.00000, 90.00000);
  538. CreateObject(2036, 1918.02747, 1229.43982, 17.91490, 0.00000, -90.00000, 90.00000);
  539. CreateObject(2036, 1918.50806, 1229.44226, 17.91490, 0.00000, -90.00000, 90.00000);
  540. CreateObject(2036, 1919.04761, 1229.41174, 17.91490, 0.00000, -90.00000, 90.00000);
  541. CreateObject(2036, 1919.60815, 1229.42114, 17.91490, 0.00000, -90.00000, 90.00000);
  542. CreateObject(2036, 1920.06885, 1229.45227, 17.91490, 0.00000, -90.00000, 90.00000);
  543. CreateObject(2044, 1917.67554, 1229.16431, 18.30100, 0.00000, 0.00000, 180.00000);
  544. CreateObject(2044, 1918.19531, 1229.15479, 18.30100, 0.00000, 0.00000, 180.00000);
  545. CreateObject(2044, 1918.73560, 1229.16492, 18.30100, 0.00000, 0.00000, 180.00000);
  546. CreateObject(2044, 1919.27637, 1229.19580, 18.30100, 0.00000, 0.00000, 180.00000);
  547. CreateObject(2044, 1919.81665, 1229.20679, 18.30100, 0.00000, 0.00000, 180.00000);
  548. CreateObject(361, 1917.57422, 1228.91687, 18.69820, 76.00000, -4.00000, 26.00000);
  549. CreateObject(361, 1918.91492, 1228.91675, 18.69820, 76.00000, -4.00000, 26.00000);
  550. CreateObject(361, 1917.36011, 1228.54480, 18.69820, 76.00000, -4.00000, 26.00000);
  551. CreateObject(361, 1918.76538, 1228.61646, 18.69820, 76.00000, -4.00000, 26.00000);
  552. CreateObject(11745, 1914.93054, 1225.16150, 17.48695, 0.00000, 0.00000, 0.00000);
  553. CreateObject(11745, 1914.91028, 1225.84363, 17.39919, 0.00000, 0.00000, 0.00000);
  554. CreateObject(11745, 1914.94287, 1229.20947, 17.39310, 0.00000, 0.00000, 0.00000);
  555. CreateObject(11736, 1914.84229, 1225.00549, 18.66841, 0.00000, 0.00000, 0.00000);
  556. CreateObject(11736, 1914.82056, 1231.85315, 18.67245, 0.00000, 0.00000, 0.00000);
  557. CreateObject(11750, 1914.83728, 1224.89258, 18.01563, 0.00000, 0.00000, 0.40707);
  558. CreateObject(11736, 1914.84021, 1225.50598, 18.66841, 0.00000, 0.00000, 0.00000);
  559. CreateObject(11736, 1914.83801, 1226.00623, 18.66841, 0.00000, 0.00000, 0.00000);
  560. CreateObject(11750, 1914.97681, 1224.95410, 18.01563, 0.00000, 0.00000, 0.40707);
  561. CreateObject(11750, 1914.83472, 1225.13245, 18.01563, 0.00000, 0.00000, 0.40707);
  562. CreateObject(11750, 1914.97363, 1225.21375, 18.01563, 0.00000, 0.00000, 0.40707);
  563. CreateObject(11750, 1914.83191, 1225.33191, 18.01563, 0.00000, 0.00000, 0.40707);
  564. CreateObject(11750, 1914.96997, 1225.47388, 18.01563, 0.00000, 0.00000, 0.40707);
  565. CreateObject(11750, 1914.82813, 1225.59204, 18.01563, 0.00000, 0.00000, 0.40707);
  566. CreateObject(11750, 1915.02771, 1225.65503, 18.01563, 0.00000, 0.00000, 0.40707);
  567. CreateObject(11750, 1914.84607, 1225.77271, 18.01563, 0.00000, 0.00000, 0.40707);
  568. CreateObject(11750, 1914.86157, 1226.03162, 18.01563, 0.00000, 0.00000, 0.40707);
  569. CreateObject(11750, 1914.82434, 1225.89246, 18.01563, 0.00000, 0.00000, 0.40707);
  570. CreateObject(11750, 1914.94080, 1226.17078, 18.01563, 0.00000, 0.00000, 0.40707);
  571. CreateObject(11750, 1915.04382, 1225.95544, 18.01563, 0.00000, 0.00000, 0.40707);
  572. CreateObject(11750, 1914.96545, 1225.81433, 18.01563, 0.00000, 0.00000, 0.40707);
  573. CreateObject(19142, 1914.75549, 1225.07007, 19.58830, 0.00000, -90.00000, -87.00000);
  574. CreateObject(19142, 1914.77649, 1225.52844, 19.58830, 0.00000, -90.00000, -87.00000);
  575. CreateObject(19142, 1914.76318, 1225.99451, 19.58830, 0.00000, -90.00000, -87.00000);
  576. CreateObject(11745, 1914.90271, 1228.49890, 17.39310, 0.00000, 0.00000, 0.00000);
  577. CreateObject(11745, 1914.90356, 1232.03052, 17.39310, 0.00000, 0.00000, 0.00000);
  578. CreateObject(11745, 1914.87866, 1232.74487, 17.39310, 0.00000, 0.00000, 0.00000);
  579. CreateObject(11736, 1914.82397, 1232.23352, 18.67245, 0.00000, 0.00000, 0.00000);
  580. CreateObject(11736, 1914.80981, 1232.93396, 18.67245, 0.00000, 0.00000, 0.00000);
  581. CreateObject(11736, 1914.82251, 1232.57458, 18.67245, 0.00000, 0.00000, 0.00000);
  582. CreateObject(11736, 1914.79468, 1229.33752, 18.67245, 0.00000, 0.00000, 0.00000);
  583. CreateObject(11736, 1914.81958, 1228.97363, 18.67245, 0.00000, 0.00000, 0.12000);
  584. CreateObject(11736, 1914.82288, 1228.65063, 18.67245, 0.00000, 0.00000, 0.12000);
  585. CreateObject(11736, 1914.82886, 1228.31201, 18.67245, 0.00000, 0.00000, 0.12000);
  586. CreateObject(19141, 1914.87683, 1228.60547, 18.05930, 0.00000, -90.00000, -91.00000);
  587. CreateObject(19141, 1914.88672, 1228.30457, 18.05930, 0.00000, -90.00000, -91.00000);
  588. CreateObject(19141, 1914.88806, 1229.49255, 18.05930, 0.00000, -90.00000, -91.00000);
  589. CreateObject(19141, 1914.88733, 1228.90625, 18.05930, 0.00000, -90.00000, -91.00000);
  590. CreateObject(19141, 1914.87744, 1229.20911, 18.05930, 0.00000, -90.00000, -91.00000);
  591. CreateObject(19141, 1914.90759, 1233.05017, 18.05930, 0.00000, -90.00000, -91.00000);
  592. CreateObject(19141, 1914.91052, 1231.83826, 18.05930, 0.00000, -90.00000, -91.00000);
  593. CreateObject(19141, 1914.90979, 1232.14124, 18.05930, 0.00000, -90.00000, -91.00000);
  594. CreateObject(19141, 1914.90906, 1232.44421, 18.05930, 0.00000, -90.00000, -91.00000);
  595. CreateObject(19141, 1914.90833, 1232.74719, 18.05930, 0.00000, -90.00000, -91.00000);
  596. CreateObject(19142, 1914.78711, 1229.38977, 19.58830, 0.00000, -90.00000, -87.00000);
  597. CreateObject(19142, 1914.78589, 1228.37671, 19.58830, 0.00000, -90.00000, -87.00000);
  598. CreateObject(19142, 1914.79138, 1232.93970, 19.58830, 0.00000, -90.00000, -87.00000);
  599. CreateObject(19142, 1914.78650, 1228.88379, 19.58830, 0.00000, -90.00000, -87.00000);
  600. CreateObject(19142, 1914.79016, 1231.92773, 19.58830, 0.00000, -90.00000, -87.00000);
  601. CreateObject(19142, 1914.79077, 1232.43164, 19.58830, 0.00000, -90.00000, -87.00000);
  602. CreateObject(2985, 1915.06482, 1223.27161, 17.08558, 0.00000, 0.00000, 0.00000);
  603. CreateObject(2985, 1914.99780, 1226.71448, 17.08558, 0.00000, 0.00000, 0.00000);
  604. CreateObject(2985, 1915.06177, 1224.27173, 17.08558, 0.00000, 0.00000, 0.00000);
  605. CreateObject(2985, 1915.05176, 1230.15833, 17.08558, 0.00000, 0.00000, 0.00000);
  606. CreateObject(2985, 1915.01208, 1227.62439, 17.08558, 0.00000, 0.00000, 0.00000);
  607. CreateObject(2985, 1915.10413, 1233.50427, 17.08558, 0.00000, 0.00000, 0.00000);
  608. CreateObject(2985, 1915.06604, 1231.07434, 17.08558, 0.00000, 0.00000, 0.00000);
  609. CreateObject(11729, 1921.38745, 1233.81165, 17.08512, 0.00000, 0.00000, 0.00000);
  610. CreateObject(11729, 1920.16370, 1233.80151, 17.08512, 0.00000, 0.00000, 0.00000);
  611. CreateObject(11729, 1919.51318, 1233.79333, 17.08512, 0.00000, 0.00000, 0.00000);
  612. CreateObject(11729, 1917.02051, 1233.76062, 17.08512, 0.00000, 0.00000, 0.00000);
  613. CreateObject(11729, 1917.62646, 1233.76868, 17.08512, 0.00000, 0.00000, 0.00000);
  614. CreateObject(11729, 1918.25891, 1233.77686, 17.08512, 0.00000, 0.00000, 0.00000);
  615. CreateObject(11729, 1918.85278, 1233.78479, 17.08512, 0.00000, 0.00000, 0.00000);
  616. CreateObject(11729, 1920.77734, 1233.81018, 17.08512, 0.00000, 0.00000, 0.00000);
  617. CreateObject(18637, 1922.60083, 1233.39880, 17.69750, 68.00000, 0.00000, 269.18182);
  618. CreateObject(18637, 1922.61499, 1232.08875, 17.69750, 68.00000, 0.00000, 269.18182);
  619. CreateObject(18637, 1922.62903, 1232.71899, 17.69750, 68.00000, 0.00000, 269.18182);
  620. CreateObject(18637, 1922.61877, 1231.50830, 17.69750, 68.00000, 0.00000, 269.18182);
  621. CreateObject(18637, 1922.60339, 1230.90698, 17.69750, 68.00000, 0.00000, 269.18182);
  622. CreateObject(2358, 1922.45093, 1229.11292, 17.18830, 0.00000, 0.00000, -90.00000);
  623. CreateObject(2358, 1922.45093, 1229.80017, 17.18830, 0.00000, 0.00000, -90.00000);
  624. CreateObject(2358, 1922.45068, 1228.41272, 17.18830, 0.00000, 0.00000, -90.00000);
  625. CreateObject(2358, 1922.45203, 1228.07239, 17.38930, 0.00000, 0.00000, -90.00000);
  626. CreateObject(2358, 1922.45398, 1227.71216, 17.18830, 0.00000, 0.00000, -90.00000);
  627. CreateObject(2358, 1922.44836, 1228.75293, 17.38930, 0.00000, 0.00000, -90.00000);
  628. CreateObject(2358, 1922.44482, 1229.11230, 17.62645, 0.00000, 0.00000, -90.00000);
  629. CreateObject(2358, 1922.44519, 1229.41284, 17.38930, 0.00000, 0.00000, -90.00000);
  630. CreateObject(2358, 1922.45215, 1228.73181, 17.82643, 0.00000, 0.00000, -90.00000);
  631. CreateObject(2358, 1922.45447, 1228.41174, 17.62645, 0.00000, 0.00000, -90.00000);
  632. CreateObject(2061, 1922.12244, 1229.99011, 17.38951, 0.00000, 0.00000, 33.00000);
  633. CreateObject(2061, 1922.08044, 1229.62048, 17.38951, 0.00000, 0.00000, 33.00000);
  634. CreateObject(2061, 1922.11145, 1229.31689, 17.38951, 0.00000, 0.00000, 33.00000);
  635. CreateObject(2061, 1922.11975, 1229.07495, 17.38951, 0.00000, 0.00000, 33.00000);
  636. CreateObject(2061, 1922.10718, 1228.79602, 17.38951, 0.00000, 0.00000, 33.00000);
  637. CreateObject(2061, 1922.11584, 1228.53625, 17.38951, 0.00000, 0.00000, 33.00000);
  638. CreateObject(2061, 1922.12024, 1228.27441, 17.38951, 0.00000, 0.00000, 33.00000);
  639. CreateObject(2061, 1922.10059, 1227.95557, 17.38951, 0.00000, 0.00000, 33.00000);
  640. CreateObject(2061, 1922.10168, 1227.67444, 17.38951, 0.00000, 0.00000, 33.00000);
  641. CreateObject(2061, 1922.10168, 1227.37549, 17.38951, 0.00000, 0.00000, 33.00000);
  642. CreateObject(2985, 1922.33215, 1223.56531, 17.08560, 0.00000, 0.00000, 180.00000);
  643. CreateObject(2985, 1922.36841, 1224.60461, 17.08560, 0.00000, 0.00000, 180.00000);
  644. CreateObject(2985, 1922.36487, 1225.80408, 17.08560, 0.00000, 0.00000, 180.00000);
  645. CreateObject(2985, 1922.35767, 1226.79712, 17.08560, 0.00000, 0.00000, 180.00000);
  646. CreateObject(18981, 1875.44299, 1224.08826, 21.02927, 0.00000, 90.00000, 0.00000);
  647. CreateObject(18981, 1900.31201, 1224.10864, 21.02927, 0.00000, 90.00000, 0.00000);
  648. CreateObject(18981, 1925.28625, 1224.10242, 21.03128, 0.00000, 90.00000, 0.00000);
  649. CreateObject(18981, 1901.92554, 1249.00061, 21.03128, 0.00000, 90.00000, 0.00000);
  650. CreateObject(18981, 1892.83765, 1199.25342, 21.03128, 0.00000, 90.00000, 0.00000);
  651. CreateObject(18075, 1904.54443, 1195.00500, 20.52496, 0.00000, 0.00000, 0.00000);
  652. CreateObject(18075, 1869.36475, 1222.03064, 20.52496, 0.00000, 0.00000, 0.00000);
  653. CreateObject(18075, 1885.44653, 1230.89465, 20.52496, 0.00000, 0.00000, 0.00000);
  654. CreateObject(18075, 1914.10742, 1219.21960, 20.52500, 0.00000, 0.00000, 90.00000);
  655. CreateObject(18075, 1887.38428, 1219.59448, 20.52500, 0.00000, 0.00000, 90.00000);
  656. CreateObject(18075, 1900.10901, 1219.35071, 20.52500, 0.00000, 0.00000, 90.00000);
  657. CreateObject(18075, 1904.99316, 1227.62183, 20.52496, 0.00000, 0.00000, 0.00000);
  658. CreateObject(18075, 1904.53809, 1208.18506, 20.52496, 0.00000, 0.00000, 0.00000);
  659. CreateObject(18075, 1886.54382, 1209.46838, 20.52496, 0.00000, 0.00000, 0.00000);
  660. CreateObject(18075, 1895.60266, 1195.27368, 20.52496, 0.00000, 0.00000, 0.00000);
  661. CreateObject(18075, 1895.28723, 1207.37488, 20.52496, 0.00000, 0.00000, 0.00000);
  662. CreateObject(18075, 1877.19775, 1227.72620, 20.52496, 0.00000, 0.00000, 0.00000);
  663. CreateObject(18075, 1905.03552, 1238.01282, 20.52496, 0.00000, 0.00000, 0.00000);
  664. CreateObject(18075, 1913.51355, 1227.69568, 20.52496, 0.00000, 0.00000, 0.00000);
  665. CreateObject(18075, 1913.46667, 1237.92053, 20.52496, 0.00000, 0.00000, 0.00000);
  666. CreateObject(18075, 1922.72656, 1228.54932, 20.52496, 0.00000, 0.00000, 0.00000);
  667. CreateObject(18075, 1919.60071, 1207.25903, 20.52496, 0.00000, 0.00000, 0.00000);
  668. CreateObject(18075, 1919.29822, 1192.12842, 20.52496, 0.00000, 0.00000, 0.00000);
  669. CreateObject(19376, 650.69928, -162.28470, 1000.18982, 0.00000, 90.00000, 0.00000);
  670. CreateObject(19376, 650.67731, -171.91670, 1000.18982, 0.00000, 90.00000, 0.00000);
  671. CreateObject(19376, 650.69928, -181.54649, 1000.18982, 0.00000, 90.00000, 0.00000);
  672. CreateObject(19376, 661.16943, -181.55029, 1000.18982, 0.00000, 90.00000, 0.00000);
  673. CreateObject(19376, 661.17035, -171.91835, 1000.18982, 0.00000, 90.00000, 0.00000);
  674. CreateObject(19376, 661.19031, -162.29469, 1000.18982, 0.00000, 90.00000, 0.00000);
  675. CreateObject(19376, 671.65137, -181.54526, 1000.18982, 0.00000, 90.00000, 0.00000);
  676. CreateObject(19376, 671.66827, -171.91670, 1000.18982, 0.00000, 90.00000, 0.00000);
  677. CreateObject(19376, 671.68610, -162.29700, 1000.18982, 0.00000, 90.00000, 0.00000);
  678. CreateObject(19445, 652.50928, -158.53770, 1002.02429, 0.00000, 0.00000, -90.00000);
  679. CreateObject(19445, 642.88733, -158.53770, 1002.02429, 0.00000, 0.00000, -90.00000);
  680. CreateObject(19376, 640.23962, -181.54134, 1000.18982, 0.00000, 90.00000, 0.00000);
  681. CreateObject(19376, 640.20770, -171.91800, 1000.18982, 0.00000, 90.00000, 0.00000);
  682. CreateObject(19376, 640.20331, -162.29469, 1000.18982, 0.00000, 90.00000, 0.00000);
  683. CreateObject(19445, 641.60193, -162.74240, 1002.02429, 0.00000, 0.00000, 0.00000);
  684. CreateObject(19376, 671.68628, -181.51770, 1003.84082, 0.00000, 90.00000, 0.00000);
  685. CreateObject(19376, 661.19031, -181.51770, 1003.84082, 0.00000, 90.00000, 0.00000);
  686. CreateObject(19376, 650.69928, -181.51770, 1003.84082, 0.00000, 90.00000, 0.00000);
  687. CreateObject(19376, 640.20331, -171.91670, 1003.84082, 0.00000, 90.00000, 0.00000);
  688. CreateObject(19376, 640.20331, -162.29469, 1003.84082, 0.00000, 90.00000, 0.00000);
  689. CreateObject(19376, 650.69928, -162.29469, 1003.84082, 0.00000, 90.00000, 0.00000);
  690. CreateObject(19376, 671.68628, -171.90669, 1003.84082, 0.00000, 90.00000, 0.00000);
  691. CreateObject(19376, 661.19031, -171.91670, 1003.84082, 0.00000, 90.00000, 0.00000);
  692. CreateObject(19376, 650.69928, -171.91670, 1003.84082, 0.00000, 90.00000, 0.00000);
  693. CreateObject(19376, 640.20331, -181.51770, 1003.84082, 0.00000, 90.00000, 0.00000);
  694. CreateObject(19383, 652.47009, -167.63651, 1002.02557, 0.00000, 0.00000, 90.00000);
  695. CreateObject(19445, 639.65332, -167.64290, 1002.02429, 0.00000, 0.00000, -90.00000);
  696. CreateObject(19445, 658.22559, -153.28700, 1002.02429, 0.00000, 0.00000, 0.00000);
  697. CreateObject(19453, 671.70990, -167.81000, 1002.02228, 0.00000, 0.00000, -90.00000);
  698. CreateObject(19390, 665.29810, -167.81000, 1002.02551, 0.00000, 0.00000, 90.00000);
  699. CreateObject(19453, 658.89081, -167.81000, 1002.02228, 0.00000, 0.00000, -90.00000);
  700. CreateObject(19390, 652.47009, -167.81000, 1002.02228, 0.00000, 0.00000, 90.00000);
  701. CreateObject(19453, 639.64948, -167.81000, 1002.02228, 0.00000, 0.00000, -90.00000);
  702. CreateObject(19453, 671.57172, -172.70441, 1002.02228, 0.00000, 0.00000, -180.00000);
  703. CreateObject(19453, 676.76477, -177.44070, 1002.02228, 0.00000, 0.00000, -90.00000);
  704. CreateObject(19407, 667.04388, -177.44070, 1002.02429, 0.00000, 0.00000, 90.00000);
  705. CreateObject(19390, 663.87201, -177.44070, 1002.02429, 0.00000, 0.00000, 90.00000);
  706. CreateObject(19446, 671.57172, -182.51939, 1002.02429, 0.00000, 0.00000, 0.00000);
  707. CreateObject(19384, 663.83398, -177.61870, 1002.02429, 0.00000, 0.00000, -90.00000);
  708. CreateObject(19400, 667.04388, -177.61870, 1002.02429, 0.00000, 0.00000, 90.00000);
  709. CreateObject(19446, 673.55353, -187.87180, 1002.02429, 0.00000, 0.00000, 90.00000);
  710. CreateObject(19446, 663.98669, -187.87180, 1002.02429, 0.00000, 0.00000, 90.00000);
  711. CreateObject(19376, 671.65143, -191.17529, 1000.18982, 0.00000, 90.00000, 0.00000);
  712. CreateObject(19376, 661.18921, -191.17529, 1000.18982, 0.00000, 90.00000, 0.00000);
  713. CreateObject(19354, 660.62433, -177.61870, 1002.02429, 0.00000, 0.00000, 90.00000);
  714. CreateObject(19446, 675.36853, -191.97000, 1002.02429, 0.00000, 0.00000, 0.00000);
  715. CreateObject(19446, 659.11060, -182.34801, 1002.02429, 0.00000, 0.00000, 0.00000);
  716. CreateObject(19446, 659.11060, -191.97000, 1002.02429, 0.00000, 0.00000, 0.00000);
  717. CreateObject(19376, 671.65143, -191.15430, 1003.84082, 0.00000, 90.00000, 0.00000);
  718. CreateObject(19376, 661.18921, -191.15430, 1003.84082, 0.00000, 90.00000, 0.00000);
  719. CreateObject(19446, 673.46570, -177.61870, 1002.02429, 0.00000, 0.00000, 90.00000);
  720. CreateObject(19390, 651.04102, -177.44070, 1002.02551, 0.00000, 0.00000, 90.00000);
  721. CreateObject(19453, 642.03497, -182.32950, 1002.02228, 0.00000, 0.00000, -180.00000);
  722. CreateObject(19453, 642.03497, -172.70821, 1002.02228, 0.00000, 0.00000, -180.00000);
  723. CreateObject(1649, 668.17468, -177.53110, 1001.30450, 0.00000, 0.00000, 180.00000);
  724. CreateObject(19453, 649.34808, -182.16901, 1002.02551, 0.00000, 0.00000, 0.00000);
  725. CreateObject(19376, 650.69928, -191.17529, 1000.18982, 0.00000, 90.00000, 0.00000);
  726. CreateObject(19376, 640.22028, -191.17529, 1000.18982, 0.00000, 90.00000, 0.00000);
  727. CreateObject(19376, 650.69928, -191.17529, 1003.84082, 0.00000, 90.00000, 0.00000);
  728. CreateObject(19376, 640.22028, -191.17529, 1003.84082, 0.00000, 90.00000, 0.00000);
  729. CreateObject(19453, 641.59229, -163.07820, 1002.02228, 0.00000, 0.00000, -180.00000);
  730. CreateObject(19453, 636.42230, -167.81000, 1002.02228, 0.00000, 0.00000, -90.00000);
  731. CreateObject(19450, 644.59113, -187.87180, 1002.02228, 0.00000, 0.00000, 90.00000);
  732. CreateObject(19361, 649.44812, -188.57640, 1002.02228, 0.00000, 0.00000, 0.00000);
  733. CreateObject(19361, 641.59229, -188.73860, 1002.02228, 0.00000, 0.00000, 0.00000);
  734. CreateObject(19453, 644.69263, -186.65520, 1002.02228, 0.00000, 0.00000, -90.00000);
  735. CreateObject(19353, 642.64301, -156.31480, 1002.02429, 0.00000, 0.00000, 0.00000);
  736. CreateObject(19999, 647.23291, -184.53931, 1000.27618, 0.00000, 0.00000, 200.21980);
  737. CreateObject(1721, 642.23999, -180.03661, 1000.27490, 0.00000, 0.00000, -90.00000);
  738. CreateObject(1721, 642.23999, -179.41260, 1000.27490, 0.00000, 0.00000, -90.00000);
  739. CreateObject(2198, 646.55762, -182.93974, 1000.25391, 0.00000, 0.00000, 0.00000);
  740. CreateObject(2198, 642.86816, -182.93896, 1000.25391, 0.00000, 0.00000, 0.00000);
  741. CreateObject(19999, 643.45453, -184.53931, 1000.27618, 0.00000, 0.00000, 200.21980);
  742. CreateObject(1721, 642.23999, -178.78860, 1000.27490, 0.00000, 0.00000, -90.00000);
  743. CreateObject(1721, 642.23999, -178.16460, 1000.27490, 0.00000, 0.00000, -90.00000);
  744. CreateObject(2606, 645.91730, -186.43829, 1003.11450, 0.00000, 0.00000, 180.00000);
  745. CreateObject(2606, 645.91730, -186.43829, 1002.65649, 0.00000, 0.00000, 180.00000);
  746. CreateObject(19787, 649.34241, -179.77580, 1002.84497, 0.00000, 0.00000, -90.00000);
  747. CreateObject(1523, 664.50897, -167.69000, 1000.25513, 0.00000, 0.00000, 0.00000);
  748. CreateObject(2946, 642.05402, -173.77409, 1000.27643, 0.00000, 0.00000, 0.00000);
  749. CreateObject(2946, 642.07300, -170.60789, 1000.27643, 0.00000, 0.00000, 180.00000);
  750. CreateObject(1801, 667.89563, -179.12080, 1000.27368, 0.00000, 0.00000, -90.00000);
  751. CreateObject(19354, 671.57172, -188.93660, 1002.02429, 0.00000, 0.00000, 180.00000);
  752. CreateObject(1801, 667.89563, -182.08949, 1000.27368, 0.00000, 0.00000, -90.00000);
  753. CreateObject(1801, 667.89954, -185.29608, 1000.27368, 0.00000, 0.00000, -90.00000);
  754. CreateObject(1801, 662.77557, -186.30370, 1000.27368, 0.00000, 0.00000, -270.00000);
  755. CreateObject(1801, 662.77557, -183.07750, 1000.27368, 0.00000, 0.00000, -270.00000);
  756. CreateObject(1801, 662.77557, -180.08980, 1000.27368, 0.00000, 0.00000, -270.00000);
  757. CreateObject(19787, 665.46802, -187.86000, 1002.76898, 0.00000, 0.00000, -180.00000);
  758. CreateObject(630, 649.14178, -177.81880, 1001.30200, 0.00000, 0.00000, 45.42000);
  759. CreateObject(2008, 643.24841, -162.26151, 1000.27338, 0.00000, 0.00000, 270.00000);
  760. CreateObject(1714, 641.93140, -163.19550, 1000.27643, 0.00000, 0.00000, 90.00000);
  761. CreateObject(2186, 642.14868, -160.67400, 1000.27460, 0.00000, 0.00000, 90.00000);
  762. CreateObject(19825, 663.94232, -167.51730, 1002.87939, 0.00000, 0.00000, 180.00000);
  763. CreateObject(2167, 663.33337, -167.52229, 1000.27661, 0.00000, 0.00000, 180.00000);
  764. CreateObject(2251, 651.18481, -167.37910, 1001.13220, 0.00000, 0.00000, 0.00000);
  765. CreateObject(14680, 651.03918, -174.96581, 1002.29102, 0.00000, 0.00000, 0.00000);
  766. CreateObject(3396, 670.90057, -164.62869, 1000.27728, 0.00000, 0.00000, 0.00000);
  767. CreateObject(3386, 658.82318, -164.46680, 1000.27472, 0.00000, 0.00000, 180.00000);
  768. CreateObject(3387, 658.82373, -161.46890, 1000.27472, 0.00000, 0.00000, 180.00000);
  769. CreateObject(3388, 658.81989, -163.47110, 1000.27472, 0.00000, 0.00000, 180.00000);
  770. CreateObject(3389, 658.81732, -162.47330, 1000.27472, 0.00000, 0.00000, 180.00000);
  771. CreateObject(1671, 669.44928, -164.43900, 1000.73480, 0.00000, 0.00000, 63.36000);
  772. CreateObject(3383, 666.44202, -162.63789, 1000.27600, 0.00000, 0.00000, 90.00000);
  773. CreateObject(3395, 670.90057, -160.84790, 1000.27728, 0.00000, 0.00000, 0.00000);
  774. CreateObject(1997, 659.34290, -165.98320, 1000.27600, 0.00000, 0.00000, -270.00000);
  775. CreateObject(3383, 662.03363, -162.63560, 1000.27600, 0.00000, 0.00000, 270.00000);
  776. CreateObject(1997, 659.35278, -159.79630, 1000.27600, 0.00000, 0.00000, -270.00000);
  777. CreateObject(14604, 667.15552, -167.15840, 1001.27612, 0.00000, 0.00000, 0.00000);
  778. CreateObject(2163, 662.42212, -167.52200, 1000.27722, 0.00000, 0.00000, 180.00000);
  779. CreateObject(2609, 668.74152, -167.21049, 1000.99640, 0.00000, 0.00000, 180.00000);
  780. CreateObject(2609, 668.30151, -167.21049, 1000.99640, 0.00000, 0.00000, 180.00000);
  781. CreateObject(19449, 662.13831, -158.53770, 1002.02429, 0.00000, 0.00000, -90.00000);
  782. CreateObject(19449, 671.77032, -158.53770, 1002.02429, 0.00000, 0.00000, -90.00000);
  783. CreateObject(19449, 671.59070, -161.89030, 1002.02429, 0.00000, 0.00000, 0.00000);
  784. CreateObject(19449, 671.59070, -171.52040, 1002.02429, 0.00000, 0.00000, 0.00000);
  785. CreateObject(19387, 665.29810, -167.63651, 1002.02557, 0.00000, 0.00000, 90.00000);
  786. CreateObject(19449, 671.70837, -167.63600, 1002.02429, 0.00000, 0.00000, 90.00000);
  787. CreateObject(19449, 658.88428, -167.63651, 1002.02429, 0.00000, 0.00000, 90.00000);
  788. CreateObject(19449, 658.22559, -162.89799, 1002.02429, 0.00000, 0.00000, 0.00000);
  789. CreateObject(19377, 674.02631, -162.73470, 1003.82080, 0.00000, 90.00000, 0.00000);
  790. CreateObject(19377, 663.53027, -162.73470, 1003.82080, 0.00000, 90.00000, 0.00000);
  791. CreateObject(19376, 661.19910, -162.29469, 1003.84082, 0.00000, 90.00000, 0.00000);
  792. CreateObject(19445, 653.54639, -162.80161, 1002.02429, 0.00000, 0.00000, 0.00000);
  793. CreateObject(2309, 644.88550, -163.15581, 1000.27582, 0.00000, 0.00000, 90.00000);
  794. CreateObject(19825, 651.07062, -167.51939, 1002.87939, 0.00000, 0.00000, 180.00000);
  795. CreateObject(19448, 649.42590, -182.26340, 1002.01331, 0.00000, 0.00000, 0.00000);
  796. CreateObject(19448, 654.34113, -186.91670, 1002.01331, 0.00000, 0.00000, 90.00000);
  797. CreateObject(19448, 659.09210, -182.34650, 1002.01331, 0.00000, 0.00000, 0.00000);
  798. CreateObject(19453, 673.46698, -177.44070, 1002.02551, 0.00000, 0.00000, -90.00000);
  799. CreateObject(19361, 660.66052, -177.44070, 1002.02429, 0.00000, 0.00000, -90.00000);
  800. CreateObject(19407, 654.25208, -177.44070, 1002.02228, 0.00000, 0.00000, 90.00000);
  801. CreateObject(19361, 657.45050, -177.44070, 1002.02551, 0.00000, 0.00000, -90.00000);
  802. CreateObject(19386, 651.03699, -177.61771, 1002.01331, 0.00000, 0.00000, 90.00000);
  803. CreateObject(19402, 654.25031, -177.61971, 1002.02228, 0.00000, 0.00000, 90.00000);
  804. CreateObject(19356, 657.45789, -177.59100, 1002.01331, 0.00000, 0.00000, 90.96000);
  805. CreateObject(19445, 647.58862, -159.53461, 1002.02429, 0.00000, 0.00000, 0.00000);
  806. CreateObject(19383, 647.62061, -165.94260, 1002.02557, 0.00000, 0.00000, 178.50000);
  807. CreateObject(2251, 644.70349, -167.35229, 1001.13647, 0.00000, 0.00000, 0.00000);
  808. CreateObject(2164, 647.46417, -161.47490, 1000.27740, 0.00000, 0.00000, 270.00000);
  809. CreateObject(2191, 643.51019, -167.04640, 1000.27753, 0.00000, 0.00000, 180.00000);
  810. CreateObject(2309, 644.88550, -162.29581, 1000.27582, 0.00000, 0.00000, 90.00000);
  811. CreateObject(1997, 645.75269, -159.68179, 1000.27789, 0.00000, 0.00000, 0.00000);
  812. CreateObject(1997, 644.03271, -159.68179, 1000.27789, 0.00000, 0.00000, 0.00000);
  813. CreateObject(19172, 641.69348, -162.72440, 1002.79150, 0.00000, 0.00000, 90.00000);
  814. CreateObject(19825, 647.35638, -164.77660, 1002.65942, 0.00000, 0.00000, 270.00000);
  815. CreateObject(2286, 644.73029, -158.64740, 1002.89752, 0.00000, 0.00000, 0.00000);
  816. CreateObject(1491, 647.52460, -166.71899, 1000.25659, 0.00000, 0.00000, 90.00000);
  817. CreateObject(1491, 651.68799, -167.71561, 1000.26660, -0.16000, 0.08000, 0.00000);
  818. CreateObject(1491, 651.78461, -177.51630, 1000.26660, 0.00000, 0.00000, 180.00000);
  819. CreateObject(2167, 649.93909, -167.52530, 1000.27649, 0.00000, 0.00000, 180.00000);
  820. CreateObject(2167, 649.02911, -167.52530, 1000.27649, 0.00000, 0.00000, 180.00000);
  821. CreateObject(2164, 647.71198, -162.96170, 1000.27808, 0.00000, 0.00000, 90.00000);
  822. CreateObject(2008, 651.05878, -160.19501, 1000.27338, 0.00000, 0.00000, 180.00000);
  823. CreateObject(1714, 650.13611, -158.95230, 1000.27643, 0.00000, 0.00000, 0.00000);
  824. CreateObject(2309, 650.08441, -161.85930, 1000.27582, 0.00000, 0.00000, 0.00000);
  825. CreateObject(2309, 651.04437, -161.85930, 1000.27582, 0.00000, 0.00000, 0.00000);
  826. CreateObject(1997, 652.43799, -164.69270, 1000.27789, 0.00000, 0.00000, -90.00000);
  827. CreateObject(1997, 652.43799, -163.03270, 1000.27789, 0.00000, 0.00000, -90.00000);
  828. CreateObject(2186, 648.21759, -159.97260, 1000.27460, 0.00000, 0.00000, 90.00000);
  829. CreateObject(19174, 650.66302, -158.61920, 1002.81140, 0.00000, 0.00000, 0.00000);
  830. CreateObject(2267, 653.43549, -163.69920, 1002.78833, 0.00000, 0.00000, -90.00000);
  831. CreateObject(2186, 648.79779, -185.23489, 1000.27722, 0.00000, 0.00000, -90.00000);
  832. CreateObject(2164, 646.30481, -186.56619, 1000.27539, 0.00000, 0.00000, 180.00000);
  833. CreateObject(2191, 643.08160, -186.06371, 1000.27551, 0.00000, 0.00000, 180.00000);
  834. CreateObject(2773, 643.34723, -173.97580, 1000.78918, 0.00000, 0.00000, 90.00000);
  835. CreateObject(2773, 643.34723, -170.40581, 1000.78918, 0.00000, 0.00000, 90.00000);
  836. CreateObject(19390, 646.06012, -167.81000, 1002.02228, 0.00000, 0.00000, 90.00000);
  837. CreateObject(19361, 649.26501, -167.81000, 1002.02551, 0.00000, 0.00000, -90.00000);
  838. CreateObject(19383, 646.06079, -167.64290, 1002.02557, 0.00000, 0.00000, 90.00000);
  839. CreateObject(19383, 647.44958, -165.93649, 1002.02557, 0.00000, 0.00000, 178.50000);
  840. CreateObject(19353, 649.26898, -167.63651, 1002.02557, 0.00000, 0.00000, 90.00000);
  841. CreateObject(1491, 645.27881, -167.69160, 1000.26660, 0.00000, 0.00000, 0.00000);
  842. CreateObject(2167, 641.71222, -165.24770, 1000.27649, 0.00000, 0.00000, 90.00000);
  843. CreateObject(2191, 652.95178, -160.62390, 1000.27753, 0.00000, 0.00000, 270.00000);
  844. CreateObject(1491, 664.61768, -177.51740, 1000.26660, 0.00000, 0.00000, 180.00000);
  845. CreateObject(1649, 655.40411, -177.52850, 1001.30450, 0.00000, 0.00000, 180.00000);
  846. CreateObject(1302, 657.07172, -186.53081, 1000.27551, 0.00000, 0.00000, 180.00000);
  847. CreateObject(1776, 654.91132, -186.41389, 1001.29547, 0.00000, 0.00000, 180.00000);
  848. CreateObject(1845, 651.68591, -186.27690, 1000.27692, 0.00000, 0.00000, 180.00000);
  849. CreateObject(1968, 650.19769, -183.59200, 1000.79510, 0.00000, 0.00000, 90.00000);
  850. CreateObject(1968, 650.19769, -180.45200, 1000.79510, 0.00000, 0.00000, 90.00000);
  851. CreateObject(1968, 658.31769, -183.59200, 1000.79510, 0.00000, 0.00000, 90.00000);
  852. CreateObject(1968, 658.31769, -180.45200, 1000.79510, 0.00000, 0.00000, 90.00000);
  853. CreateObject(19173, 649.55042, -181.99260, 1002.65588, 0.00000, 0.00000, -90.00000);
  854. CreateObject(15038, 649.85553, -178.13040, 1000.89563, 0.00000, 0.00000, 0.00000);
  855. CreateObject(2269, 657.21600, -178.18100, 1002.23657, 0.00000, 0.00000, 0.00000);
  856. CreateObject(19825, 652.53052, -177.74220, 1002.53943, 0.00000, 0.00000, 0.00000);
  857. CreateObject(19787, 659.05627, -181.99260, 1002.84497, 0.00000, 0.00000, -90.00000);
  858. CreateObject(2222, 650.49860, -183.37880, 1001.13098, 0.00000, 0.00000, 90.00000);
  859. CreateObject(2221, 650.06860, -183.85899, 1001.13141, 0.00000, 0.00000, 90.00000);
  860. CreateObject(2342, 649.83447, -183.31529, 1001.17242, 0.00000, 0.00000, 217.68001);
  861. CreateObject(2221, 658.57361, -180.23421, 1001.12860, 0.00000, 0.00000, 90.00000);
  862. CreateObject(2222, 658.08411, -180.70940, 1001.13141, 0.00000, 0.00000, 90.00000);
  863. CreateObject(2342, 657.92212, -180.31950, 1001.17023, 0.00000, 0.00000, 342.41989);
  864. CreateObject(1649, 655.40411, -177.52850, 1001.30450, 0.00000, 0.00000, 0.00000);
  865. CreateObject(1649, 668.17468, -177.53110, 1001.30450, 0.00000, 0.00000, 0.00000);
  866. CreateObject(2272, 670.99658, -181.08450, 1002.27582, 0.00000, 0.00000, -90.00000);
  867. CreateObject(2275, 670.99579, -184.20740, 1002.27582, 0.00000, 0.00000, -90.00000);
  868. CreateObject(1738, 663.77417, -187.62939, 1000.88721, 0.00000, 0.00000, 0.00000);
  869. CreateObject(2280, 659.70831, -184.20200, 1002.05890, 0.00000, 0.00000, 90.00000);
  870. CreateObject(2281, 659.69281, -181.08900, 1002.05890, 0.00000, 0.00000, 90.00000);
  871. CreateObject(2258, 649.23547, -183.34610, 1002.85248, 0.00000, 0.00000, -90.00000);
  872. CreateObject(2267, 642.16071, -178.77580, 1002.84497, 0.00000, 0.00000, 90.00000);
  873. CreateObject(2284, 642.62402, -184.34610, 1002.52838, 0.00000, 0.00000, 90.00000);
  874. CreateObject(1721, 642.23999, -177.55260, 1000.27490, 0.00000, 0.00000, -90.00000);
  875. CreateObject(15038, 653.92810, -168.30119, 1000.89020, 0.00000, 0.00000, 0.00000);
  876. CreateObject(638, 657.15460, -168.27840, 1000.95959, 0.00000, 0.00000, 90.00000);
  877. CreateObject(19173, 649.24719, -167.90210, 1002.75092, 0.00000, 0.00000, -180.00000);
  878. CreateObject(2271, 654.94330, -168.39600, 1002.45911, 0.00000, 0.00000, 0.00000);
  879. CreateObject(2262, 662.76672, -168.39400, 1002.50537, 0.00000, 0.00000, 0.00000);
  880. CreateObject(638, 660.65912, -168.27840, 1000.95959, 0.00000, 0.00000, 90.00000);
  881. CreateObject(15038, 663.87903, -168.30119, 1000.89020, 0.00000, 0.00000, 0.00000);
  882. CreateObject(630, 662.16937, -177.10190, 1001.30200, 0.00000, 0.00000, 154.02000);
  883. CreateObject(1721, 659.49298, -177.23180, 1000.27490, 0.00000, 0.00000, 0.00000);
  884. CreateObject(1721, 658.85303, -177.23180, 1000.27490, 0.00000, 0.00000, 0.00000);
  885. CreateObject(1721, 658.21301, -177.23180, 1000.27490, 0.00000, 0.00000, 0.00000);
  886. CreateObject(630, 652.33691, -177.10190, 1001.30200, 0.00000, 0.00000, 154.02000);
  887. CreateObject(1721, 657.57300, -177.23180, 1000.27490, 0.00000, 0.00000, 0.00000);
  888. CreateObject(2276, 660.62543, -176.86230, 1002.45392, 0.00000, 0.00000, 180.00000);
  889. CreateObject(1721, 656.95300, -177.23180, 1000.27490, 0.00000, 0.00000, 0.00000);
  890. CreateObject(2264, 655.98767, -176.85820, 1002.45392, 0.00000, 0.00000, 180.00000);
  891. CreateObject(19172, 671.47839, -172.73039, 1002.88232, 0.00000, 0.00000, -90.00000);
  892. CreateObject(19967, 666.86108, -167.87790, 999.88831, 0.00000, 0.00000, 0.00000);
  893. CreateObject(14680, 660.63318, -174.96581, 1002.29102, 0.00000, 0.00000, 0.00000);
  894. CreateObject(14680, 643.23669, -183.15005, 1002.29102, 0.00000, 0.00000, -90.00000);
  895. CreateObject(1616, 642.48370, -170.15370, 1003.27667, 0.00000, 0.00000, -192.54021);
  896. CreateObject(19376, 247.74, 1783.13, 700.00, 0.00, 90.00, 0.00);
  897. CreateObject(19376, 258.24, 1783.14, 700.00, 0.00, 90.00, 0.00);
  898. CreateObject(19376, 247.74, 1773.55, 700.00, 0.00, 90.00, 0.00);
  899. CreateObject(19376, 258.23, 1773.55, 700.00, 0.00, 90.00, 0.00);
  900. CreateObject(19450, 250.44, 1784.44, 701.65, 0.00, 0.00, 90.00);
  901. CreateObject(19450, 245.63, 1779.94, 701.65, 0.00, 0.00, 0.00);
  902. CreateObject(19450, 253.91, 1780.12, 701.65, 0.00, 0.00, 0.00);
  903. CreateObject(19450, 253.03, 1775.84, 701.65, 0.00, 0.00, 90.00);
  904. CreateObject(19404, 252.33, 1778.41, 701.65, 0.00, 0.00, 90.00);
  905. CreateObject(19388, 249.65, 1777.30, 701.65, 0.00, 0.00, -45.00);
  906. CreateObject(19388, 246.66, 1775.84, 701.65, 0.00, 0.00, 90.00);
  907. CreateObject(19466, 252.38, 1778.39, 702.43, 0.00, 0.00, 90.00);
  908. CreateObject(1502, 249.13, 1776.76, 699.95, 0.00, 0.00, 45.00);
  909. CreateObject(2165, 251.81, 1777.85, 700.09, 0.00, 0.00, 0.00);
  910. CreateObject(19358, 248.54, 1774.62, 701.65, 0.00, 0.00, 0.00);
  911. CreateObject(1714, 252.63, 1777.00, 700.09, 0.00, 0.00, 230.00);
  912. CreateObject(2007, 253.70, 1776.70, 700.01, 0.00, 0.00, -90.00);
  913. CreateObject(1961, 250.82, 1775.97, 701.86, 0.00, 0.00, 0.00);
  914. CreateObject(1962, 251.55, 1775.97, 701.86, 0.00, 0.00, 0.00);
  915. CreateObject(1960, 252.27, 1775.97, 701.86, 0.00, 0.00, 0.00);
  916. CreateObject(1569, 247.05, 1784.39, 700.02, 0.00, 0.00, 0.00);
  917. CreateObject(1569, 250.03, 1784.39, 700.02, 0.00, 0.00, 180.00);
  918. CreateObject(1703, 251.10, 1783.84, 700.09, 0.00, 0.00, 0.00);
  919. CreateObject(1703, 246.23, 1779.16, 700.09, 0.00, 0.00, 90.00);
  920. CreateObject(2315, 247.52, 1779.46, 700.09, 0.00, 0.00, 90.00);
  921. CreateObject(2315, 251.39, 1782.50, 700.09, 0.00, 0.00, 0.00);
  922. CreateObject(2250, 251.42, 1782.51, 701.03, 0.00, 0.00, 0.00);
  923. CreateObject(2250, 247.52, 1780.31, 701.03, 0.00, 0.00, 90.00);
  924. CreateObject(2852, 252.61, 1782.49, 700.58, 0.00, 0.00, 90.00);
  925. CreateObject(2894, 247.42, 1779.67, 700.58, 0.00, 0.00, 39.00);
  926. CreateObject(2011, 246.21, 1783.97, 700.09, 0.00, 0.00, 0.00);
  927. CreateObject(2011, 253.24, 1779.07, 700.09, 0.00, 0.00, 0.00);
  928. CreateObject(1502, 245.88, 1775.81, 699.95, 0.00, 0.00, 0.00);
  929. CreateObject(19450, 245.63, 1770.30, 701.65, 0.00, 0.00, 0.00);
  930. CreateObject(19358, 250.13, 1773.12, 701.65, 0.00, 0.00, 90.40);
  931. CreateObject(19388, 252.80, 1774.23, 701.65, 0.00, 0.00, -45.00);
  932. CreateObject(1502, 252.29, 1773.69, 699.95, 0.00, 0.00, 45.00);
  933. CreateObject(1265, 250.63, 1775.49, 700.16, 0.00, 0.00, 0.00);
  934. CreateObject(1265, 250.35, 1774.87, 700.16, 0.00, 0.00, 0.00);
  935. CreateObject(1778, 253.53, 1775.81, 700.09, 0.00, 0.00, 0.00);
  936. CreateObject(2712, 253.57, 1775.32, 700.68, 0.00, 0.00, 0.00);
  937. CreateObject(1221, 249.31, 1773.68, 700.09, 0.00, 0.00, 0.00);
  938. CreateObject(1221, 250.27, 1773.94, 700.38, 0.00, 0.00, 0.00);
  939. CreateObject(1221, 249.56, 1775.12, 700.38, 0.00, 0.00, 0.00);
  940. CreateObject(1265, 249.18, 1774.36, 700.16, 0.00, 0.00, 0.00);
  941. CreateObject(19450, 249.18, 1768.98, 701.65, 0.00, 0.00, 90.00);
  942. CreateObject(1705, 246.30, 1770.17, 700.09, 0.00, 0.00, 90.00);
  943. CreateObject(1705, 247.85, 1769.63, 700.09, 0.00, 0.00, 180.00);
  944. CreateObject(1705, 251.83, 1769.63, 700.09, 0.00, 0.00, 180.00);
  945. CreateObject(2315, 248.60, 1769.55, 700.09, 0.00, 0.00, 0.00);
  946. CreateObject(2855, 248.78, 1769.55, 700.58, 0.00, 0.00, 0.00);
  947. CreateObject(2251, 249.67, 1769.36, 701.41, 0.00, 0.00, 0.00);
  948. CreateObject(1667, 249.91, 1769.75, 700.69, 0.00, 0.00, 0.00);
  949. CreateObject(1667, 250.08, 1769.65, 700.69, 0.00, 0.00, 0.00);
  950. CreateObject(2817, 248.02, 1783.18, 700.08, 0.00, 0.00, 0.00);
  951. CreateObject(19450, 254.81, 1780.65, 701.65, 0.00, 0.00, 0.00);
  952. CreateObject(14393, 255.23, 1759.95, 702.32, 0.00, 0.00, 90.00);
  953. CreateObject(19450, 261.73, 1768.98, 701.65, 0.00, 0.00, 90.00);
  954. CreateObject(19450, 249.19, 1768.83, 701.65, 0.00, 0.00, 90.00);
  955. CreateObject(19388, 255.31, 1768.98, 701.65, 0.00, 0.00, 90.00);
  956. CreateObject(19388, 255.31, 1768.83, 701.65, 0.00, 0.00, 90.00);
  957. CreateObject(19450, 261.73, 1768.83, 701.65, 0.00, 0.00, 90.00);
  958. CreateObject(14391, 256.13, 1760.86, 701.05, 0.00, 0.00, 90.00);
  959. CreateObject(1705, 257.11, 1767.64, 700.09, 0.00, 0.00, 0.00);
  960. CreateObject(1705, 258.68, 1767.02, 700.09, 0.00, 0.00, -90.00);
  961. CreateObject(2332, 259.63, 1764.36, 700.38, 0.00, 0.00, -90.00);
  962. CreateObject(638, 254.72, 1765.20, 701.43, 0.00, 0.00, 90.00);
  963. CreateObject(638, 258.07, 1765.20, 701.43, 0.00, 0.00, 90.00);
  964. CreateObject(2894, 256.40, 1765.18, 701.10, 0.00, 0.00, 80.00);
  965. CreateObject(1714, 257.11, 1762.81, 700.10, 0.00, 0.00, -45.00);
  966. CreateObject(1714, 254.18, 1762.77, 700.10, 0.00, 0.00, 0.00);
  967. CreateObject(1502, 251.40, 1759.68, 699.95, 0.00, 0.00, 0.00);
  968. CreateObject(2395, 250.95, 1759.82, 700.10, 0.00, 0.00, 180.00);
  969. CreateObject(2395, 252.48, 1759.82, 702.46, 0.00, 0.00, 180.00);
  970. CreateObject(2395, 249.79, 1759.59, 702.46, 0.00, 0.00, 0.00);
  971. CreateObject(2395, 248.19, 1759.58, 700.10, 0.00, 0.00, 0.00);
  972. CreateObject(1704, 254.31, 1753.90, 700.09, 0.00, 0.00, 135.00);
  973. CreateObject(1704, 256.22, 1754.49, 700.09, 0.00, 0.00, -135.00);
  974. CreateObject(1815, 254.42, 1754.73, 700.09, 0.00, 0.00, 0.00);
  975. CreateObject(2247, 254.89, 1755.32, 700.99, 0.00, 0.00, 0.00);
  976. CreateObject(2010, 253.33, 1754.95, 700.10, 0.00, 0.00, 0.00);
  977. CreateObject(2010, 256.59, 1754.91, 700.10, 0.00, 0.00, 0.00);
  978. CreateObject(19466, 253.95, 1759.95, 701.92, 0.00, 0.00, 90.00);
  979. CreateObject(19466, 256.17, 1759.95, 701.92, 0.00, 0.00, 90.00);
  980. CreateObject(19466, 258.40, 1759.95, 701.92, 0.00, 0.00, 90.00);
  981. CreateObject(19376, 259.00, 1763.90, 699.99, 0.00, 90.00, 0.00);
  982. CreateObject(1502, 254.53, 1768.96, 699.95, 0.00, 0.00, 0.00);
  983. CreateObject(19450, 262.61, 1772.18, 701.65, 0.00, 0.00, -45.00);
  984. CreateObject(19450, 263.67, 1770.76, 701.65, 0.00, 0.00, 0.00);
  985. CreateObject(19450, 257.75, 1783.82, 701.65, 0.00, 0.00, 0.00);
  986. CreateObject(19388, 257.75, 1777.43, 701.65, 0.00, 0.00, 0.00);
  987. CreateObject(19388, 259.37, 1782.08, 701.65, 0.00, 0.00, 90.00);
  988. CreateObject(19388, 265.76, 1782.08, 701.65, 0.00, 0.00, 90.00);
  989. CreateObject(19450, 268.40, 1775.63, 701.65, 0.00, 0.00, 90.00);
  990. CreateObject(19358, 256.17, 1781.31, 701.65, 0.00, 0.00, 90.00);
  991. CreateObject(2606, 256.21, 1781.15, 702.56, 13.50, 0.00, 0.00);
  992. CreateObject(2165, 255.78, 1780.60, 700.09, 0.00, 0.00, 0.00);
  993. CreateObject(1806, 256.45, 1779.59, 700.09, 0.00, 0.00, 0.00);
  994. CreateObject(2078, 255.16, 1777.82, 700.11, 0.00, 0.00, 90.00);
  995. CreateObject(2462, 257.00, 1776.04, 700.26, 0.00, 0.00, 180.00);
  996. CreateObject(19418, 257.25, 1776.20, 701.06, 90.00, 90.00, 90.00);
  997. CreateObject(19418, 256.93, 1776.10, 701.06, 90.00, 90.00, 324233.00);
  998. CreateObject(19418, 257.04, 1776.30, 701.06, 90.00, 90.00, 342.00);
  999. CreateObject(334, 257.00, 1776.08, 701.41, 90.00, 0.00, 90.00);
  1000. CreateObject(2037, 257.28, 1776.14, 701.81, 0.00, 0.00, 180.00);
  1001. CreateObject(348, 256.86, 1776.16, 701.77, 90.00, 0.00, 45.00);
  1002. CreateObject(19376, 268.68, 1783.12, 700.00, 0.00, 90.00, 0.00);
  1003. CreateObject(19376, 268.71, 1773.53, 700.00, 0.00, 90.00, 0.00);
  1004. CreateObject(19450, 262.09, 1787.45, 701.65, 0.00, 0.00, 90.00);
  1005. CreateObject(19450, 269.72, 1784.41, 701.65, 0.00, 0.00, 45.00);
  1006. CreateObject(19450, 269.61, 1780.36, 701.65, 0.00, 0.00, 0.00);
  1007. CreateObject(19450, 272.15, 1782.08, 701.65, 0.00, 0.00, 90.00);
  1008. CreateObject(19358, 262.57, 1782.08, 701.65, 0.00, 0.00, 90.00);
  1009. CreateObject(19450, 262.68, 1786.88, 701.65, 0.00, 0.00, 0.00);
  1010. CreateObject(1702, 261.93, 1772.37, 700.08, 0.00, 0.00, 225.00);
  1011. CreateObject(2315, 259.75, 1772.14, 700.09, 0.00, 0.00, 45.00);
  1012. CreateObject(2315, 266.10, 1777.95, 700.09, 0.00, 0.00, 45.00);
  1013. CreateObject(1702, 268.89, 1779.58, 700.08, 0.00, 0.00, 270.00);
  1014. CreateObject(1702, 267.63, 1776.33, 700.08, 0.00, 0.00, 180.00);
  1015. CreateObject(2251, 260.10, 1772.71, 701.41, 0.00, 0.00, 0.00);
  1016. CreateObject(2251, 266.94, 1779.01, 701.41, 0.00, 0.00, 0.00);
  1017. CreateObject(1667, 260.76, 1772.73, 700.69, 0.00, 0.00, 0.00);
  1018. CreateObject(1667, 266.26, 1777.77, 700.69, 0.00, 0.00, 0.00);
  1019. CreateObject(1667, 266.34, 1777.86, 700.69, 0.00, 0.00, 0.00);
  1020. CreateObject(1667, 266.20, 1777.88, 700.69, 0.00, 0.00, 0.00);
  1021. CreateObject(1502, 258.59, 1782.06, 699.95, 0.00, 0.00, 0.00);
  1022. CreateObject(1502, 264.98, 1782.06, 699.95, 0.00, 0.00, 0.00);
  1023. CreateObject(2207, 265.49, 1785.14, 700.09, 0.00, 0.00, -45.00);
  1024. CreateObject(1714, 267.29, 1785.67, 700.10, 0.00, 0.00, -45.00);
  1025. CreateObject(330, 266.98, 1784.24, 700.86, 90.00, 0.00, 90.00);
  1026. CreateObject(2894, 265.87, 1785.33, 700.86, 0.00, 0.00, 0.00);
  1027. CreateObject(2608, 263.00, 1785.07, 701.21, 0.00, 0.00, 90.00);
  1028. CreateObject(1962, 267.85, 1786.13, 701.86, 0.00, 0.00, -45.00);
  1029. CreateObject(2185, 258.67, 1785.35, 700.09, 0.00, 0.00, 0.00);
  1030. CreateObject(1714, 260.03, 1786.60, 700.10, 0.00, 0.00, -45.00);
  1031. CreateObject(1704, 260.02, 1783.92, 700.09, 0.00, 0.00, 180.00);
  1032. CreateObject(2078, 262.38, 1784.88, 700.11, 0.00, 0.00, -90.00);
  1033. CreateObject(2007, 257.95, 1786.74, 700.01, 0.00, 0.00, 90.00);
  1034. CreateObject(1569, 257.81, 1776.73, 700.02, 0.00, 0.00, 45.00);
  1035. CreateObject(2886, 257.82, 1778.48, 701.44, 0.00, 0.00, 90.00);
  1036. CreateObject(2886, 257.82, 1778.51, 701.44, 0.00, 0.00, -90.00);
  1037. CreateObject(2886, 257.71, 1778.48, 701.44, 0.00, 0.00, -90.00);
  1038. CreateObject(19378, 247.74, 1783.13, 703.43, 0.00, 90.00, 0.00);
  1039. CreateObject(19378, 247.74, 1773.55, 703.43, 0.00, 90.00, 0.00);
  1040. CreateObject(19378, 258.23, 1773.55, 703.43, 0.00, 90.00, 0.00);
  1041. CreateObject(19378, 268.68, 1783.12, 703.43, 0.00, 90.00, 0.00);
  1042. CreateObject(19378, 268.71, 1773.53, 703.43, 0.00, 90.00, 0.00);
  1043. CreateObject(19378, 258.24, 1783.14, 703.43, 0.00, 90.00, 0.00);
  1044. Create3DTextLabel("{FFFFFF}El Quebrados Sheriff's Departament", -1, -1390.0115, 2638.8416, 55.9844, 50.00, 0, 0);
  1045. Create3DTextLabel("{FFFFFF}Iesire[EXIT]", -1, 1866.3854,1217.4387,18.0986, 20.00, 0, 0);
  1046. Create3DTextLabel("{FFFFFF}El Quebrados Medical Center", -1, -1514.5566,2520.1011,55.9629, 20.00, 0, 0);
  1047. Create3DTextLabel("{FFFFFF}Iesire[EXIT]", -1, 642.9769,-172.3768,1001.2758, 20.00, 0, 0);
  1048. Create3DTextLabel("{FFFFFF}El Quebrados News", -1, -1531.0065,2591.9971,55.8359, 20.00, 0, 0);
  1049. Create3DTextLabel("{FFFFFF}Iesire[EXIT]", -1, 248.6405,1783.9126,701.0859, 20.00, 0, 0);
  1050. ManualVehicleEngineAndLights();
  1051. return 1;
  1052. }
  1053.  
  1054. public OnGameModeExit()
  1055. {
  1056. DB::Exit();
  1057. return 1;
  1058. }
  1059.  
  1060. public OnPlayerRequestClass(playerid, classid)
  1061. {
  1062. SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
  1063. return 1;
  1064. }
  1065.  
  1066. public OnPlayerConnect(playerid)
  1067. {
  1068. incercari[playerid] = 0;
  1069. new nume[MAX_PLAYER_NAME];
  1070. GetPlayerName(playerid, nume, MAX_PLAYER_NAME);
  1071.  
  1072. DB::Fetch("Utilizatori", _, _, _, "`Nume` = '%q'", name);
  1073. if (fetch_rows_count() > 0)
  1074. {
  1075. PlayerInfo[playerid][E_ACCOUNT_SQLID] = fetch_row_id();
  1076. fetch_string("Password", PlayerInfo[playerid][E_ACCOUNT_PASSWORD], 64);
  1077. PlayerInfo[playerid][pKills] = fetch_int("Kills");
  1078. PlayerInfo[playerid][pDeaths] = fetch_int("Deaths");
  1079. PlayerInfo[playerid][pCash] = fetch_int("Bani");
  1080. PlayerInfo[playerid][pDeveloper] = fetch_int("Developer");
  1081. PlayerInfo[playerid][pTester] = fetch_int("Tester");
  1082. PlayerInfo[playerid][pAdmin] = fetch_int("Admin");
  1083. PlayerInfo[playerid][pLeader] = fetch_int("Lider");
  1084. FactionInfo[playerid][fRank] = fetch_int("Rank");
  1085.  
  1086. Dialog_Show(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FF6633}MAIN-ROLEPLAY", "{FFFFFF}Bine ai revenit pe server. Te rog introdu-ti parola mai jos pentru a te loga.", "JOIN", "IESI");
  1087. }
  1088. else
  1089. {
  1090. PlayerInfo[playerid][pSQLID] = -1;
  1091. PlayerInfo[playerid][pPass][0] = EOS;
  1092. PlayerInfo[playerid][pKills] = 0;
  1093. PlayerInfo[playerid][pDeaths] = 0;
  1094. PlayerInfo[playerid][pCash] = 0;
  1095. PlayerInfo[playerid][pDeveloper] = 0;
  1096. PlayerInfo[playerid][pTester] = 0;
  1097. PlayerInfo[playerid][pAdmin] = 0;
  1098. PlayerInfo[playerid][pLeader] = 0;
  1099. FactionInfo[playerid][fRank] = 0;
  1100.  
  1101. Dialog_Show(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "{FF6633}MAIN-ROLEPLAY", "{FFFFFF}Bine ai venit pe server! Te rog introdu-ti parola mai jos pentru a continua.", "JOIN", "IESI");
  1102. }
  1103.  
  1104. fetcher_close();
  1105. return 1;
  1106.  
  1107. RemoveBuildingForPlayer(playerid, 8489, 1932.7813, 1177.3984, 39.9219, 0.25);
  1108. RemoveBuildingForPlayer(playerid, 8700, 1932.7813, 1177.3984, 39.9219, 0.25);
  1109. RemoveBuildingForPlayer(playerid, 9121, 1944.8047, 1183.9141, 18.9531, 0.25);
  1110. return 1;
  1111. }
  1112.  
  1113. public OnPlayerDisconnect(playerid, reason)
  1114. {
  1115. DB::Update("Utilizatori", PlayerInfo[playerid][pSQLID], 1,
  1116. "Kills", INTEGER, PlayerInfo[playerid][pKills],
  1117. "Deaths", INTEGER, PlayerInfo[playerid][pDeaths],
  1118. "Developer", INTEGER, PlayerInfo[playerid][pDeveloper],
  1119. "Bani", INTEGER, GetPlayerMoney(playerid),
  1120. "Admin", INTEGER, PlayerInfo[playerid][pAdmin],
  1121. "Tester", INTEGER, PlayerInfo[playerid][pTester],
  1122. "Factiune", INTEGER, PlayerInfo[playerid][pFaction],
  1123. "Rank", INTEGER, FactionInfo[playerid][fRank],
  1124. "Lider", INTEGER, PlayerInfo[playerid][pLeader]);
  1125. return 1;
  1126. /*if(pInfo[playerid][DT] = 1)
  1127. {
  1128. new playerName[MAX_PLAYER_NAME];
  1129. new szString[64];
  1130. GetPlayerName(playerid, playerName, MAX_PLAYER_NAME);
  1131. BanExWithMessage(playerid, 0xFF0000FF, "Ai fost banat 3 zile pentru /q in DT.", "/q in DT");
  1132. format(szString, sizeof szString, "%s a iesit de pe server [/q in DT detectat].", playerName);
  1133. ProxDetector(50.0, playerid, string[], COL_WHITE,COL_WHITE,COL_WHITE,COL_WHITE,COL_WHITE);
  1134. format(szString, sizeof szString, "%s a fost banat pentru 3 zile de catre SERVER. Motiv: /q in DT.", playerName);
  1135. SendClientMessageToAll(0xFF0000, sZstring);
  1136. }*/
  1137. return 1;
  1138. }
  1139.  
  1140. public OnPlayerSpawn(playerid)
  1141. {
  1142. TextDrawHideForPlayer(playerid, spawntextdraw);
  1143. if(PlayerInfo[playerid][ADT] == 1)
  1144. {
  1145. SetPlayerPos(playerid, 670.1275,-185.6758,1001.9141);
  1146. SendClientMessage(playerid, -1, "{FFFFFF}TE RECUPEREZI...");
  1147. TogglePlayerControllable(playerid, false);
  1148. SetTimer("recuperare", 6000, false);
  1149. PlayerInfo[playerid][ADT] = 0;
  1150. }
  1151. else
  1152. {
  1153. SetPlayerPos(playerid, -1534.6560,2645.2664,55.8359);
  1154. }
  1155. return 1;
  1156. }
  1157.  
  1158. public OnPlayerCommandPerformed(playerid, cmdtext[], success)
  1159. {
  1160. if(!success) SendClientMessage(playerid, COLOR_PURPLE, ""SERVER_NAME": {FFFFFF}Comanda necunoscuta. Foloseste [/help] pentru comenzi.");
  1161. return 1;
  1162. }
  1163.  
  1164. public OnPlayerDeath(playerid, killerid, reason)
  1165. {
  1166. PlayerInfo[playerid][pDeaths]++; // increase player's deaths count
  1167.  
  1168. if (killerid != INVALID_PLAYER_ID)
  1169. PlayerInfo[killerid][pKills]++; // increase killer's kills count if the id is of a connected player
  1170.  
  1171. PlayerInfo[playerid][ADT] = 1;
  1172. return 1;
  1173. }
  1174.  
  1175. public OnVehicleSpawn(vehicleid)
  1176. {
  1177. Engine[vehicleid] = 0;
  1178. Lights[vehicleid] = 0;
  1179. return 1;
  1180. }
  1181.  
  1182. public OnVehicleDeath(vehicleid, killerid)
  1183. {
  1184. return 1;
  1185. }
  1186.  
  1187. public OnPlayerText(playerid, text[])
  1188. {
  1189. new nume[MAX_PLAYER_NAME];
  1190. GetPlayerName(playerid, nume, MAX_PLAYER_NAME);
  1191. /*if(strfind(text, "?", true) != -1)
  1192. {
  1193. new msg[128];
  1194. format(msg, sizeof(msg), "{FFFFFF}%s intreaba: %s", nume, text);
  1195. ProxDetector(50.0, playerid, msg, -1,-1,-1,-1,-1);
  1196. }
  1197. if(strfind(text, "!", true) != -1)
  1198. {
  1199. new msg[128];
  1200. format(msg, sizeof(msg), "{FFFFFF}%s striga: %s", nume, text);
  1201. ProxDetector(50.0, playerid, msg, -1,-1,-1,-1,-1);
  1202. }*/
  1203. new msg[128];
  1204. format(msg, sizeof(msg), "{FFFFFF}%s spune: %s", nume, text);
  1205. ProxDetector(50.0, playerid, msg, -1,-1,-1,-1,-1);
  1206. return 0;
  1207. }
  1208.  
  1209. CMD:acceptdeath(playerid, params[]) {
  1210. if(PlayerInfo[playerid][DT] != 1)
  1211. return SendClientMessage(playerid, -1, "Nu esti in deathtimer!");
  1212. if(PlayerInfo[playerid][DTT] != 1) return SendClientMessage(playerid, -1, "Nu au trecut 120 secunde!");
  1213. SetPlayerPos(playerid,317.2694,54.9657,3.3750);
  1214. SendClientMessage(playerid, COLOR_PURPLE, " ?: {FFFFFF}Un medic care nu era la datorie te-a gasit si te-a dus la el acasa.");
  1215. SendClientMessage(playerid, COLOR_PURPLE, " ?: {FFFFFF}Acolo ti-a oferit primul ajutor iar acum te simti bine!");
  1216. TogglePlayerControllable(playerid, 1);
  1217. PlayerInfo[playerid][DT] = 0;
  1218. PlayerInfo[playerid][ADT] = 1;
  1219. return 1;
  1220. }
  1221.  
  1222. CMD:changepass(playerid, params[])
  1223. {
  1224. new password[64];
  1225. if (sscanf(params, "s[64]", password))
  1226. return SendClientMessage(playerid, 0xFFFFFFFF, "Usage: /changepass [parola noua]");
  1227.  
  1228. // check password's length
  1229. new len = strlen(password);
  1230. if (len > MAX_PASSWORD_LENGTH || len < MIN_PASSWORD_LENGTH)
  1231. {
  1232. new str[150];
  1233. format(str, sizeof (str), "Parola invalida. Caractele sunt intre %i si %i.", MIN_PASSWORD_LENGTH, MAX_PASSWORD_LENGTH);
  1234. return SendClientMessage(playerid, 0xFFFFFFFF, str);
  1235. }
  1236.  
  1237. // hashing the password
  1238. SHA256_PassHash(password, PASSWORD_SALT, p_Account[playerid][E_ACCOUNT_PASSWORD], 64);
  1239.  
  1240. // update player's password
  1241. DB::Update("Utilizatori", PlayerInfo[playerid][pSQLID], 1,
  1242. "Parola", STRING, PlayerInfo[playerid][pPass]);
  1243.  
  1244. return SendClientMessage(playerid, 0xFFFFFFFF, "Parola schimbata!");
  1245. }
  1246.  
  1247. CMD:fkick(playerid,params[])
  1248. {
  1249. if(PlayerInfo[playerid][pAdmin] >= 6)//Replace this with your player variable
  1250. {
  1251. new targetid;//establishes a person on the server to use the command on
  1252. if(sscanf(params, "u", targetid)) return SendClientMessage(playerid, COLOR_RED, "/fackick [id]");//tells you how to use the command if you use it incorrectly
  1253. if(targetid != INVALID_PLAYER_ID)//checks if the id you type in is an id that is not connected to the server
  1254. {
  1255. PlayerInfo[targetid][pFaction] = 0; //kicks the player from his faction
  1256. FactionInfo[targetid][fRank] = 0;//sets his rank to 0
  1257. PlayerInfo[targetid][pLeader] = 0;// revokes his leadership status
  1258. SendClientMessage(targetid,COLOR_CYAN,"Ai fost dat afara din factiunea ta, de catre un administrator!");//tells them they have been kicked out of their faction by an admin.
  1259. }
  1260. }
  1261. else//if they arent an admin then it will send them they message below telling them they may not use the command
  1262. {
  1263. SendClientMessage(playerid, COLOR_RED, "Nu esti autorizat.");
  1264. }
  1265. return 1;
  1266. }
  1267.  
  1268. CMD:setleader(playerid, params[])
  1269. {
  1270. if(PlayerInfo[playerid][pAdmin] >= 6) //Replace this with your player variable
  1271. {
  1272. new targetid, facid;//establishes a player and a faction id, to be typed in
  1273. if(sscanf(params,"ui",targetid, facid)) return SendClientMessage(playerid, COLOR_RED,"/makeleader [id][Faction id]");//if the command is misused it will tell them the correct way to use it
  1274. if(targetid != INVALID_PLAYER_ID)//checks if the id you type in is an id that is not connected to the server
  1275. {
  1276. new string[128];
  1277. PlayerInfo[targetid][pFaction] = facid; //sets the players faction to the faction you choose
  1278. PlayerInfo[targetid][fRank] = 1;//sets their rank to the highest rank
  1279. PlayerInfo[targetid][pLeader] = facid;
  1280. if(facid == 1)//checks if the factionid typed was 1, and tells them they are the leader of the police below
  1281. {
  1282. SendClientMessage(targetid,COLOR_CYAN,"ACUM ESTI LIDER P(olice)D(epartament).");
  1283. }
  1284. else if(facid == 2)
  1285. {
  1286. SendClientMessage(targetid,COLOR_CYAN,"ACUM ESTI LIDER M(edical)S(ervices).");
  1287. }
  1288. else if(facid == 3)
  1289. {
  1290. SendClientMessage(playerid, COLOR_CYAN,"ACUM ESTI PRIMAR: E(l)Q(uebrados)G(overnor)");
  1291. }
  1292. else
  1293. {
  1294. format(string, sizeof(string), "NEW FACTION LEADER ID: %s, felicitari!", PlayerInfo[targetid][pFaction]);
  1295. SendClientMessage(targetid, COLOR_CYAN, string);//sets their leadership to the id of the faction
  1296. }
  1297. }
  1298. }
  1299. else //if the player is not an admin it will show the below message telling them they are not an admin.
  1300. {
  1301. SendClientMessage(playerid, COLOR_RED, "Nu esti autorizat.");
  1302. }
  1303. return 1;
  1304. }
  1305.  
  1306. CMD:finvite(playerid, params[])
  1307. {
  1308. if(PlayerInfo[playerid][pLeader] > 0 || FactionInfo[playerid][fRank] == 2)
  1309. {
  1310. new tarid, facid;
  1311. new string[128];
  1312. if(sscanf(params, "u", tarid)) return SendClientMessage(playerid, COLOR_RED, "> !: /invite [playerid]");
  1313. facid = PlayerInfo[playerid][pFaction];
  1314. SetPVarInt(tarid, "invitefac", facid);
  1315. format(string, sizeof(string), "Ai fost invitat in factiunea cu id-ul %s. Pentru a te alatura, /acceptfaction.", PlayerInfo[playerid][pFaction]);
  1316. SendClientMessage(tarid, COLOR_CYAN, string);
  1317. }
  1318. else
  1319. {
  1320. SendClientMessage(playerid, COLOR_RED, "Nu ai autoritate necesara.");
  1321. }
  1322. return 1;
  1323. }
  1324. CMD:acceptinvite(playerid, params[])
  1325. {
  1326.  
  1327. new facid, string[128];
  1328. facid = GetPVarInt(playerid, "invitefac");
  1329. PlayerInfo[playerid][pFaction] = facid;
  1330. if(PlayerInfo[playerid][pFaction] == 1)
  1331. {
  1332. FactionInfo[playerid][fRank] = 14;
  1333. }
  1334. else if(PlayerInfo[playerid][pFaction] == 2)
  1335. {
  1336. FactionInfo[playerid][fRank] = 15;
  1337. }
  1338. else if(PlayerInfo[playerid][pFaction] == 3)
  1339. {
  1340. FactionInfo[playerid][fRank] = 2;
  1341. }
  1342. format(string, sizeof(string), "> Ai acceptat invitatia factiunii %d.", facid);//tells the player they have accepted the faction invite
  1343. SendClientMessage(playerid, COLOR_CYAN, string);//shows the above message in the color of CYAN
  1344. DeletePVar(playerid, "invitefac");//deletes the saved invite
  1345. return 1;
  1346. }
  1347. CMD:uninvite(playerid,params[])
  1348. {
  1349. if(PlayerInfo[playerid][pLeader] > 0 || FactionInfo[playerid][fRank] == 2)
  1350. {
  1351. new targetid;
  1352. if(sscanf(params, "u", targetid)) return SendClientMessage(playerid, COLOR_RED, "/copuninvite [id]");//if the command is not typed correctly it will display how to do it the right way.
  1353. if(targetid != INVALID_PLAYER_ID)
  1354. {
  1355. PlayerInfo[targetid][pFaction] = 0;
  1356. PlayerInfo[targetid][fRank] = 0;
  1357. PlayerInfo[targetid][pLeader] = 0;
  1358. SendClientMessage(targetid,COLOR_CYAN,"Ai fost scos din factiune.");//states you've been kicked from the faction to the player the command is used on.
  1359. }
  1360. }
  1361. else
  1362. {
  1363. SendClientMessage(playerid, COLOR_RED, "Nu esti in factiune/Nu ai rankul necesar!");
  1364. }
  1365. return 1;
  1366. }
  1367.  
  1368. CMD:giverank(playerid, params[])
  1369. {
  1370. if(PlayerInfo[playerid][pLeader] > 0 || FactionInfo[playerid][fRank] == 2)//checks if the player is high enough rank
  1371. {
  1372. new targetid, rank, string[128];//establishes a player to use the command on, the rank you want to set, and some words to tell the players the actions used on them.
  1373. if(sscanf(params, "ui", targetid, rank)) return SendClientMessage(playerid, COLOR_RED, "Usage: /giverank [playerid][rank]");//checks if the command was typed correctly
  1374. if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, COLOR_RED, "Playerul nu este conectat.");//if the player id typed is not connected it will state that to you.
  1375. if(PlayerInfo[targetid][pFaction] != PlayerInfo[playerid][pFaction]) return SendClientMessage(playerid, COLOR_RED, "Playerul selectat nu este in factiunea ta!");//if the player is not in the same faction it will not let him set the rank.
  1376. if(PlayerInfo[playerid][pFaction] == 1)
  1377. {
  1378. if(rank < 2 || rank > 17)
  1379. {
  1380. SendClientMessage(playerid, COLOR_RED,"Rank-urile trebuie sa fie de la 2 la 16");
  1381. SendClientMessage(playerid, COLOR_RED,"Rank 15 reprezinta membru academie, iar 16 suspendat.");
  1382. return 1;
  1383. }
  1384. }
  1385. else if(PlayerInfo[playerid][pFaction] == 2)
  1386. {
  1387. if(rank < 2 || rank > 17)
  1388. {
  1389. SendClientMessage(playerid, COLOR_RED,"Rank-urile trebuie sa fie de la 2 la 17.");
  1390. SendClientMessage(playerid, COLOR_RED,"Rank 16 reprezinta un membru academie, iar 17 suspendat.");
  1391. }
  1392. }
  1393. else if(PlayerInfo[playerid][pFaction] == 3)
  1394. {
  1395. if(rank < 2 || rank > 2)
  1396. {
  1397. SendClientMessage(playerid, COLOR_RED,"Nu detii dreptul de a da rank-uri.");
  1398. SendClientMessage(playerid, COLOR_RED,"Rank 2 este intotdeauna un administrator.");
  1399. }
  1400. }
  1401. PlayerInfo[targetid][fRank] = rank;//sets the players rank to the rank you choose
  1402. format(string, sizeof(string), "Rank-ul tau a fost setat la %d!", rank);
  1403. SendClientMessage(targetid, COLOR_GREEN, string);//states that the players rank was changed
  1404. }
  1405. else //if the player is not the correct rank it will display this message below
  1406. {
  1407. SendClientMessage(playerid, COLOR_RED, "Nu esti intr-o factiune / nu ai rank-ul necesar.");
  1408. }
  1409. return 1;
  1410. }
  1411.  
  1412. CMD:f(playerid, params[]) return cmd_faction(playerid, params);
  1413. CMD:faction(playerid, params[])
  1414. {
  1415. new string[128], text[128], ctext[60], pname[MAX_PLAYER_NAME+1];//establishes a few things needed to tell the players name, rank, and the text he has written.
  1416. GetPlayerName(playerid, pname, sizeof(pname));//gets the name of the player using /radio
  1417. if(sscanf(params, "s[128]", text)) return SendClientMessage(playerid, 0x46E850FF, "SERVER:{FFFFFF} /f [text]");//if /r is not used correctly it will tell you the correct way to use it
  1418. if(PlayerInfo[playerid][pFaction] == 1)//checks if the player is in the first faction
  1419. {
  1420. if(PlayerInfo[playerid][pLeader] == 1)
  1421. {
  1422. format(string, sizeof(string), "(( Chief of Police %s: %s ))", pname, text);
  1423. SendPDMessage(COLOR_CYAN, string);//calls a stock below that checks who the /r should be sent to
  1424. }
  1425. else if(FactionInfo[playerid][fRank] == 2)
  1426. {
  1427. format(string, sizeof(string), "(( ACOP %s: %s ))", pname, text);
  1428. SendPDMessage(COLOR_CYAN, string);
  1429. }
  1430. else if(FactionInfo[playerid][fRank] == 3)
  1431. {
  1432. format(string, sizeof(string), "(( DCOP %s: %s ))", pname, text);
  1433. SendPDMessage(COLOR_CYAN, string);
  1434. }
  1435. else if(FactionInfo[playerid][fRank] == 4)
  1436. {
  1437. format(string, sizeof(string), "(( Lieutenant %s: %s ))", pname, text);
  1438. SendPDMessage(COLOR_CYAN, string);
  1439. }
  1440. else if(FactionInfo[playerid][fRank] == 5)
  1441. {
  1442. format(string, sizeof(string), "(( Captain %s: %s ))", pname, text);
  1443. SendPDMessage(COLOR_CYAN, string);
  1444. }
  1445. else if(FactionInfo[playerid][fRank] == 6)
  1446. {
  1447. format(string, sizeof(string), "(( Commander %s: %s ))", pname, text);
  1448. SendPDMessage(COLOR_CYAN, string);
  1449. }
  1450. else if(FactionInfo[playerid][fRank] == 7)
  1451. {
  1452. format(string, sizeof(string), "(( SGT II %s: %s ))", pname, text);
  1453. SendPDMessage(COLOR_CYAN, string);
  1454. }
  1455. else if(FactionInfo[playerid][fRank] == 8)
  1456. {
  1457. format(string, sizeof(string), "(( SGT I %s: %s ))", pname, text);
  1458. SendPDMessage(COLOR_CYAN, string);
  1459. }
  1460. else if(FactionInfo[playerid][fRank] == 9)
  1461. {
  1462. format(string, sizeof(string), "(( DIII %s: %s ))", pname, text);
  1463. SendPDMessage(COLOR_CYAN, string);
  1464. }
  1465. else if(FactionInfo[playerid][fRank] == 10)
  1466. {
  1467. format(string, sizeof(string), "(( DII %s: %s ))", pname, text);
  1468. SendPDMessage(COLOR_CYAN, string);
  1469. }
  1470. else if(FactionInfo[playerid][fRank] == 11)
  1471. {
  1472. format(string, sizeof(string), "(( DI %s: %s ))", pname, text);
  1473. SendPDMessage(COLOR_CYAN, string);
  1474. }
  1475. else if(FactionInfo[playerid][fRank] == 12)
  1476. {
  1477. format(string, sizeof(string), "(( LIO %s: %s ))", pname, text);
  1478. SendPDMessage(COLOR_CYAN, string);
  1479. }
  1480. else if(FactionInfo[playerid][fRank] == 13)
  1481. {
  1482. format(string, sizeof(string), "(( PO III %s: %s ))", pname, text);
  1483. SendPDMessage(COLOR_CYAN, string);
  1484. }
  1485. else if(FactionInfo[playerid][fRank] == 14)
  1486. {
  1487. format(string, sizeof(string), "(( PO II %s: %s ))", pname, text);
  1488. SendPDMessage(COLOR_CYAN, string);
  1489. }
  1490. else if(FactionInfo[playerid][fRank] == 15)
  1491. {
  1492. format(string, sizeof(string), "(( PO I %s: %s ))", pname, text);
  1493. SendPDMessage(COLOR_CYAN, string);
  1494. }
  1495. else if(FactionInfo[playerid][fRank] == 16)
  1496. {
  1497. format(string, sizeof(string), "(( A. Student %s: %s ))", pname, text);
  1498. SendPDMessage(COLOR_CYAN, string);
  1499. }
  1500. else if(FactionInfo[playerid][fRank] == 17)
  1501. {
  1502. format(string, sizeof(string), "(( Suspendat %s: %s ))", pname, text);
  1503. SendPDMessage(COLOR_CYAN, string);
  1504. }
  1505. }
  1506. else if(PlayerInfo[playerid][pFaction] == 2)
  1507. {
  1508. if(FactionInfo[playerid][fRank] == 1){ ctext = "Comissioner"; }
  1509. if(FactionInfo[playerid][fRank] == 2){ ctext = "Deputy Commissioner"; }
  1510. if(FactionInfo[playerid][fRank] == 3){ ctext = "Division Chief"; }
  1511. if(FactionInfo[playerid][fRank] == 4){ ctext = "Battalion Chief"; }
  1512. if(FactionInfo[playerid][fRank] == 5){ ctext = "Captain"; }
  1513. if(FactionInfo[playerid][fRank] == 6){ ctext = "Chief of Medicine"; }
  1514. if(FactionInfo[playerid][fRank] == 7){ ctext = "Lieutenant"; }
  1515. if(FactionInfo[playerid][fRank] == 8){ ctext = "Lead Paramedic"; }
  1516. if(FactionInfo[playerid][fRank] == 9){ ctext = "Attending Physician"; }
  1517. if(FactionInfo[playerid][fRank] == 10){ ctext = "EMT"; }
  1518. if(FactionInfo[playerid][fRank] == 11){ ctext = "Paramedic"; }
  1519. if(FactionInfo[playerid][fRank] == 12){ ctext = "First Responder"; }
  1520. if(FactionInfo[playerid][fRank] == 13){ ctext = "Firefighter II"; }
  1521. if(FactionInfo[playerid][fRank] == 14){ ctext = "Firefighter I"; }
  1522. if(FactionInfo[playerid][fRank] == 15){ ctext = "Probationary F."; }
  1523. format(string, sizeof(string), "(( %s %s: %s ))", ctext, pname, text);
  1524. SendFDMessage(COLOR_CYAN, string);
  1525. }
  1526. else if(PlayerInfo[playerid][pFaction] == 3)
  1527. {
  1528. if(FactionInfo[playerid][fRank] == 1){ ctext = "Governor"; }
  1529. if(FactionInfo[playerid][fRank] == 2){ ctext = "ADMIN"; }
  1530. format(string, sizeof(string), "(( %s %s: %s ))", ctext, pname, text);
  1531. SendGOVMessage(COLOR_CYAN, string);
  1532. }
  1533. if(PlayerInfo[playerid][pFaction] == 0)//if the player is not in a faction it will not send him any messages
  1534. {
  1535. return 1;
  1536. }
  1537. return 1;
  1538. }
  1539.  
  1540. CMD:credite(playerid, params[]) {
  1541. SendClientMessage(playerid, -1, "{FFFFFF}Oferim respect tuturor script-urilor ce ne-au ajutat, asa ca o sa lasam jos tot ce am 'imprumutat'.");
  1542. SendClientMessage(playerid, -1, "{FF0000}*~ {FFFFFF}ObjectMap - sistem de mapping pe server, editat putin de noi. #Drebin");
  1543. SendClientMessage(playerid, -1, "{FFFFFF}Tot ce nu apare mai sus, este creeat de catre noi, fara 'imprumuturi'");
  1544. return 1;
  1545. }
  1546.  
  1547. CMD:help(playerid, params[]) {
  1548. SendClientMessage(playerid, -1, "{FFFFFF}[ROLEPLAY]: /ame, /me, /do, /shout");
  1549. SendClientMessage(playerid, -1, "{FFFFFF}[MASINI:GENERAL]: /engine, /seatbelt, /lights, /alarm, /p(hone)car");
  1550. SendClientMessage(playerid, -1, "{FFFFFF}[TELEFON]: /phone, /call, /sms, /contacts");
  1551. SendClientMessage(playerid, -1, "{FFFFFF}[SCRIPT-WISE]: /tie, /maskon, /myclothes");
  1552. SendClientMessage(playerid, -1, "{FFFFFF}[CONT]: /stats, /changepassword");
  1553. SendClientMessage(playerid, -1, "{FFFFFF}[ITEME]: /bag, /wallet");
  1554. SendClientMessage(playerid, -1, "{FFFFFF}[ARME]: /toaca, /reload, /giveweapon, /acceptweapon");
  1555. SendClientMessage(playerid, -1, "{FFFFFF}[ANIMURI]: /animlist");
  1556. SendClientMessage(playerid, -1, "{FFFFFF}[CURIER]: /incepe, /livreaza");
  1557. SendClientMessage(playerid, -1, "{FFFFFF}[HCURIER]: /incepe, /prinde, /livreaza");
  1558. SendClientMessage(playerid, -1, "{FFFFFF}[NEWSPAPER]: /incepe, /arunca");
  1559. SendClientMessage(playerid, -1, "{FFFFFF}[DROGURI]: /duse, /dgive, /dplant");
  1560. if(PlayerInfo[playerid][pFaction] == 1)
  1561. {
  1562. SendClientMessage(playerid, -1, "{FFFFFF}[EQPD]: /taser, /cuff, /uncuff, /freeze[DOAR PRIN RP]");
  1563. SendClientMessage(playerid, -1, "{FFFFFF}[EQPD]: /radio, /d(epartamental), /gov(doar rank inalt)");
  1564. SendClientMessage(playerid, -1, "{FFFFFF}[EQPD]: /jail, /unjail, /law, /units, /su, /mdc");
  1565. SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
  1566. SendClientMessage(playerid, -1, "{FFFFFF}// Esti politist, te ocupi cu protejarea satului.");
  1567. }
  1568. else if(PlayerInfo[playerid][pFaction] == 2)
  1569. {
  1570. SendClientMessage(playerid, -1, "{FFFFFF}[EQMS]: /heal, /cure, /hpc, /ghinsurance, /r");
  1571. SendClientMessage(playerid, -1, "{FFFFFF}[EQMS]: /entergarage, /exitgarage, /gov(doar rank inalt)");
  1572. SendClientMessage(playerid, -1, "{FFFFFF}[EQMS]: /d(epartamental)");
  1573. SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
  1574. SendClientMessage(playerid, -1, "{FFFFFF}// Esti medic, te ocupi cu salvarea oamenilor, prin roleplay + comenzi.");
  1575. }
  1576. else if(PlayerInfo[playerid][pFaction] == 3)
  1577. {
  1578. SendClientMessage(playerid, -1, "{FFFFFF}[GOVERNOR]: /government, /su, /departamental");
  1579. SendClientMessage(playerid, -1, "{FFFFFF}[GOVERNOR]: /t(axa)s(omari)");
  1580. SendClientMessage(playerid, -1, "{FFFFFF}// Esti primar, nu exista foarte multe comenzi, rolezi in general.");
  1581. SendClientMessage(playerid, -1, "{FFFFFF}// Te ocupi de satul El Quebrados, si nu ai membrii in factiune.");
  1582. }
  1583. else if(PlayerInfo[playerid][pFaction] == 4)
  1584. {
  1585. SendClientMessage(playerid, -1, "{FFFFFF}[EQN]: /news, /live");
  1586. SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
  1587. SendClientMessage(playerid, -1, "{FFFFFF}// Esti reporter. Te ocupi cu reportaje la TV/radio etc.[/news] si cu dezvaluiri in direct la TV [/live]");
  1588. SendClientMessage(playerid, -1, "{FFFFFF}// Live este asemanator cu news la structura, dar live se foloseste la reportaje, NUMAI la TV.");
  1589. }
  1590. else if(PlayerInfo[playerid][pFaction] == 5)
  1591. {
  1592. SendClientMessage(playerid, -1, "{FFFFFF}[GANG1]: /tie, /buymats, /creategun, /buydrugs, /buyseeds");
  1593. SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
  1594. SendClientMessage(playerid, -1, "{FFFFFF}// Gang-ul este o grupare imensa. Numai insiderii se ocupa de arme/droguri, outsiderii se pot ocupa DOAR de materialel si actiuni IC.");
  1595. SendClientMessage(playerid, -1, "{FFFFFF}// Armele si drogurile procurate de gangsteri sunt de slaba calitate IC.");
  1596. }
  1597. else if(PlayerInfo[playerid][pFaction] == 6)
  1598. {
  1599. SendClientMessage(playerid, -1, "{FFFFFF}[GANG2]: /tie, /buymats, /creategun, /buydrugs, /buyseeds");
  1600. SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
  1601. SendClientMessage(playerid, -1, "{FFFFFF}// Gang-ul este o grupare imensa. Numai insiderii se ocupa de arme/droguri, outsiderii se pot ocupa DOAR de materialel si actiuni IC.");
  1602. SendClientMessage(playerid, -1, "{FFFFFF}// Armele si drogurile procurate de gangsteri sunt de slaba calitate IC.");
  1603. }
  1604. else if(PlayerInfo[playerid][pFaction] == 7)
  1605. {
  1606. SendClientMessage(playerid, -1, "{FFFFFF}[GANG3]: /tie, /buymats, /creategun, /buydrugs, /buyseeds");
  1607. SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
  1608. SendClientMessage(playerid, -1, "{FFFFFF}// Gang-ul este o grupare imensa. Numai insiderii se ocupa de arme/droguri, outsiderii se pot ocupa DOAR de materialel si actiuni IC.");
  1609. SendClientMessage(playerid, -1, "{FFFFFF}// Armele si drogurile procurate de gangsteri sunt de slaba calitate IC.");
  1610. }
  1611. else if(PlayerInfo[playerid][pFaction] == 8)
  1612. {
  1613. SendClientMessage(playerid, -1, "{FFFFFF}[GANG4]: /tie, /buymats, /creategun, /buydrugs, /buyseeds");
  1614. SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
  1615. SendClientMessage(playerid, -1, "{FFFFFF}// Gang-ul este o grupare imensa. Numai insiderii se ocupa de arme/droguri, outsiderii se pot ocupa DOAR de materialel si actiuni IC.");
  1616. SendClientMessage(playerid, -1, "{FFFFFF}// Armele si drogurile procurate de gangsteri sunt de slaba calitate IC.");
  1617. }
  1618. else if(PlayerInfo[playerid][pFaction] == 9)
  1619. {
  1620. SendClientMessage(playerid, -1, "{FFFFFF}[MAFIE1]: /tie, /mask, /buymats, /creategun, /buyseeds, /buydrugs, /buyweapon");
  1621. SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
  1622. SendClientMessage(playerid, -1, "{FFFFFF}// Mafia este o grupare restransa cu putere innalta. Insiderii pot creea/cumpara droguri/arme, iar outsiderii pot doar creea materiale si sa participe la actiuni IC.");
  1623. }
  1624. else if(PlayerInfo[playerid][pFaction] == 10)
  1625. {
  1626. SendClientMessage(playerid, -1, "{FFFFFF}[MAFIE2]: /tie, /mask, /buymats, /creategun, /buyseeds, /buydrugs, /buyweapon");
  1627. SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
  1628. SendClientMessage(playerid, -1, "{FFFFFF}// Mafia este o grupare restransa cu putere innalta. Insiderii pot creea/cumpara droguri/arme, iar outsiderii pot doar creea materiale si sa participe la actiuni IC.");
  1629. }
  1630. else if(PlayerInfo[playerid][pFaction] == 11)
  1631. {
  1632. SendClientMessage(playerid, -1, "{FFFFFF}[MAFIE3]: /tie, /mask, /buymats, /creategun, /buyseeds, /buydrugs, /buyweapon");
  1633. SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
  1634. SendClientMessage(playerid, -1, "{FFFFFF}// Mafia este o grupare restransa cu putere innalta. Insiderii pot creea/cumpara droguri/arme, iar outsiderii pot doar creea materiale si sa participe la actiuni IC.");
  1635. }
  1636. else if(PlayerInfo[playerid][pFaction] == 12)
  1637. {
  1638. SendClientMessage(playerid, -1, "{FFFFFF}[MAFIE4]: /tie, /mask, /buymats, /creategun, /buyseeds, /buydrugs, /buyweapon");
  1639. SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
  1640. SendClientMessage(playerid, -1, "{FFFFFF}// Mafia este o grupare restransa cu putere innalta. Insiderii pot creea/cumpara droguri/arme, iar outsiderii pot doar creea materiale si sa participe la actiuni IC.");
  1641. }
  1642. if(PlayerInfo[playerid][pLeader] == 1) // lider guvernamentale
  1643. {
  1644. SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /gov, /fchat, /invite, /kick");
  1645. }
  1646. else if(PlayerInfo[playerid][pLeader] == 2)
  1647. {
  1648. SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /gov, /fchat, /invite, /kick");
  1649. }
  1650. else if(PlayerInfo[playerid][pLeader] == 3)
  1651. {
  1652. SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /gov, /fchat, /invite, /kick");
  1653. }
  1654. else if(PlayerInfo[playerid][pLeader] == 4) // san news
  1655. {
  1656. SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
  1657. }
  1658. else if(PlayerInfo[playerid][pLeader] == 5) // gang/mafie
  1659. {
  1660. SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
  1661. }
  1662. else if(PlayerInfo[playerid][pLeader] == 6)
  1663. {
  1664. SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
  1665. }
  1666. else if(PlayerInfo[playerid][pLeader] == 7)
  1667. {
  1668. SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
  1669. }
  1670. else if(PlayerInfo[playerid][pLeader] == 8)
  1671. {
  1672. SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
  1673. }
  1674. else if(PlayerInfo[playerid][pLeader] == 9)
  1675. {
  1676. SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
  1677. }
  1678. else if(PlayerInfo[playerid][pLeader] == 10)
  1679. {
  1680. SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
  1681. }
  1682. else if(PlayerInfo[playerid][pLeader] == 11)
  1683. {
  1684. SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
  1685. }
  1686. else if(PlayerInfo[playerid][pLeader] == 12)
  1687. {
  1688. SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
  1689. }
  1690. return 1;
  1691. }
  1692.  
  1693. CMD:engine(playerid, params[]) {
  1694. /*new vehicle;
  1695. new nume[MAX_PLAYER_NAME];
  1696. new string[128];
  1697. GetPlayerName(playerid, nume, MAX_PLAYER_NAME);
  1698. vehicle = GetPlayerVehicleID(playerid);
  1699. if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "Nu esti intr-o masina!");
  1700. if(CarInfo[playerid][cEngine] != 1)
  1701. {
  1702. SetVehicleParamsForPlayer(vehicle, 1);
  1703. format(string, sizeof(string), "%s intoarce cheia si porneste masina.");
  1704. ProxDetector(50.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
  1705. }
  1706. else if(CarInfo[playerid][cEngine] != 0)
  1707. {
  1708. SetVehicleParamsForPlayer(vehicle, 0);
  1709. format(string, sizeof(string), "%s intoarce cheia si opreste masina.");
  1710. ProxDetector(50.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
  1711. }*/
  1712. if(GetPlayerState(playerid) == 2)
  1713. {
  1714. new vehicle = GetPlayerVehicleID(playerid);
  1715. if(Engine[vehicle] == 0)
  1716. {
  1717. new engine, lights, alarm, doors, bonnet, boot, objective;
  1718. GetVehicleParamsEx(vehicle, engine, lights, alarm, doors, bonnet, boot, objective);
  1719. Engine[vehicle] = 1;
  1720. SetVehicleParamsEx(vehicle, 1, lights, alarm, doors, bonnet, boot, 0);
  1721. }
  1722. else if(Engine[vehicle] == 1)
  1723. {
  1724. new engine, lights, alarm, doors, bonnet, boot, objective;
  1725. GetVehicleParamsEx(vehicle, engine, lights, alarm, doors, bonnet, boot, objective);
  1726. Engine[vehicle] = 0;
  1727. SetVehicleParamsEx(vehicle, 1, lights, alarm, doors, bonnet, boot, 0);
  1728. }
  1729. }
  1730. else return SendClientMessage(playerid, -1, "{FFFFFF}Nu esti intr-o masina.");
  1731. return 1;
  1732. }
  1733.  
  1734. CMD:veh(playerid, params[])
  1735. {
  1736. if(PlayerInfo[playerid][pDeveloper] != 1) return SendClientMessage(playerid, 0xFFFFFF, "Nu esti developer.");
  1737. PutPlayerInVehicle(playerid, 1, 0);
  1738. return 1;
  1739. }
  1740.  
  1741. CMD:news(playerid, params[])
  1742. {
  1743. new msg[128];
  1744. if(PlayerInfo[playerid][pFaction] != 4) return SendClientMessage(playerid, 0xFFFFFF, " !: {FFFFFF}Nu esti in EQN!");
  1745. if(FactionInfo[playerid][fDuty] != 1) return SendClientMessage(playerid, 0xFFFFFF, " !: {FFFFFF}Nu esti duty.");
  1746. if(isnull(params)) return SendClientMessage(playerid, COLOR_PURPLE, " !: {FFFFFF}/news [TEXT]");
  1747. new nume[MAX_PLAYER_NAME];
  1748. GetPlayerName(playerid, nume, MAX_PLAYER_NAME);
  1749. format(msg, sizeof(msg), "{99FF66}[EQN] %s: %s", nume, params);
  1750. SendClientMessageToAll(COLOR_PURPLE, msg);
  1751. return 1;
  1752. }
  1753.  
  1754. CMD:live(playerid, params[])
  1755. {
  1756. new msg[128];
  1757. if(PlayerInfo[playerid][pFaction] != 4) return SendClientMessage(playerid, 0xFFFFFF, " !: {FFFFFF}Nu esti in EQN!");
  1758. if(FactionInfo[playerid][fDuty] != 1) return SendClientMessage(playerid, 0xFFFFFF, " !: {FFFFFF}Nu esti duty.");
  1759. if(isnull(params)) return SendClientMessage(playerid, COLOR_PURPLE, " !: {FFFFFF}/live [TEXT]");
  1760. new nume[MAX_PLAYER_NAME];
  1761. GetPlayerName(playerid, nume, MAX_PLAYER_NAME);
  1762. format(msg, sizeof(msg), "{99FF66}[TV BROADCAST] %s: %s", nume, params);
  1763. SendClientMessageToAll(COLOR_PURPLE, msg);
  1764. return 1;
  1765. }
  1766.  
  1767. CMD:duty(playerid, params[])
  1768. {
  1769. if(PlayerInfo[playerid][pFaction] == 4)
  1770. {
  1771. if(FactionInfo[playerid][fDuty] == 0)
  1772. {
  1773. FactionInfo[playerid][fDuty] = 1;
  1774. SendClientMessage(playerid, COLOR_PURPLE, " !: {FFFFFF}Duty!");
  1775. }
  1776. else if(FactionInfo[playerid][fDuty] == 1)
  1777. {
  1778. FactionInfo[playerid][fDuty] = 0;
  1779. SendClientMessage(playerid, COLOR_PURPLE, " !: {FFFFFF}Off-duty!");
  1780. }
  1781. }
  1782. else
  1783. {
  1784. SendClientMessage(playerid, COLOR_PURPLE, " !: {FFFFFF}Factiune invalida.");
  1785. }
  1786. return 1;
  1787. }
  1788.  
  1789. CMD:enter(playerid, params[])
  1790. {
  1791. if(IsPlayerInRangeOfPoint(playerid, 20.00, -1390.0115,2638.8416,55.9844))
  1792. {
  1793. SetPlayerPos(playerid, 1866.3854,1217.4387,18.0986);
  1794. SendClientMessage(playerid, -1, "{FFFFFF}El Quebrados Sheriff's Departament");
  1795. }
  1796. else if(IsPlayerInRangeOfPoint(playerid, 20.00, -1514.5566,2520.1011,55.9629))
  1797. {
  1798. SetPlayerPos(playerid, 642.9769,-172.3768,1001.2758);
  1799. SendClientMessage(playerid, -1, "{FFFFFF}El Quebrados Medical Center");
  1800. }
  1801. else if(IsPlayerInRangeOfPoint(playerid, 20.00, -1531.0065,2591.9971,55.8359))
  1802. {
  1803. SetPlayerPos(playerid, 248.6405,1783.9126,701.0859);
  1804. SendClientMessage(playerid, -1, "{FFFFFF}El Quebrados News");
  1805. }
  1806. return 1;
  1807. }
  1808.  
  1809. CMD:exit(playerid, params[])
  1810. {
  1811. if(IsPlayerInRangeOfPoint(playerid, 20.00, 1866.3854,1217.4387,18.0986))
  1812. {
  1813. SetPlayerPos(playerid, -1390.0115,2638.8416,55.9844);
  1814. }
  1815. else if(IsPlayerInRangeOfPoint(playerid, 20.00, 642.9769,-172.3768,1001.2758))
  1816. {
  1817. SetPlayerPos(playerid, -1514.5566,2520.1011,55.9629);
  1818. }
  1819. else if(IsPlayerInRangeOfPoint(playerid, 20.00, 248.6405,1783.9126,701.0859))
  1820. {
  1821. SetPlayerPos(playerid, -1531.0065,2591.9971,55.8359);
  1822. }
  1823. return 1;
  1824. }
  1825.  
  1826. CMD:insat(playerid, params[])
  1827. {
  1828. if(PlayerInfo[playerid][pDeveloper] != 1) return SendClientMessage(playerid, 0xFFFFFF, " !: {FFFFFF}Nu esti developer.");
  1829. SetPlayerPos(playerid, -1534.6560,2645.2664,55.8359);
  1830. return 1;
  1831. }
  1832.  
  1833. CMD:eqn(playerid, params[])
  1834. {
  1835. SetPlayerPos(playerid, 258.67, 1785.35, 700.09);
  1836. return 1;
  1837. }
  1838.  
  1839. CMD:up(playerid, params[])
  1840. {
  1841. if(PlayerInfo[playerid][pDeveloper] != 1) return SendClientMessage(playerid, -1, "{FFFFFF}Nu esti developer!");
  1842. new Float:X, Float:Y, Float:Z;
  1843. GetPlayerPos(playerid, X, Y, Z);
  1844. SetPlayerPos(playerid, X, Y, Z + 2);
  1845. return 1;
  1846. }
  1847. CMD:setadmin(playerid, params[])
  1848. {
  1849. new levels;
  1850. new Nam[MAX_PLAYER_NAME];
  1851. new pname[MAX_PLAYER_NAME];
  1852. new str[128];
  1853. new ID;
  1854. if(PlayerInfo[playerid][pDeveloper] != 1)return SendClientMessage(playerid, COLOR_PURPLE, " !: {FFFFFF}Nu esti developer.");
  1855. if(sscanf(params,"ui",ID,levels)) return SendClientMessage(playerid,COLOR_PURPLE, " FOLOSESTE: {FFFFFF}/setadmin [Nume sau ID] [Nivel(1-6)]");//it will show this if you dont use the format properly
  1856. if(levels > 6) return SendClientMessage(playerid,COLOR_PURPLE," E!: {FFFFFF}Poti seta numai un nivel de la 1 la 6.");//Available levels
  1857. if(!IsPlayerConnected(ID))return SendClientMessage(playerid,COLOR_PURPLE," E!: {FFFFFF}Utilizatorul selectat nu este conectat.");//Detect if the id/partofname is connected
  1858. if(PlayerInfo[ID][pAdmin] == levels) return SendClientMessage(playerid,COLOR_PURPLE, " E!: {FFFFFF}Persoana selectata are deja acest nivel!");//Detect if the guy is already the level you setted
  1859. GetPlayerName(playerid,Nam, MAX_PLAYER_NAME);//define the playerid name
  1860. GetPlayerName(ID,pname,MAX_PLAYER_NAME);//define the other person name
  1861. if(levels == 0)
  1862. {
  1863. format(str, sizeof(str)," !: {FFFFFF}%s ti-a setat nivelul de administrator la %d.",Nam,levels);
  1864. SendClientMessage(ID,COLOR_PURPLE,str);
  1865. format(str, sizeof(str)," !: {FFFFFF}I-ai setat lui %s nivelul de administrator la %d!",pname,levels);
  1866. SendClientMessage(playerid,COLOR_PURPLE,str);
  1867. PlayerInfo[ID][pAdmin] = levels;//this sets the player level
  1868. return 1;
  1869. }
  1870. format(str, sizeof(str)," !: {FFFFFF}%s ti-a setat nivelul de administrator %d!",Nam,levels);
  1871. SendClientMessage(ID,COLOR_PURPLE,str);
  1872. format(str, sizeof(str)," !: {FFFFFF}I-ai setat lui %s nivelul de administrator la %d!",pname,levels);
  1873. SendClientMessage(playerid,COLOR_PURPLE,str);
  1874. PlayerInfo[ID][pAdmin] = levels;
  1875. return 1;
  1876. }
  1877.  
  1878. /*CMD:setfaction(playerid, params[])
  1879. {
  1880. new levels;
  1881. new Nam[MAX_PLAYER_NAME];
  1882. new pname[MAX_PLAYER_NAME];
  1883. new str[128];
  1884. new ID;
  1885. if(PlayerInfo[playerid][pDeveloper] != 1)return SendClientMessage(playerid, COLOR_PURPLE, " !: {FFFFFF}Nu esti developer.");
  1886. if(sscanf(params,"ui",ID,levels)) return SendClientMessage(playerid,COLOR_PURPLE, " FOLOSESTE: {FFFFFF}/setadmin [Nume sau ID] [Nivel(1-6)]");//it will show this if you dont use the format properly
  1887. if(levels > 6) return SendClientMessage(playerid,COLOR_PURPLE," E!: {FFFFFF}Poti seta numai un nivel de la 1 la 6.");//Available levels
  1888. if(!IsPlayerConnected(ID))return SendClientMessage(playerid,COLOR_PURPLE," E!: {FFFFFF}Utilizatorul selectat nu este conectat.");//Detect if the id/partofname is connected
  1889. if(PlayerInfo[ID][pFaction] == levels) return SendClientMessage(playerid,COLOR_PURPLE, " E!: {FFFFFF}Persoana selectata are deja acest nivel!");//Detect if the guy is already the level you setted
  1890. GetPlayerName(playerid,Nam, MAX_PLAYER_NAME);//define the playerid name
  1891. GetPlayerName(ID,pname,MAX_PLAYER_NAME);//define the other person name
  1892. if(levels == 0)
  1893. {
  1894. format(str, sizeof(str)," !: {FFFFFF}%s ti-a setat nivelul de administrator la %d.",Nam,levels);
  1895. SendClientMessage(ID,COLOR_PURPLE,str);
  1896. format(str, sizeof(str)," !: {FFFFFF}I-ai setat lui %s nivelul de administrator la %d!",pname,levels);
  1897. SendClientMessage(playerid,COLOR_PURPLE,str);
  1898. PlayerInfo[ID][pFaction] = levels;//this sets the player level
  1899. return 1;
  1900. }
  1901. format(str, sizeof(str)," !: {FFFFFF}%s ti-a setat nivelul de administrator %d!",Nam,levels);
  1902. SendClientMessage(ID,COLOR_PURPLE,str);
  1903. format(str, sizeof(str)," !: {FFFFFF}I-ai setat lui %s nivelul de administrator la %d!",pname,levels);
  1904. SendClientMessage(playerid,COLOR_PURPLE,str);
  1905. PlayerInfo[ID][pFaction] = levels;
  1906. return 1;
  1907. }*/
  1908.  
  1909. CMD:aduty(playerid,params[])
  1910. {
  1911. if(PlayerInfo[playerid][pAdmin] >= 1)
  1912. {
  1913. if(PlayerInfo[playerid][aDuty] == 0)
  1914. {
  1915. new playerName[MAX_PLAYER_NAME];
  1916. new szString[68];
  1917. SetPlayerColor(playerid, 0xFFA500);
  1918. GetPlayerName(playerid, playerName, MAX_PLAYER_NAME);
  1919. /*format(szString, sizeof szString, "{336633}[ADMIN] %s este acum la datorie!", playerName);
  1920. SendAdminMessage(playerid, -1, szString);*/
  1921. PlayerInfo[playerid][aDuty] = 1;
  1922. SendClientMessage(playerid, -1, "{336633}[ADMIN] Acum esti duty.");
  1923. }
  1924. else if(PlayerInfo[playerid][aDuty] == 1)
  1925. {
  1926. new playerName[MAX_PLAYER_NAME];
  1927. new szString[68];
  1928. SetPlayerColor(playerid, COLOR_PURPLE);
  1929. GetPlayerName(playerid, playerName, MAX_PLAYER_NAME);
  1930. /*format(szString, sizeof szString, "{336633}[ADMIN] %s nu mai este la datorie.", playerName);
  1931. SendAdminMessage(playerid, -1, szString);*/
  1932. SendClientMessage(playerid, -1, "{336633}[ADMIN] Nu mai esti duty.");
  1933. PlayerInfo[playerid][aDuty] = 0;
  1934. }
  1935. }
  1936. else
  1937. {
  1938. SendClientMessage(playerid, -1, "Nu esti administrator.");
  1939. }
  1940. return 1;
  1941. }
  1942.  
  1943. CMD:sethp(playerid, params[])
  1944. {
  1945. new ID;
  1946. new str[128];
  1947. new health;
  1948. new Nam[MAX_PLAYER_NAME];
  1949. new pname[MAX_PLAYER_NAME];
  1950. if(sscanf(params,"ui",ID,Float:health)) return SendClientMessage(playerid, 0xFF9900AA, "FOLOSESTE: /setadmin [Nume sau ID] [HP]");
  1951. if(Float:health < 0 || Float:health > 120) return SendClientMessage(playerid, 0xFF9900AA, "Viata trebuie sa fie intre 0 si 120.");
  1952. if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, 0xFF9900AA, "Utilizatorul selectat nu este conectat.");
  1953. GetPlayerName(ID,pname,MAX_PLAYER_NAME);
  1954. GetPlayerName(playerid,Nam, MAX_PLAYER_NAME);
  1955. format(str, sizeof(str), "{FFFFFF}%s {FF0000}ti-a setat viata la {FFFFFF}%d.",Nam,health);
  1956. SendClientMessage(ID, COLOR_PURPLE, str);
  1957. format(str, sizeof(str), "{FF0000}I-ai setat lui {FFFFFF}%s {FF0000}viata la {FFFFFF}%d{FF0000}.",pname,health);
  1958. SendClientMessage(playerid, COLOR_PURPLE,str);
  1959.  
  1960. SetPlayerHealth(ID, health);
  1961. return 1;
  1962. }
  1963.  
  1964. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  1965. {
  1966. if(IsEQPCar(vehicleid) && PlayerInfo[playerid][pFaction] != 1 && !ispassenger) //checks if the car is a faction car,and checks if the player is not in a faction or is not a passenger
  1967. {
  1968. ClearAnimations(playerid);//if they are a civillian and aren't a passenger it will put them out
  1969. SendClientMessage(playerid, COLOR_PURPLE, "!: {FFFFFF}Factiune invalida.");//will send them a message telling them only police can access this vehicle
  1970. }
  1971. if(IsEQNVan(vehicleid) && PlayerInfo[playerid][pFaction] != 4 && !ispassenger)
  1972. {
  1973. ClearAnimations(playerid);
  1974. SendClientMessage(playerid, COLOR_PURPLE, "!: {FFFFFF}Factiune invalida.");
  1975. }
  1976. return 1;
  1977. }
  1978.  
  1979. public OnPlayerExitVehicle(playerid, vehicleid)
  1980. {
  1981. return 1;
  1982. }
  1983.  
  1984. public OnPlayerStateChange(playerid, newstate, oldstate)
  1985. {
  1986. if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER) // Player entered a vehicle as a driver
  1987. {
  1988. /*if(IsJobCar(vehicleid) && PlayerInfo[playerid][pFaction] != 4)
  1989. {
  1990. RemovePlayerFromVehicle(playerid);
  1991. SendClientMessage(playerid, -1, "{FFFFFF}Factiune invalida.");
  1992. }*/
  1993. }
  1994. return 1;
  1995. }
  1996.  
  1997. public OnPlayerEnterCheckpoint(playerid)
  1998. {
  1999. return 1;
  2000. }
  2001.  
  2002. public OnPlayerLeaveCheckpoint(playerid)
  2003. {
  2004. return 1;
  2005. }
  2006.  
  2007. public OnPlayerEnterRaceCheckpoint(playerid)
  2008. {
  2009. return 1;
  2010. }
  2011.  
  2012. public OnPlayerLeaveRaceCheckpoint(playerid)
  2013. {
  2014. return 1;
  2015. }
  2016.  
  2017. public OnRconCommand(cmd[])
  2018. {
  2019. return 1;
  2020. }
  2021.  
  2022. /*public OnPlayerHealthChange(playerid, Float:newhealth, Float:oldhealth)
  2023. {
  2024. if(newhealth > 20)
  2025. {
  2026. TogglePlayerControllable(playerid,0);
  2027. new Text3D:label = Create3DTextLabel("(( JUCATORUL ESTE RANIT. IN-CHARACTER ESTE PE JOS. ))", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
  2028. Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
  2029. SendClientMessage(playerid, 0xff00000, "Ai intrat in DEATH-TIMER! Peste 120 secunde vei putea folosii /deathtimer.");
  2030. SetTimerEx("dttimer", 120000, false, "i", playerid);
  2031. PlayerInfo[playerid][DT] = 1;
  2032. PlayerInfo[playerid][DTT] = 1;
  2033. }
  2034. return 1;
  2035. }*/
  2036.  
  2037. public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
  2038. {
  2039. new Float:health;
  2040. GetPlayerHealth(playerid, health);
  2041.  
  2042. if(issuerid != INVALID_PLAYER_ID)
  2043. {
  2044. if(health <= 30)
  2045. {
  2046. SetPlayerHealth(playerid, 100);
  2047. TogglePlayerControllable(playerid, false);
  2048.  
  2049. SendClientMessage(playerid, COLOR_PURPLE, "Esti ranit. /acceptdeath in 120 secunde.");
  2050. new Text3D:label = Create3DTextLabel("(( JUCATORUL ESTE RANIT. IN-CHARACTER ESTE PE JOS. ))", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
  2051. Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
  2052. SetTimer("dttimer", 120000, false, "i", playerid);
  2053. PlayerInfo[playerid][DT] = 1;
  2054. PlayerInfo[playerid][DTT] = 1;
  2055. }
  2056. }
  2057.  
  2058. return 1;
  2059. }
  2060.  
  2061. public dttimer(playerid)
  2062. {
  2063. SendClientMessage(playerid, 0xff00000, "Au trecut 120 secunde. Acum poti da /acceptdeath.");
  2064. PlayerInfo[playerid][DTT] = 0;
  2065. }
  2066.  
  2067. public recuperare(playerid)
  2068. {
  2069. TogglePlayerControllable(playerid, true);
  2070. SendClientMessage(playerid, -1, "{FFFFFF}Recuperat!");
  2071. SetPlayerHealth(playerid, 100);
  2072. }
  2073.  
  2074. public OnPlayerRequestSpawn(playerid)
  2075. {
  2076. return 1;
  2077. }
  2078.  
  2079. public OnObjectMoved(objectid)
  2080. {
  2081. return 1;
  2082. }
  2083.  
  2084. public OnPlayerObjectMoved(playerid, objectid)
  2085. {
  2086. return 1;
  2087. }
  2088.  
  2089. public OnPlayerPickUpPickup(playerid, pickupid)
  2090. {
  2091. return 1;
  2092. }
  2093.  
  2094. public OnVehicleMod(playerid, vehicleid, componentid)
  2095. {
  2096. return 1;
  2097. }
  2098.  
  2099. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  2100. {
  2101. return 1;
  2102. }
  2103.  
  2104. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  2105. {
  2106. return 1;
  2107. }
  2108.  
  2109. public OnPlayerSelectedMenuRow(playerid, row)
  2110. {
  2111. return 1;
  2112. }
  2113.  
  2114. public OnPlayerExitedMenu(playerid)
  2115. {
  2116. return 1;
  2117. }
  2118.  
  2119. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  2120. {
  2121. return 1;
  2122. }
  2123.  
  2124. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  2125. {
  2126. return 1;
  2127. }
  2128.  
  2129. public OnRconLoginAttempt(ip[], password[], success)
  2130. {
  2131. return 1;
  2132. }
  2133.  
  2134. public OnPlayerUpdate(playerid)
  2135. {
  2136. return 1;
  2137. }
  2138.  
  2139. public OnPlayerStreamIn(playerid, forplayerid)
  2140. {
  2141. return 1;
  2142. }
  2143.  
  2144. public OnPlayerStreamOut(playerid, forplayerid)
  2145. {
  2146. return 1;
  2147. }
  2148.  
  2149. public OnVehicleStreamIn(vehicleid, forplayerid)
  2150. {
  2151. return 1;
  2152. }
  2153.  
  2154. public OnVehicleStreamOut(vehicleid, forplayerid)
  2155. {
  2156. return 1;
  2157. }
  2158.  
  2159. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  2160. {
  2161. switch( dialogid )
  2162. {
  2163. case DIALOG_REGISTER:
  2164. {
  2165. if (!response) return Kick(playerid);
  2166. if(response)
  2167. {
  2168. if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "{FF0000}EROARE","{FF0000}Nu ai introdus o parola"COL_WHITE".\n"COL_WHITE"Introdu-ti parola mai jos pentru a te inregistra.","Register","Quit");
  2169. new INI:File = INI_Open(UserPath(playerid));
  2170. INI_SetTag(File,"data");
  2171. INI_WriteInt(File,"Password",udb_hash(inputtext));
  2172. INI_WriteInt(File,"Cash",0);
  2173. INI_WriteInt(File,"Admin",0);
  2174. INI_WriteInt(File,"Kills",0);
  2175. INI_WriteInt(File,"Deaths",0);
  2176. INI_WriteInt(File,"Tester",0);
  2177. INI_WriteInt(File,"Developer",0);
  2178. INI_WriteInt(File,"Factiune",0);
  2179. INI_WriteInt(File,"Lider",0);
  2180. INI_Close(File);
  2181.  
  2182. SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
  2183. SpawnPlayer(playerid);
  2184. TextDrawShowForPlayer(playerid, spawntextdraw);
  2185. }
  2186. }
  2187.  
  2188. case DIALOG_LOGIN:
  2189. {
  2190. if ( !response ) return Kick ( playerid );
  2191. if( response )
  2192. {
  2193. if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
  2194. {
  2195. INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
  2196. GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
  2197. SpawnPlayer(playerid);
  2198. TextDrawShowForPlayer(playerid, spawntextdraw);
  2199.  
  2200. }
  2201. else
  2202. {
  2203. ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"{FF0000}EROARE","{FF0000}Parola incorecta.\n"COL_WHITE"Te rog introdu-ti parola in casuta de mai jos.","LOGHEAZA","IESI");
  2204. }
  2205. return 1;
  2206. }
  2207. }
  2208. }
  2209. return 1;
  2210. }
  2211.  
  2212. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  2213. {
  2214. return 1;
  2215. }
  2216.  
  2217. stock UserPath(playerid)
  2218. {
  2219. new string[128],playername[MAX_PLAYER_NAME];
  2220. GetPlayerName(playerid,playername,sizeof(playername));
  2221. format(string,sizeof(string),PATH,playername);
  2222. return string;
  2223. }
  2224.  
  2225. /*Credits to Dracoblue*/
  2226. stock udb_hash(buf[]) {
  2227. new length=strlen(buf);
  2228. new s1 = 1;
  2229. new s2 = 0;
  2230. new n;
  2231. for (n=0; n<length; n++)
  2232. {
  2233. s1 = (s1 + buf[n]) % 65521;
  2234. s2 = (s2 + s1) % 65521;
  2235. }
  2236. return (s2 << 16) + s1;
  2237. }
  2238.  
  2239. forward LoadUser_data(playerid,name[],value[]);
  2240. public LoadUser_data(playerid,name[],value[])
  2241. {
  2242. INI_Int("Password",PlayerInfo[playerid][pPass]);
  2243. INI_Int("Cash",PlayerInfo[playerid][pCash]);
  2244. INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
  2245. INI_Int("Kills",PlayerInfo[playerid][pKills]);
  2246. INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
  2247. INI_Int("Tester",PlayerInfo[playerid][pTester]);
  2248. INI_Int("Developer",PlayerInfo[playerid][pDeveloper]);
  2249. INI_Int("Factiune",PlayerInfo[playerid][pFaction]);
  2250. INI_Int("Lider",PlayerInfo[playerid][pLeader]);
  2251. INI_Int("Rank",FactionInfo[playerid][fRank]);
  2252. return 1;
  2253. }
  2254.  
  2255. public SendAdminMessage(playerid, color, const message[])
  2256. {
  2257. if(PlayerInfo[playerid][pAdmin] = 1)
  2258. {
  2259. new szString[68];
  2260. SendClientMessage(playerid, color, szString);
  2261. }
  2262. return 1;
  2263. }
  2264.  
  2265. public ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5)
  2266. {
  2267. if(IsPlayerConnected(playerid))
  2268. {
  2269. new Float:posx, Float:posy, Float:posz;
  2270. new Float:oldposx, Float:oldposy, Float:oldposz;
  2271. new Float:tempposx, Float:tempposy, Float:tempposz;
  2272. GetPlayerPos(playerid, oldposx, oldposy, oldposz);
  2273. for(new i = 0; i < MAX_PLAYERS; i++)
  2274. {
  2275. if(IsPlayerConnected(i) && (GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(i)))
  2276. {
  2277. GetPlayerPos(i, posx, posy, posz);
  2278. tempposx = (oldposx -posx);
  2279. tempposy = (oldposy -posy);
  2280. tempposz = (oldposz -posz);
  2281. if (((tempposx < radi/16) && (tempposx > -radi/16)) && ((tempposy < radi/16) && (tempposy > -radi/16)) && ((tempposz < radi/16) && (tempposz > -radi/16)))
  2282. {
  2283. SendClientMessage(i, col1, string);
  2284. }
  2285. else if (((tempposx < radi/8) && (tempposx > -radi/8)) && ((tempposy < radi/8) && (tempposy > -radi/8)) && ((tempposz < radi/8) && (tempposz > -radi/8)))
  2286. {
  2287. SendClientMessage(i, col2, string);
  2288. }
  2289. else if (((tempposx < radi/4) && (tempposx > -radi/4)) && ((tempposy < radi/4) && (tempposy > -radi/4)) && ((tempposz < radi/4) && (tempposz > -radi/4)))
  2290. {
  2291. SendClientMessage(i, col3, string);
  2292. }
  2293. else if (((tempposx < radi/2) && (tempposx > -radi/2)) && ((tempposy < radi/2) && (tempposy > -radi/2)) && ((tempposz < radi/2) && (tempposz > -radi/2)))
  2294. {
  2295. SendClientMessage(i, col4, string);
  2296. }
  2297. else if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
  2298. {
  2299. SendClientMessage(i, col5, string);
  2300. }
  2301. }
  2302. else
  2303. {
  2304. SendClientMessage(i, col1, string);
  2305. }
  2306. }
  2307. }
  2308. return 1;
  2309. }
  2310.  
  2311. forward BanExPublic(playerid, reason[]);
  2312.  
  2313. public BanExPublic(playerid, reason[])
  2314. {
  2315. BanEx(playerid, reason);
  2316. }
  2317. stock BanExWithMessage(playerid, color, message[], reason[])
  2318. {
  2319. SendClientMessage(playerid, color, message);
  2320. SetTimerEx("BanExPublic", 1000, false, "ds", playerid, reason);
  2321. }
  2322.  
  2323. stock IsJobCar(vehicleid)
  2324. {
  2325. new EQNCar[MAX_VEHICLES];
  2326. for(new i = 0; i < sizeof(EQNCar); i++)
  2327. if(vehicleid == EQNCar[i])
  2328. return true;
  2329. return false;
  2330. }
  2331. stock SendPDMessage(col, string[])
  2332. {
  2333. for(new i = 0; i < MAX_PLAYERS; i++)
  2334. {
  2335. if(PlayerInfo[i][pFaction] == 1)
  2336. SendClientMessage(i, col, string); //goes through all the players checking who is and isint in faction 1
  2337. }
  2338.  
  2339. return 1;
  2340. }
  2341. stock SendFDMessage(col, string[])
  2342. {
  2343. for(new i = 0; i < MAX_PLAYERS; i++)
  2344. {
  2345. if(PlayerInfo[i][pFaction] == 2)
  2346. SendClientMessage(i, col, string);
  2347. }
  2348. return 1;
  2349. }
  2350. stock SendGOVMessage(col, string[])
  2351. {
  2352. for(new i = 0; i < MAX_PLAYERS; i++)
  2353. {
  2354. if(PlayerInfo[i][pFaction] == 3)
  2355. SendClientMessage(i, col, string);
  2356. }
  2357. return 1;
  2358. }
  2359.  
  2360. stock IsEQPCar(vehicleid)
  2361. {
  2362. switch(GetVehicleModel(vehicleid))
  2363. {
  2364. case 523,427,528,596,598,597,599,601,497,430: return 1; //checks if the vehicle id is a faction restricted vehicle
  2365. }
  2366. return 0;
  2367. }
  2368.  
  2369. stock IsEQNVan(vehicleid)
  2370. {
  2371. switch(GetVehicleModel(vehicleid))
  2372. {
  2373. case 582: return 1;
  2374. }
  2375. return 0;
  2376. }
  2377.  
  2378. Dialog:DIALOG_LOGIN(playerid, response, listitem, inputtext[])
  2379. {
  2380. if (!response)
  2381. return Kick(playerid);
  2382.  
  2383.  
  2384. new password[64];
  2385. SHA256_PassHash(inputtext, PASSWORD_SALT, password, sizeof (password));
  2386.  
  2387.  
  2388. if (strcmp(PlayerInfo[playerid][pPass], password))
  2389. {
  2390. incercari[playerid]++;
  2391.  
  2392. new str[150];
  2393. format(str, sizeof (str), "Parola incorecta. Au mai ramas %i/%i incercari.", incercari[playerid], MAX_LOGIN_ATTEMPTS);
  2394. SendClientMessage(playerid, 0xFFFFFFFF, str);
  2395.  
  2396. if (incercari[playerid] >= MAX_LOGIN_ATTEMPTS)
  2397. return Kick(playerid);
  2398.  
  2399. return Dialog_Show(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FF6633}MAIN-ROLEPLAY", "{FFFFFF}Trebuie sa te loghezi pentru a continua sa te joci pe server. Introdu-ti mai jos parola.", "JOIN", "IESI");
  2400. }
  2401.  
  2402.  
  2403. new nume[MAX_PLAYER_NAME];
  2404. GetPlayerName(playerid, nume, MAX_PLAYER_NAME);
  2405.  
  2406. new str[150];
  2407. format(str, sizeof (str), "----- {FF6633}%s {FFFFFF}-----", nume);
  2408. SendClientMessage(playerid, 0xFFFFFFFF, str);
  2409.  
  2410. ResetPlayerMoney(playerid);
  2411. GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
  2412.  
  2413. new ip[18];
  2414. GetPlayerIp(playerid, ip, sizeof (ip));
  2415.  
  2416. DB::Update("Utilizatori", PlayerInfo[playerid][pSQLID], 1,
  2417. "IP", STRING, ip);
  2418. return 1;
  2419. }
  2420.  
  2421. Dialog:DIALOG_REGISTER(playerid, response, listitem, inputtext[])
  2422. {
  2423. if (!response)
  2424. return Kick(playerid);
  2425.  
  2426. if (!inputtext[0] || inputtext[0] == ' ')
  2427. {
  2428. SendClientMessage(playerid, 0xFFFFFFFF, "Parola nu se potriveste, nu poate fi lasata goala.");
  2429.  
  2430. return Dialog_Show(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "{FF3366}MAIN-ROLEPLAY", "{FFFFFF}Bine ai venit pe "SERVER_NAME"!\nIntrodu-ti parola mai jos.", "CONTINUA", "IESI");
  2431. }
  2432.  
  2433. new len = strlen(inputtext);
  2434. if (len > MAX_PASSWORD_LENGTH || len < MIN_PASSWORD_LENGTH)
  2435. {
  2436. new str[150];
  2437. format(str, sizeof (str), "Parola trebuie sa fie intre %i si %i caractere.", MIN_PASSWORD_LENGTH, MAX_PASSWORD_LENGTH);
  2438. SendClientMessage(playerid, 0xFFFFFFFF, str);
  2439.  
  2440. return Dialog_Show(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "{FF3366}MAIN-ROLEPLAY", "{FFFFFF}Bine ai venit pe "SERVER_NAME"!\nIntrodu-ti parola mai jos.", "CONTINUA", "IESI");
  2441. }
  2442.  
  2443. SHA256_PassHash(inputtext, PASSWORD_SALT, PlayerInfo[playerid][pPass], 64);
  2444.  
  2445. new name[MAX_PLAYER_NAME];
  2446. GetPlayerName(playerid, name, MAX_PLAYER_NAME);
  2447.  
  2448. new str[150];
  2449. format(str, sizeof (str), "----- {FF3366}%s {FFFFFF}-----", name);
  2450. SendClientMessage(playerid, 0xFFFFFFFF, str);
  2451.  
  2452. new ip[18];
  2453. GetPlayerIp(playerid, ip, sizeof (ip));
  2454.  
  2455. DB::CreateRow("Utilizatori",
  2456. "Nume", STRING, name,
  2457. "Parola", STRING, PlayerInfo[playerid][pPass],
  2458. "IP", STRING, ip,
  2459. "Admin", INTEGER, PlayerInfo[playerid][pAdmin],
  2460. "Tester", INTEGER, PlayerInfo[playerid][pTester],
  2461. "Developer", STRING, PlayerInfo[playerid][pDeveloper]);
  2462.  
  2463. DB::Fetch("Utilizatori", _, _, _, "`Nume` = '%q'", name);
  2464. PlayerInfo[playerid][pSQLID] = fetch_row_id();
  2465. fetcher_close();
  2466.  
  2467. return 1;
  2468. }
Add Comment
Please, Sign In to add comment