Advertisement
Guest User

Untitled

a guest
Apr 24th, 2015
285
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public OnGameModeInit()
  2. {
  3. AntiDeAMX();
  4. #if PROTECTED == 1
  5. {
  6. new bla[5];
  7.  
  8. new fffuuuu = 0;
  9.  
  10. fffuuuu = 100;
  11. bla[fffuuuu] = 100;
  12.  
  13. return bla[fffuuuu];
  14. }
  15. {
  16. new ServerIP[20], ServerPort;
  17.  
  18. GetServerVarAsString("bind",ServerIP,20);
  19. ServerPort = GetServerVarAsInt("port");
  20.  
  21. if(strcmp(ServerIP,PROTECTED_IP,false) != 0 || !strlen(ServerIP)) // Check server IP.
  22. {
  23. print("1This server has not the permission to use this gamemode..");
  24. print("Server shutting down in 5 seconds");
  25. SetTimer("Exit",5000,false);
  26.  
  27. return 0;
  28. }
  29. else if(ServerPort != PROTECTED_PORT) // If server port is different, end server.
  30. {
  31. print("2This server has not the permission to use this gamemode.");
  32. print("Server shutting down in 5 seconds");
  33. SetTimer("Exit",5000,false);
  34. return 0;
  35. }
  36. }
  37. #endif
  38. VelocidadeBalao = 2;
  39. VelocidadeBalao2 = 2;
  40. VelocidadeBalao3 = 2;
  41. VelocidadeBalao4 = 2;
  42. VelocidadeBalao5 = 2;
  43. VelocidadeBalao6 = 2;
  44. VelocidadeBalao7 = 2;
  45. if(DOF2_FileExists(BlockFile))
  46. {
  47. printf("Server Blocked");
  48. SetTimer("Exit", 5000, false);
  49. }
  50. WriteLog("server", "Initializing gamemode.");
  51. WriteLog("server", "Initializing gamemode.");
  52.  
  53. Streamer_VisibleItems(STREAMER_TYPE_OBJECT, 2000);
  54. Streamer_TickRate(100);
  55. LoadConfig();
  56. WriteLog("server", "Loaded config");
  57. LoadProperty();
  58. WriteLog("server", "Loaded property");
  59. LoadBizz();
  60. WriteLog("server", "Loaded bizz");
  61. LoadSBizz();
  62. WriteLog("server", "Loaded sbizz");
  63. LoadBoxer();
  64. WriteLog("server", "Loaded boxer");
  65. LoadIRC();
  66. WriteLog("server", "Loaded irc");
  67. LoadTrunk();
  68. WriteLog("server", "Loaded trunk");
  69. LoadZones();
  70. WriteLog("server", "Loaded zones");
  71.  
  72. if(!DOF2_FileExists(RECORD_FILE))
  73. {
  74. DOF2_CreateFile(RECORD_FILE);
  75. DOF2_SetInt(RECORD_FILE,"Tick",0);
  76. DOF2_SetString(RECORD_FILE,"MaisRico","Nenhum");
  77. DOF2_SetInt(RECORD_FILE,"MaisRicoQtd",0);
  78. DOF2_SetString(RECORD_FILE,"MaiorLevel","Nenhum");
  79. DOF2_SetInt(RECORD_FILE,"MaiorLevelQtd",0);
  80. DOF2_SaveFile();
  81. }
  82.  
  83. Recorde = DOF2_GetInt(RECORD_FILE,"RecordeNum");
  84. Tick = DOF2_GetInt(RECORD_FILE,"Tick");
  85. MaisRico = DOF2_GetInt(RECORD_FILE,"MaisRicoQtd");
  86. MaiorLevel = DOF2_GetInt(RECORD_FILE,"MaiorLevelQtd");
  87.  
  88. for(new x = 0; x < MAX_RADARS; x ++)
  89. {
  90. new str[24];
  91. format(str,24,"[RADAR]\n Limite: %d km/h", Radars[x][rMaxSpeed]);
  92. Create3DTextLabel(str, COLOR_REDEVAS,Radars[x][rCoordX],Radars[x][rCoordY],Radars[x][rCoordZ]+2, 50, 0, 1);
  93. CreateDynamicObject(Radars[x][rModel],Radars[x][rCoordX],Radars[x][rCoordY],Radars[x][rCoordZ]-20,0.0,0.0,10.0);
  94. }
  95.  
  96. CreateTextLabels();
  97.  
  98. SendRconCommand("reloadfs Anims");
  99. SendRconCommand("reloadfs bus");
  100. SendRconCommand("reloadfs elevador");
  101. SendRconCommand("reloadfs limo");
  102. SendRconCommand("reloadfs ViniBorn");
  103.  
  104. /*===================================================================================================================================*/
  105. SetTimer("FallTimer",100, true);
  106. for(new v; v != MAX_PLAYERS; v++)
  107. {
  108. NomeLabel[v] = Create3DTextLabel("Nome",-1,0.0, 0.0, -150.0,30.0,-1,1);
  109. AFKLabel[v] = Create3DTextLabel("Tempo",-1,0.0, 0.0, -150.0,30.0,-1,1);
  110. }
  111.  
  112. CreateTD();
  113.  
  114. MapObject[0]=CreateObject(6959,1093.778564,1570.288818,6.849679,0.000000,0.000000,0.000000);//object (vegasNbball1) (2 -- Interior 0
  115. MapObject[1]=CreateObject(6959,1093.778564,1530.300048,6.789999,180.000000,0.000000,0.000000);//object (vegasNbball1) (3 -- Interior 0
  116. MapObject[2]=CreateObject(9163,1071.030029,1562.988037,10.856634,0.000000,0.000000,0.000000);//object (shop04_lvs) (1)" -- Interior 0
  117. MapObject[3]=CreateObject(9163,1071.036865,1523.015747,10.856634,0.000000,0.000000,0.000000);//object (shop04_lvs) (2)" -- Interior 0
  118. MapObject[4]=CreateObject(9163,1120.029296,1562.987304,10.856634,0.000000,0.000000,0.000000);//object (shop04_lvs) (4)" -- Interior 0
  119. MapObject[5]=CreateObject(9163,1120.029296,1523.015625,10.856634,0.000000,0.000000,0.000000);//object (shop04_lvs) (5)" -- Interior 0
  120. MapObject[6]=CreateObject(6959,1093.778320,1530.299804,14.315003,180.000000,0.000000,0.000000);//object (vegasNbball1) (4 -- Interior 0
  121. MapObject[7]=CreateObject(6959,1093.778320,1570.288085,14.371999,0.000000,0.000000,0.000000);//object (vegasNbball1) (5 -- Interior 0
  122. MapObject[8]=CreateObject(3819,1108.621459,1559.768676,7.816188,0.000000,0.000000,0.000000);//object (bleacher_SFSx) ( -- Interior 0
  123. MapObject[9]=CreateObject(9163,1095.103515,1511.685546,10.856634,0.000000,0.000000,90.000000);//object (shop04_lvs) (6)" -- Interior 0
  124. MapObject[10]=CreateObject(9163,1096.544433,1583.744750,10.856634,0.000000,0.000000,90.000000);//object (shop04_lvs) (7)" -- Interior 0
  125. MapObject[11]=CreateObject(3819,1108.621459,1551.164672,7.816188,0.000000,0.000000,0.000000);//object (bleacher_SFSx) ( -- Interior 0
  126. MapObject[12]=CreateObject(3819,1108.621459,1542.554687,7.816188,0.000000,0.000000,0.000000);//object (bleacher_SFSx) ( -- Interior 0
  127. MapObject[13]=CreateObject(3819,1108.621459,1533.952880,7.816188,0.000000,0.000000,0.000000);//object (bleacher_SFSx) ( -- Interior 0
  128. MapObject[14]=CreateObject(3819,1082.185791,1533.952880,7.816188,0.000000,0.000000,180.000000);//object (bleacher_SFSx) ( -- Interior 0
  129. MapObject[15]=CreateObject(3819,1082.185791,1542.554687,7.816188,0.000000,0.000000,180.000000);//object (bleacher_SFSx) ( -- Interior 0
  130. MapObject[16]=CreateObject(3819,1082.185791,1551.164062,7.816188,0.000000,0.000000,180.000000);//object (bleacher_SFSx) ( -- Interior 0
  131. MapObject[17]=CreateObject(3819,1082.185791,1559.768554,7.816188,0.000000,0.000000,180.000000);//object (bleacher_SFSx) ( -- Interior 0
  132. MapObject[18]=CreateObject(973,1087.406616,1570.500000,7.658649,0.000000,0.000000,90.000000);//object (sub_roadbarrier) -- Interior 0
  133. MapObject[19]=CreateObject(973,1087.406616,1561.150024,7.658649,0.000000,0.000000,90.000000);//object (sub_roadbarrier) -- Interior 0
  134. MapObject[20]=CreateObject(973,1087.406250,1561.149414,7.658649,0.000000,0.000000,90.000000);//object (sub_roadbarrier) -- Interior 0
  135. MapObject[21]=CreateObject(973,1103.382812,1551.774047,7.658649,0.000000,0.000000,270.000000);//object (sub_roadbarrier) -- Interior 0
  136. MapObject[22]=CreateObject(973,1087.406616,1542.409423,7.658649,0.000000,0.000000,90.000000);//object (sub_roadbarrier) -- Interior 0
  137. MapObject[23]=CreateObject(973,1087.406616,1533.029785,7.658649,0.000000,0.000000,90.000000);//object (sub_roadbarrier) -- Interior 0
  138. MapObject[24]=CreateObject(973,1087.406616,1523.650512,7.658649,0.000000,0.000000,90.000000);//object (sub_roadbarrier) -- Interior 0
  139. MapObject[25]=CreateObject(973,1103.382812,1570.500000,7.658649,0.000000,0.000000,270.000000);//object (sub_roadbarrier) -- Interior 0
  140. MapObject[26]=CreateObject(973,1087.406250,1561.149414,7.658649,0.000000,0.000000,90.000000);//object (sub_roadbarrier) -- Interior 0
  141. MapObject[27]=CreateObject(973,1103.382812,1561.149414,7.658649,0.000000,0.000000,270.000000);//object (sub_roadbarrier) -- Interior 0
  142. MapObject[28]=CreateObject(973,1087.406250,1551.773437,7.658649,0.000000,0.000000,90.000000);//object (sub_roadbarrier) -- Interior 0
  143. MapObject[29]=CreateObject(973,1103.382812,1542.409179,7.658649,0.000000,0.000000,270.000000);//object (sub_roadbarrier) -- Interior 0
  144. MapObject[30]=CreateObject(973,1103.382812,1533.029296,7.658649,0.000000,0.000000,270.000000);//object (sub_roadbarrier) -- Interior 0
  145. MapObject[31]=CreateObject(973,1103.382812,1523.650390,7.658649,0.000000,0.000000,270.000000);//object (sub_roadbarrier) -- Interior 0
  146.  
  147. CowRacer[0]=CreateObject(16442,1101.841552,1522.773559,8.695835,0.000000,0.000000,90.000000);//Cow Racer 1
  148. CowRacer[1]=CreateObject(16442,1098.581389,1522.773559,8.695835,0.000000,0.000000,90.000000);//Cow Racer 2
  149. CowRacer[2]=CreateObject(16442,1095.321227,1522.773559,8.695835,0.000000,0.000000,90.000000);//Cow Racer 3
  150. CowRacer[3]=CreateObject(16442,1092.061065,1522.773559,8.695835,0.000000,0.000000,90.000000);//Cow Racer 4
  151. CowRacer[4]=CreateObject(16442,1088.800903,1522.773559,8.695835,0.000000,0.000000,90.000000);//Cow Racer 5
  152.  
  153. /*
  154. 1101.841552,1572.270019,8.695835
  155. 1098.581389,1572.270019,8.695835
  156. 1095.321227,1572.270019,8.695835 //Ending positions for the cows
  157. 1092.061065,1572.270019,8.695835
  158. 1088.800903,1572.270019,8.695835
  159. */
  160.  
  161. BetBooth[0]=CreateObject(3430,1107.177734,1525.321166,8.484739,0.000000,0.000000,0.000000);//Bet Booth 1
  162. BetBooth[1]=CreateObject(3430,1083.677734,1525.320312,8.484739,0.000000,0.000000,0.000000);//Bet Booth 2
  163.  
  164. SetPaces();
  165. SetTexts();
  166. OnRaceUpdate();
  167.  
  168. WinnerTextDraw = TextDrawCreate(320.000000, 415.000000,"PlayHard RP [Versão Beta]");
  169. TextDrawLetterSize(WinnerTextDraw,0.4,1.2);
  170. TextDrawFont(WinnerTextDraw,1);
  171. TextDrawColor(WinnerTextDraw, 0x00FFFFAA);
  172. TextDrawBackgroundColor(WinnerTextDraw,0x000000AA);
  173. TextDrawSetOutline(WinnerTextDraw, 1);
  174. TextDrawAlignment(WinnerTextDraw, 2);
  175.  
  176. LoserTextDraw = TextDrawCreate(320.000000, 425.000000,"Sua gangue perdeu a guerra por território contra os Traficantes de Drogas.");
  177. TextDrawLetterSize(LoserTextDraw, 0.4,1.2);
  178. TextDrawFont(LoserTextDraw, 1);
  179. TextDrawColor(LoserTextDraw , 0xFF0000FF);
  180. TextDrawBackgroundColor(LoserTextDraw ,0x000000AA);
  181. TextDrawSetOutline(LoserTextDraw ,1);
  182. TextDrawAlignment(LoserTextDraw , 2);
  183.  
  184.  
  185. AttackersTextDraw = TextDrawCreate(320.000000, 415.000000,"Sua gangue começou uma guerra de territórios com traficantes de drogas");
  186. TextDrawLetterSize(AttackersTextDraw,0.4,1.2);
  187. TextDrawFont(AttackersTextDraw,1);
  188. TextDrawColor(AttackersTextDraw, 0x00FFFFAA);
  189. TextDrawBackgroundColor(AttackersTextDraw,0x000000AA);
  190. TextDrawSetOutline(AttackersTextDraw,1);
  191. TextDrawAlignment(AttackersTextDraw, 2);
  192.  
  193.  
  194. DefendersTextDraw = TextDrawCreate(320.000000, 425.000000,"Traficantes estão atacando um de nossos relvados.");
  195. TextDrawLetterSize(DefendersTextDraw,0.4,1.2);
  196. TextDrawFont(DefendersTextDraw,1);
  197. TextDrawColor(DefendersTextDraw, 0xFF0000FF);
  198. TextDrawBackgroundColor(DefendersTextDraw,0x000000AA);
  199. TextDrawSetOutline(DefendersTextDraw,1);
  200. TextDrawAlignment(DefendersTextDraw, 2);
  201.  
  202. ServerLogo1 = TextDrawCreate(550.0,405.0, "~w~Play~r~Hard");
  203. TextDrawFont(ServerLogo1, 1);
  204. TextDrawColor(ServerLogo1, 0xFFFFFFFF);
  205. TextDrawLetterSize(ServerLogo1, 0.5, 2.0);
  206. TextDrawSetOutline(ServerLogo1, 1);
  207. TextDrawSetProportional(ServerLogo1, 1);
  208. TextDrawAlignment(ServerLogo1, 2);
  209. TextDrawBackgroundColor(ServerLogo1, 0x000000FF);
  210. TextDrawSetShadow(ServerLogo1, 1);
  211.  
  212. gettime(ClockTime[tHour], ClockTime[tMinute], ClockTime[tSecond]);
  213. getdate(ClockTime[dYear], ClockTime[dMonth], ClockTime[dDay]);
  214.  
  215. new str[128];
  216. format(str,128, "%s~n~%02d:%02d:%02d - %02d/%02d/%d ~n~%d/%d",SITE_URL, ClockTime[tHour], ClockTime[tMinute], ClockTime[tSecond], ClockTime[dDay], ClockTime[dMonth], ClockTime[dYear], Online, GetMaxPlayers());
  217.  
  218. ServerLogo2 = TextDrawCreate(550.0,423.0, str);
  219. TextDrawFont(ServerLogo2, 2);
  220. TextDrawColor(ServerLogo2, 0xE5E5E5FF);
  221. TextDrawLetterSize(ServerLogo2, 0.2, 0.7);
  222. TextDrawSetOutline(ServerLogo2, 1);
  223. TextDrawSetProportional(ServerLogo2, 1);
  224. TextDrawAlignment(ServerLogo2, 2);
  225. TextDrawBackgroundColor(ServerLogo2, 0x000000FF);
  226. TextDrawSetShadow(ServerLogo2, 1);
  227.  
  228. /*BackGroundLogin = TextDrawCreate(-1.000000, -1.000000, "_");
  229. TextDrawBackgroundColor(BackGroundLogin, 255);
  230. TextDrawFont(BackGroundLogin, 4);
  231. TextDrawLetterSize(BackGroundLogin, 0.539999, 0.799998);
  232. TextDrawColor(BackGroundLogin, -1);
  233. TextDrawSetOutline(BackGroundLogin, 0);
  234. TextDrawSetProportional(BackGroundLogin, 1);
  235. TextDrawSetShadow(BackGroundLogin, 1);
  236. TextDrawUseBox(BackGroundLogin, 1);
  237. TextDrawBoxColor(BackGroundLogin, 255);
  238. TextDrawTextSize(BackGroundLogin, 641.000000, 449.000000);*/
  239.  
  240. new Float:txtbar = 36.0;
  241.  
  242. ChecksBar[102] = TextDrawCreate(20.0, 320.0, "Sua gang esta iniciando o ataque:");
  243. TextDrawFont(ChecksBar[102], 2);
  244. TextDrawColor(ChecksBar[102], 0xE5E5E5FF);
  245. TextDrawLetterSize(ChecksBar[102], 0.2, 0.7);
  246. TextDrawSetOutline(ChecksBar[102], 1);
  247. TextDrawSetProportional(ChecksBar[102], 1);
  248. TextDrawBackgroundColor(ChecksBar[102], 0x000000FF);
  249. TextDrawSetShadow(ChecksBar[102], 1);
  250.  
  251. ChecksBar[100] = TextDrawCreate(35.5, 330.0, " ");
  252. TextDrawUseBox(ChecksBar[100], true);
  253. TextDrawBoxColor(ChecksBar[100], 0x000000FF);
  254. TextDrawSetShadow(ChecksBar[100],0);
  255. TextDrawTextSize(ChecksBar[100], 137.0, 0);
  256.  
  257. ChecksBar[101] = TextDrawCreate(35.5, 332.0, " ");
  258. TextDrawUseBox(ChecksBar[101], true);
  259. TextDrawBoxColor(ChecksBar[101], 0x000000FF);
  260. TextDrawSetShadow(ChecksBar[101],0);
  261. TextDrawTextSize(ChecksBar[101], 137, 0);
  262.  
  263. for(new i; i < 100; i++)
  264. {
  265. ChecksBar[i] = TextDrawCreate(36.0, 331.0, " ");
  266. TextDrawUseBox(ChecksBar[i], true);
  267. TextDrawBoxColor(ChecksBar[i], COLOR_RUSSA);
  268. TextDrawSetShadow(ChecksBar[i],0);
  269. TextDrawTextSize(ChecksBar[i], txtbar, 0);
  270. txtbar += 1.0;
  271. }
  272. Background = TextDrawCreate(HUD_INDEX+111.000000,HUD_INDEX2+77.000000,"_"); // fundo
  273. TextDrawUseBox(Background,1);
  274. TextDrawBoxColor(Background,0x00000033);
  275. TextDrawTextSize(Background,529.000000,0.000000);
  276. TextDrawAlignment(Background,0);
  277. TextDrawBackgroundColor(Background,0x000000ff);
  278. TextDrawFont(Background,1);
  279. TextDrawLetterSize(Background,-3.700000,5.100007);
  280. TextDrawColor(Background,0xffffffff);
  281. TextDrawSetProportional(Background,1);
  282. TextDrawSetShadow(Background,1);
  283.  
  284. Topbar = TextDrawCreate(HUD_INDEX+111.000000,HUD_INDEX2+75.000000,"_"); //borda de cima
  285. TextDrawUseBox(Topbar,1);
  286. TextDrawBoxColor(Topbar,0x00000ff);
  287. TextDrawTextSize(Topbar,530.000000,185.000000);
  288. TextDrawAlignment(Topbar,0);
  289. TextDrawBackgroundColor(Topbar,0x000000ff);
  290. TextDrawFont(Topbar,3);
  291. TextDrawLetterSize(Topbar,2.799999,-0.200000);
  292. TextDrawColor(Topbar,0xffffffff);
  293. TextDrawSetOutline(Topbar,1);
  294. TextDrawSetProportional(Topbar,1);
  295. TextDrawSetShadow(Topbar,1);
  296.  
  297. Leftbar = TextDrawCreate(HUD_INDEX+32.000000,HUD_INDEX2+75.000000,"_"); // borda esquerda
  298. TextDrawUseBox(Leftbar,1);
  299. TextDrawBoxColor(Leftbar,0x000000ff);
  300. TextDrawTextSize(Leftbar,530.000000,32.000000);
  301. TextDrawAlignment(Leftbar,0);
  302. TextDrawBackgroundColor(Leftbar,0x000000ff);
  303. TextDrawFont(Leftbar,3);
  304. TextDrawLetterSize(Leftbar,1.000000,5.299999);
  305. TextDrawColor(Leftbar,0xffffffff);
  306. TextDrawSetOutline(Leftbar,1);
  307. TextDrawSetProportional(Leftbar,1);
  308. TextDrawSetShadow(Leftbar,1);
  309.  
  310. Bottombar = TextDrawCreate(HUD_INDEX+32.000000,HUD_INDEX2+126.000000,"_"); // borda de baixo
  311. TextDrawUseBox(Bottombar,1);
  312. TextDrawBoxColor(Bottombar,0x000000ff);
  313. TextDrawTextSize(Bottombar,609.000000,82.000000);
  314. TextDrawAlignment(Bottombar,0);
  315. TextDrawBackgroundColor(Bottombar,0x000000ff);
  316. TextDrawFont(Bottombar,3);
  317. TextDrawLetterSize(Bottombar,1.500000,-0.200000);
  318. TextDrawColor(Bottombar,0xffffffff);
  319. TextDrawSetOutline(Bottombar,1);
  320. TextDrawSetProportional(Bottombar,1);
  321. TextDrawSetShadow(Bottombar,1);
  322.  
  323. Rightbar = TextDrawCreate(HUD_INDEX+113.000000,HUD_INDEX2+75.000000,"_"); // borda direita
  324. TextDrawUseBox(Rightbar,1);
  325. TextDrawBoxColor(Rightbar,0x000000ff);
  326. TextDrawTextSize(Rightbar,607.000000,-1.000000);
  327. TextDrawAlignment(Rightbar,0);
  328. TextDrawBackgroundColor(Rightbar,0x000000ff);
  329. TextDrawLetterSize(Rightbar,0.199999,5.399997);
  330. TextDrawFont(Rightbar,3);
  331. TextDrawColor(Rightbar,0xffffffff);
  332. TextDrawSetOutline(Rightbar,1);
  333. TextDrawSetProportional(Rightbar,1);
  334. TextDrawSetShadow(Rightbar,1);
  335.  
  336. SpeedBarBackground = TextDrawCreate(HUD_INDEX+38.000000,HUD_INDEX2+97.000000,"_"); // fundo barra velocidade
  337. TextDrawUseBox(SpeedBarBackground,1);
  338. TextDrawBoxColor(SpeedBarBackground,0x00ff0033);
  339. TextDrawTextSize(SpeedBarBackground,603.000000,64.000000);
  340. TextDrawAlignment(SpeedBarBackground,0);
  341. TextDrawBackgroundColor(SpeedBarBackground,0x000000ff);
  342. TextDrawFont(SpeedBarBackground,3);
  343. TextDrawLetterSize(SpeedBarBackground,1.000000,-0.000000);
  344. TextDrawColor(SpeedBarBackground,0xffffffff);
  345. TextDrawSetOutline(SpeedBarBackground,1);
  346. TextDrawSetProportional(SpeedBarBackground,1);
  347. TextDrawSetShadow(SpeedBarBackground,1);
  348.  
  349. HealthBarBackground = TextDrawCreate(HUD_INDEX+107.000000,HUD_INDEX2+120.000000,"_"); // fundo barra vida
  350. TextDrawUseBox(HealthBarBackground,1);
  351. TextDrawBoxColor(HealthBarBackground,0xff000033);
  352. TextDrawTextSize(HealthBarBackground,534.000000,0.000000);
  353. TextDrawAlignment(HealthBarBackground,0);
  354. TextDrawBackgroundColor(HealthBarBackground,0x000000ff);
  355. TextDrawFont(HealthBarBackground,3);
  356. TextDrawLetterSize(HealthBarBackground,1.000000,-0.000000);
  357. TextDrawColor(HealthBarBackground,0xffffffff);
  358. TextDrawSetOutline(HealthBarBackground,1);
  359. TextDrawSetProportional(HealthBarBackground,1);
  360. TextDrawSetShadow(HealthBarBackground,1);
  361.  
  362. LowHealthLine = TextDrawCreate(HUD_INDEX+56.000000,HUD_INDEX2+120.000000,"_"); // barra branca da vida
  363. TextDrawUseBox(LowHealthLine,1);
  364. TextDrawBoxColor(LowHealthLine,0xffffffff);
  365. TextDrawTextSize(LowHealthLine,551.000000,0.000000);
  366. TextDrawAlignment(LowHealthLine,0);
  367. TextDrawBackgroundColor(LowHealthLine,0x000000ff);
  368. TextDrawFont(LowHealthLine,3);
  369. TextDrawLetterSize(LowHealthLine,0.199999,-0.000000);
  370. TextDrawColor(LowHealthLine,0xffffffff);
  371. TextDrawSetOutline(LowHealthLine,1);
  372. TextDrawSetProportional(LowHealthLine,1);
  373. TextDrawSetShadow(LowHealthLine,1);
  374.  
  375. MoneyTD = TextDrawCreate(486.500,77.5000,"~g~R");
  376. TextDrawColor(MoneyTD, 0xffffffff);
  377. TextDrawLetterSize(MoneyTD, 0.575, 2.1);
  378. TextDrawFont(MoneyTD, 3);
  379. TextDrawBackgroundColor(MoneyTD, 0x00000AA);
  380. TextDrawSetOutline(MoneyTD, 2);
  381.  
  382. for(new i=0; i<GetMaxPlayers(); i++)
  383. {
  384.  
  385. WarPointsTD[i] = TextDrawCreate(90.00,280.0,"00:00");
  386. TextDrawColor(WarPointsTD[i], COLOR_COCONUT);
  387. TextDrawFont(WarPointsTD[i], 1);
  388. TextDrawSetOutline(WarPointsTD[i], 1);
  389. TextDrawSetProportional(WarPointsTD[i], 1);
  390. TextDrawAlignment(WarPointsTD[i], 2);
  391. TextDrawLetterSize(WarPointsTD[i], 0.3, 1.0);
  392.  
  393. format(str, 128, "- -~n~~g~Territ¦rio: ~w~Desocupado");
  394. ZoneName[i] = TextDrawCreate(87.0, 425.0, str);
  395. TextDrawColor(ZoneName[i], COLOR_ORANGE);
  396. TextDrawFont(ZoneName[i], 1);
  397. TextDrawSetOutline(ZoneName[i], 1);
  398. TextDrawSetProportional(ZoneName[i], 1);
  399. TextDrawAlignment(ZoneName[i], 2);
  400. TextDrawLetterSize(ZoneName[i], 0.3, 1.0);
  401.  
  402. HUDTexts[i] = TextDrawCreate(HUD_INDEX+35.000000,HUD_INDEX2+76.000000, " "); // escritas
  403. TextDrawAlignment(HUDTexts[i],0);
  404. TextDrawBackgroundColor(HUDTexts[i],0x000000ff);
  405. TextDrawFont(HUDTexts[i],1);
  406. TextDrawLetterSize(HUDTexts[i],0.199999,0.899999);
  407. TextDrawSetProportional(HUDTexts[i],1);
  408. TextDrawSetShadow(HUDTexts[i],1);
  409. TextDrawColor(HUDTexts[i],0xffff00ff);
  410.  
  411. SpeedBar[i] = TextDrawCreate(HUD_INDEX+38.000000,HUD_INDEX2+97.000000,"_"); // barra velocidade
  412. TextDrawUseBox(SpeedBar[i],1);
  413. TextDrawBoxColor(SpeedBar[i],0x00ff0066);
  414. TextDrawAlignment(SpeedBar[i],0);
  415. TextDrawBackgroundColor(SpeedBar[i],0x000000ff);
  416. TextDrawFont(SpeedBar[i],3);
  417. TextDrawLetterSize(SpeedBar[i],9.100000,-0.000000);
  418. TextDrawColor(SpeedBar[i],0xffffffff);
  419. TextDrawSetOutline(SpeedBar[i],1);
  420. TextDrawSetProportional(SpeedBar[i],1);
  421. TextDrawSetShadow(SpeedBar[i],1);
  422.  
  423. HealthBar[i] = TextDrawCreate(HUD_INDEX+38.000000,HUD_INDEX2+120.000000,"_"); // barra vida
  424. TextDrawUseBox(HealthBar[i],1);
  425. TextDrawBoxColor(HealthBar[i],0xff000066);
  426. TextDrawAlignment(HealthBar[i],0);
  427. TextDrawBackgroundColor(HealthBar[i],0x000000ff);
  428. TextDrawFont(HealthBar[i],3);
  429. TextDrawLetterSize(HealthBar[i],1.000000,-0.000000);
  430. TextDrawColor(HealthBar[i],0xffffffff);
  431. TextDrawSetOutline(HealthBar[i],1);
  432. TextDrawSetProportional(HealthBar[i],1);
  433. TextDrawSetShadow(HealthBar[i],1);
  434.  
  435. }
  436.  
  437. AddPlayerClass(26,-15.0451,-75.4585,1003.5542,90.0725,0,0,0,0,0,0);
  438.  
  439. for(new c=0;c<CAR_AMOUNT;c++)
  440. Gas[c] = GasMax;
  441.  
  442. Zip = CreateMenu("Loja casual", 1,27.0,267.0,150,150);
  443. AddMenuItem(Zip, 0, "Trocar-se");
  444. AddMenuItem(Zip, 0, "Comprar (R$50)");
  445. AddMenuItem(Zip, 0, "Sair <");
  446.  
  447. burgermenu = CreateMenu("Burger Shot", 2, 200.0, 100.0, 150.0, 150.0);
  448. AddMenuItem(burgermenu,0,"Sanduiches");
  449. AddMenuItem(burgermenu,0,"X-SIMPLES");
  450. AddMenuItem(burgermenu,0,"X-TUDO");
  451. AddMenuItem(burgermenu,0,"X-ESPECIAL");
  452. AddMenuItem(burgermenu,0,"X-FRANGO");
  453. AddMenuItem(burgermenu,0," ");
  454. AddMenuItem(burgermenu,0,"Bebidas");
  455. AddMenuItem(burgermenu,0,"Agua");
  456. AddMenuItem(burgermenu,0,"Sprunk");
  457. AddMenuItem(burgermenu,0," ");
  458. AddMenuItem(burgermenu,0,"Sair");
  459. AddMenuItem(burgermenu,1," ");
  460. AddMenuItem(burgermenu,1,"$2"); // Sharp Shooter
  461. AddMenuItem(burgermenu,1,"$4"); // Cheeseburger
  462. AddMenuItem(burgermenu,1,"$5"); // DP Sandwich
  463. AddMenuItem(burgermenu,1,"$3"); // Beefy Salad
  464. AddMenuItem(burgermenu,1," ");
  465. AddMenuItem(burgermenu,1," ");
  466. AddMenuItem(burgermenu,1,"$1"); // Water
  467. AddMenuItem(burgermenu,1,"$1"); // Sprunk
  468. AddMenuItem(burgermenu,1," ");
  469. AddMenuItem(burgermenu,1," ");
  470. DisableMenuRow(burgermenu, 0);
  471. DisableMenuRow(burgermenu, 5);
  472. DisableMenuRow(burgermenu, 6);
  473. DisableMenuRow(burgermenu, 9);
  474.  
  475. // Cluckin Bell
  476. chickenmenu = CreateMenu("Cluckin' Bell", 2, 200.0, 100.0, 150.0, 150.0);
  477. AddMenuItem(chickenmenu,0,"Carnes");
  478. AddMenuItem(chickenmenu,0,"Coracão no espeto");
  479. AddMenuItem(chickenmenu,0,"Carne de vaca");
  480. AddMenuItem(chickenmenu,0,"Carne de jacaré");
  481. AddMenuItem(chickenmenu,0,"Carne de frango");
  482. AddMenuItem(chickenmenu,0," ");
  483. AddMenuItem(chickenmenu,0,"Bebidas");
  484. AddMenuItem(chickenmenu,0,"Água");
  485. AddMenuItem(chickenmenu,0,"Sprunk");
  486. AddMenuItem(chickenmenu,0," ");
  487. AddMenuItem(chickenmenu,0,"Sair");
  488. AddMenuItem(chickenmenu,1," ");
  489. AddMenuItem(chickenmenu,1,"$2"); // Little Clucker
  490. AddMenuItem(chickenmenu,1,"$4"); // Nuggets
  491. AddMenuItem(chickenmenu,1,"$5"); // C Sandwich
  492. AddMenuItem(chickenmenu,1,"$3"); // Salad
  493. AddMenuItem(chickenmenu,1," ");
  494. AddMenuItem(chickenmenu,1," ");
  495. AddMenuItem(chickenmenu,1,"$1"); // Water
  496. AddMenuItem(chickenmenu,1,"$1"); // Sprunk
  497. AddMenuItem(chickenmenu,1," ");
  498. AddMenuItem(chickenmenu,1," ");
  499. DisableMenuRow(chickenmenu, 0);
  500. DisableMenuRow(chickenmenu, 5);
  501. DisableMenuRow(chickenmenu, 6);
  502. DisableMenuRow(chickenmenu, 9);
  503.  
  504. // Pizza Stack
  505. pizzamenu = CreateMenu("Well stacked pizza", 2, 200.0, 100.0, 150.0, 150.0);
  506. AddMenuItem(pizzamenu,0,"Pizza's");
  507. AddMenuItem(pizzamenu,0,"Presunto e mussarela - Pequena");
  508. AddMenuItem(pizzamenu,0,"Presunto e mussarela - Grande");
  509. AddMenuItem(pizzamenu,0,"Frango e azeitona");
  510. AddMenuItem(pizzamenu,0,"Bacon e chocolate");
  511. AddMenuItem(pizzamenu,0," ");
  512. AddMenuItem(pizzamenu,0,"Bebidas");
  513. AddMenuItem(pizzamenu,0,"Água");
  514. AddMenuItem(pizzamenu,0,"Sprunk");
  515. AddMenuItem(pizzamenu,0," ");
  516. AddMenuItem(pizzamenu,0,"Sair");
  517. AddMenuItem(pizzamenu,1," ");
  518. AddMenuItem(pizzamenu,1,"$2"); // Sicilian
  519. AddMenuItem(pizzamenu,1,"$4"); // Personal Pan
  520. AddMenuItem(pizzamenu,1,"$5"); // Sheet
  521. AddMenuItem(pizzamenu,1,"$3"); // Salad
  522. AddMenuItem(pizzamenu,1," ");
  523. AddMenuItem(pizzamenu,1," ");
  524. AddMenuItem(pizzamenu,1,"$1"); // Water
  525. AddMenuItem(pizzamenu,1,"$1"); // Sprunk
  526. AddMenuItem(pizzamenu,1," ");
  527. AddMenuItem(pizzamenu,1," ");
  528. DisableMenuRow(pizzamenu, 0);
  529. DisableMenuRow(pizzamenu, 5);
  530. DisableMenuRow(pizzamenu, 6);
  531. DisableMenuRow(pizzamenu, 9);
  532.  
  533. // Jim's sticky ring
  534. donutshop = CreateMenu("Jim's sticky ring", 2, 200.0, 100.0, 150.0, 150.0);
  535. AddMenuItem(donutshop,0,"Donuts");
  536. AddMenuItem(donutshop,0,"Little donut");
  537. AddMenuItem(donutshop,0,"Regular donut");
  538. AddMenuItem(donutshop,0,"Chief donut");
  539. AddMenuItem(donutshop,0,"Extra large donut");
  540. AddMenuItem(donutshop,0," ");
  541. AddMenuItem(donutshop,0,"Drinks");
  542. AddMenuItem(donutshop,0,"Bottle of water");
  543. AddMenuItem(donutshop,0,"Sprunk");
  544. AddMenuItem(donutshop,0," ");
  545. AddMenuItem(donutshop,0,"Leave");
  546. AddMenuItem(donutshop,1," ");
  547. AddMenuItem(donutshop,1,"$2"); // Little Donut
  548. AddMenuItem(donutshop,1,"$4"); // Regular Donut
  549. AddMenuItem(donutshop,1,"$5"); // Chief Donut
  550. AddMenuItem(donutshop,1,"$4"); // Extra large Donut
  551. AddMenuItem(donutshop,1," ");
  552. AddMenuItem(donutshop,1," ");
  553. AddMenuItem(donutshop,1,"$1"); // Water
  554. AddMenuItem(donutshop,1,"$1"); // Sprunk
  555. AddMenuItem(donutshop,1," ");
  556. AddMenuItem(donutshop,1," ");
  557. DisableMenuRow(donutshop, 0);
  558. DisableMenuRow(donutshop, 5);
  559. DisableMenuRow(donutshop, 6);
  560. DisableMenuRow(donutshop, 9);
  561.  
  562. Remedios = CreateMenu("Medicamentos", 1,27.0,267.0,150,150);
  563. AddMenuItem(Remedios, 0, "Pastilha");
  564. AddMenuItem(Remedios, 0, "Sair");
  565.  
  566.  
  567. //--------------------------------[Conce]---------------------------------------
  568.  
  569. for(new i; i <= HighestID; i++)
  570. {
  571. CarColor[i][0] = 1;
  572. CarColor[i][1] = 1;
  573. }
  574.  
  575. IRCInfo[0][iPlayers] = 0; IRCInfo[1][iPlayers] = 0; IRCInfo[2][iPlayers] = 0;
  576. IRCInfo[3][iPlayers] = 0; IRCInfo[4][iPlayers] = 0; IRCInfo[5][iPlayers] = 0;
  577. IRCInfo[6][iPlayers] = 0; IRCInfo[7][iPlayers] = 0; IRCInfo[8][iPlayers] = 0;
  578. IRCInfo[9][iPlayers] = 0;
  579.  
  580. CP_donutshop = CreateDynamicCP(379.0816,-184.1575,1000.6328,1.0);
  581. CP_pizzamenu = CreateDynamicCP(373.2310,-118.9228,1001.4922,1.0);
  582. CP_burgermenu = CreateDynamicCP(375.5965,-67.6347,1001.5151,1.0);
  583. CP_chickenmenu = CreateDynamicCP(369.0634,-6.1397,1001.8516,1.0);
  584.  
  585. //PlayerHaul[456][pCapasity] = 200;
  586. //PlayerHaul[499][pCapasity] = 120;
  587.  
  588. format(str,128,"%s %s", GM_NAME, GMVERSION);
  589. SetGameModeText(str);
  590. format(objstore, sizeof(objstore), "MOLE: Eu não recebi nada, volte a verificar-me mais tarde.");
  591. format(cbjstore, sizeof(cbjstore), "HQ: Não há nada nas proximidades (desligou)");
  592.  
  593. AllowInteriorWeapons(1);
  594. UsePlayerPedAnims();
  595. DisableInteriorEnterExits();
  596. SetWeather(10);
  597. EnableStuntBonusForAll(0);
  598.  
  599.  
  600. for(new i; i < sizeof(TurfsCoords); i++)
  601. Turfs[i] = GangZoneCreate(TurfsCoords[i][zMinX],TurfsCoords[i][zMinY],TurfsCoords[i][zMaxX],TurfsCoords[i][zMaxY]);
  602.  
  603. GZesc1 = GangZoneCreate(2023.7329,-1308.6792,2036.3606,-1271.4429);
  604. GZesc2 = GangZoneCreate(2322.7400,-1275.1301,2351.6729,-1214.8768);
  605. GZesc3 = GangZoneCreate(2599.1382,-1409.5922,2616.3203,-1391.6235);
  606. GZesc4 = GangZoneCreate(1284.0399,-1253.9760,1304.6503,-1235.4583);
  607. GZesc5 = GangZoneCreate(1090.5251,-1334.7067,1131.1555,-1311.0497);
  608.  
  609. //CARROS REPORTERES
  610. AddStaticVehicleEx(423,377.948272,-1861.466918,7.873738,90.586448,-1,-1,300); // ÐXàhðx
  611. AddStaticVehicleEx(423,377.888458,-1858.107910,7.863733,90.391502,-1,-1,300); // ÐXàhðx
  612. AddStaticVehicleEx(481,393.245056,-2051.710693,7.351076,86.740051,-1,-1,300); // ÐXàhðx
  613. AddStaticVehicleEx(582,782.994323,-1372.290405,13.622589,92.800804,-1,-1,300); // ÐXàhðx
  614. AddStaticVehicleEx(582,783.032592,-1338.720581,13.595813,85.772056,-1,-1,300); // Xàhðx
  615.  
  616. //CARROS PRODUTOS
  617. AddStaticVehicleEx(456,1770.0118,-2049.0852,13.8499,271.1727,-1,-1,-1);
  618. AddStaticVehicleEx(456,1769.7986,-2031.1731,13.8230,270.4986,-1,-1,-1);
  619. AddStaticVehicleEx(499,1768.4127,-2022.9679,14.1371,270.4728,-1,-1,-1);
  620. AddStaticVehicleEx(499,1776.7191,-2022.9093,13.9409,269.6101,-1,-1,-1);
  621. AddStaticVehicleEx(499,1803.4103,-2023.7441,13.5170,88.0744,33,1,-1); //
  622. AddStaticVehicleEx(499,1803.3483,-2031.7216,13.5158,88.9184,34,1,-1); //
  623. AddStaticVehicleEx(456,1802.0646,-2041.8818,13.7003,89.2407,3,1,-1); //
  624. AddStaticVehicleEx(456,1802.1399,-2050.4609,13.7270,90.9617,3,1,-1); //
  625.  
  626. //TREM
  627. AddStaticVehicleEx(537,1695.1025,-1953.6422,14.8756,89.9224,1,1,-1);
  628.  
  629. //PIZZABOY
  630. AddStaticVehicleEx(448,2097.9343,-1820.5526,12.9824,87.9441,3,3,-1);
  631. AddStaticVehicleEx(448,2097.9177,-1817.8826,12.9828,88.4948,3,3,-1);
  632. AddStaticVehicleEx(448,2097.8977,-1815.3229,12.9819,85.8323,3,3,-1);
  633.  
  634. //BARCO PRAIA
  635. AddStaticVehicleEx(452,720.1,-1694.0,-0.4,179.4,-1,-1,-1);
  636. AddStaticVehicleEx(452,721.2,-1629.4,-0.4,180.9,-1,-1,-1);
  637. AddStaticVehicleEx(452,739.5,-1670.5,-0.6,177.5,-1,-1,-1);
  638.  
  639. //CARROS AERO
  640. AddStaticVehicleEx(519,1678.3016,-2628.7173,14.4658,49.3289,1,1,-1);
  641. AddStaticVehicleEx(593,1887.0736,-2627.6543,13.5394,52.6116,-1,-1,-1);
  642. AddStaticVehicleEx(513,1835.3215,-2624.1938,13.5405,56.0569,-1,-1,-1);
  643. AddStaticVehicleEx(513,1813.2893,-2625.6296,13.5394,53.2858,-1,-1,-1);
  644. AddStaticVehicleEx(519,1745.8779,-2627.5608,14.4661,52.3235,1,1,-1);
  645.  
  646. //KART
  647. AddStaticVehicleEx(571,2286.2141,-2354.5000,12.8306,225.8705,-1,-1,-1);
  648. AddStaticVehicleEx(571,2279.9412,-2348.4141,12.8312,225.8585,-1,-1,-1);
  649. AddStaticVehicleEx(571,2291.7932,-2345.5356,12.8305,227.3060,-1,-1,-1);
  650. AddStaticVehicleEx(571,2287.5615,-2341.6433,12.8306,226.5350,-1,-1,-1);
  651. AddStaticVehicleEx(571,2299.6785,-2338.3186,12.8307,224.3563,-1,-1,-1);
  652. AddStaticVehicleEx(571,2295.3887,-2334.9448,12.8307,227.9102,-1,-1,-1);
  653.  
  654.  
  655. // veiculos especiais
  656.  
  657. //TAXI
  658. Taxi[0] = CreateVehicle(438,1283.6521,-1346.5459,13.4661,178.9249,6,6,-1);
  659. Taxi[1] = CreateVehicle(438,1283.7627,-1334.3375,13.4633,179.3616,6,6,-1);
  660. Taxi[2] = CreateVehicle(438,1283.9349,-1322.1501,13.4623,178.8945,6,6,-1);
  661. Taxi[3] = CreateVehicle(438,1283.5856,-1358.5704,13.4528,179.7636,6,6,-1);
  662. Taxi[4] = CreateVehicle(420,1778.2131,-1860.1453,13.2708,269.0264,6,6,-1);
  663. Taxi[5] = CreateVehicle(420,1769.6450,-1860.1581,13.2748,269.5392,6,6,-1);
  664. Taxi[6] = CreateVehicle(420,1759.8789,-1860.0267,13.2720,269.4789,6,6,-1);
  665. Taxi[7] = CreateVehicle(586,1807.3807,-1864.8661,13.1013,358.9504,6,6,-1); // mototaxi1
  666. Taxi[8] = CreateVehicle(586,1802.6227,-1864.7787,13.0979,358.9504,6,6,-1); // mototaxi1
  667. Taxi[9] = CreateVehicle(586,1797.8608,-1864.6914,13.0945,358.9504,6,6,-1); // mototaxi1
  668. Taxi[10] = CreateVehicle(586,1792.3903,-1864.5911,13.0906,358.9504,6,6,-1); // mototaxi1
  669. Taxi[11] = CreateVehicle(586,1272.3739,-1377.1772,12.8817,269.6112,6,6,-1); // mototaxi2
  670. Taxi[12] = CreateVehicle(586,1272.3739,-1373.1772,12.8817,269.6112,6,6,-1); // mototaxi2
  671. Taxi[13] = CreateVehicle(586,1272.3739,-1369.1772,12.8817,269.6112,6,6,-1); // mototaxi2
  672. Taxi[14] = CreateVehicle(586,1272.3739,-1365.1772,12.8817,269.6112,6,6,-1); // mototaxi2
  673.  
  674. //AMBULANCIA
  675. Ambucars[0] = CreateVehicle(416,1177.6060,-1338.8037,14.0330,269.6808,1,1,-1);
  676. Ambucars[1] = CreateVehicle(416,1178.3479,-1309.2926,13.9229,271.0665,1,1,-1);
  677. Ambucars[2] = CreateVehicle(416,2007.5313,-1412.5403,17.1415,178.0857,1,3,-1);
  678. Ambucars[3] = CreateVehicle(416,2011.2073,-1412.5118,17.1415,179.5017,1,3,-1);
  679. Ambucars[4] = CreateVehicle(416,2016.1810,-1412.4137,17.1415,179.1359,1,3,-1);
  680. Ambucars[5] = CreateVehicle(487,2029.6572,-1419.1365,17.1689,130.4088,1,3,900000000);
  681.  
  682. //ONIBUS
  683. Onibus[0] = CreateVehicle(431,-1544.1821,-2743.6370,48.6711,350.2824,0,3,-1);
  684. Onibus[1] = CreateVehicle(431,-1535.2756,-2748.0740,48.6710,350.4859,0,3,-1);
  685. Onibus[2] = CreateVehicle(437,1706.8353,-1879.7998,13.7019,359.7810,1,1,-1);
  686. Onibus[3] = CreateVehicle(437,1722.9727,-1880.0128,13.6670,0.3097,1,1,-1);
  687. Onibus[4] = CreateVehicle(437,1715.0496,-1880.0385,13.6708,359.7156,1,1,-1);
  688. Onibus[5] = CreateVehicle(437,1723.8018,-1899.3127,13.7227,359.8417,1,1,-1); //
  689. Onibus[6] = CreateVehicle(437,1714.8881,-1898.7686,13.7269,359.6778,1,1,-1); //
  690. Onibus[7] = CreateVehicle(437,1706.9634,-1898.5645,13.7308,0.4651,1,1,-1); //
  691.  
  692. //FUNERARIA
  693. Funecars[0] = CreateVehicle(442,939.4513,-1123.8505,23.8105,359.5648,0,0,-1);
  694. Funecars[1] = CreateVehicle(442,932.3912,-1123.8672,23.8079,0.8957,0,0,-1);
  695. Funecars[2] = CreateVehicle(442,936.0042,-1123.6740,23.8087,0.0130,0,0,-1);
  696. Funecars[3] = CreateVehicle(442,921.7950,-1123.6764,23.8087,0.0130,0,0,-1);
  697. Funecars[4] = CreateVehicle(442,929.0455,-1123.6752,23.8087,0.0130,0,0,-1);
  698. Funecars[5] = CreateVehicle(442,925.2615,-1123.6757,23.8087,0.0130,0,0,-1);
  699.  
  700. Sorvcars[0] = CreateVehicle(423,377.9043,-1861.4844,7.8607,90.9726,1,3,-1);
  701. Sorvcars[1] = CreateVehicle(423,377.8475,-1858.1400,7.8602,90.9726,1,126,-1);
  702.  
  703. //CARROS DO PIER LS
  704. PierCars[0] = CreateVehicle(481,393.5079,-2056.3369,7.3501,90.0651,-1,-1,-1);
  705. PierCars[1] = CreateVehicle(481,393.4997,-2055.1953,7.3488,90.0129,-1,-1,-1);
  706. PierCars[2] = CreateVehicle(481,393.4398,-2053.9944,7.3518,89.6062,-1,-1,-1);
  707. PierCars[3] = CreateVehicle(481,393.5062,-2052.8513,7.3491,90.8429,-1,-1,-1);
  708. PierCars[4] = CreateVehicle(481,393.4679,-2051.7219,7.3505,86.7383,-1,-1,-1);
  709. PierCars[5] = CreateVehicle(473,461.4720,-2086.0730,-0.1408,269.8363,56,53,-1);
  710. PierCars[6] = CreateVehicle(473,463.3431,-2079.2661,-0.4359,268.6142,56,15,-1);
  711. PierCars[7] = CreateVehicle(473,450.2050,-2078.6580,-0.1321,266.2647,56,15,-1);
  712. PierCars[8] = CreateVehicle(473,452.1678,-2086.4360,-0.3552,272.4464,56,15,-1);
  713. //BARCOS DESERTO
  714. PierCars[9] = CreateVehicle(453,-537.7947,2032.7981,40.3047,44.4352,1,1,-1); //
  715. PierCars[10] = CreateVehicle(453,-532.3051,2040.2784,40.2802,47.0291,1,1,-1); //
  716. PierCars[11] = CreateVehicle(453,-526.2849,2044.2684,40.2553,47.1781,1,1,-1); //
  717. PierCars[12] = CreateVehicle(453,-521.8433,2048.9417,40.2557,46.0027,1,1,-1); //
  718. PierCars[13] = CreateVehicle(453,-517.3040,2053.2383,40.2376,44.3725,1,1,-1); //
  719.  
  720. //REBOQUE
  721. Reboque[0] = CreateVehicle(525,2535.2002,-1472.8771,23.8848,310.6650,19,93,-1);
  722. Reboque[1] = CreateVehicle(525,2535.0840,-1458.3409,23.8627,227.7659,19,93,-1);
  723. Reboque[2] = CreateVehicle(525,2528.9512,-1460.5179,23.8197,221.2199,0,0,-1);
  724. Reboque[3] = CreateVehicle(525,2521.7068,-1460.5538,23.8400,219.2514,6,6,-1);
  725. Reboque[4] = CreateVehicle(525,2511.7546,-1458.5820,23.8628,180.5519,6,6,-1);
  726. Reboque[5] = CreateVehicle(525,2516.0732,-1458.7186,23.8539,180.4091,0,0,-1);
  727. Reboque[6] = CreateVehicle(525,2520.1992,-1478.7562,23.8714,356.6023,6,6,-1);
  728. Reboque[7] = CreateVehicle(525,2519.9199,-1490.6274,23.8719,179.3438,19,93,-1);
  729. Reboque[8] = CreateVehicle(525,2543.8896,-1455.9932,23.8951,182.7043,0,0,-1);
  730.  
  731. //JORNALEIRO
  732. MotoJornal[0] = CreateVehicle(462,645.0998,-1340.9602,13.1401,93.1701,19,19,-1);
  733. MotoJornal[1] = CreateVehicle(462,644.9573,-1344.0172,13.1431,89.3209,19,19,-1);
  734.  
  735. //AUTOESCOLA
  736. AutoEscolaCars[0] = CreateVehicle(487,968.3796,-921.3169,45.8504,186.1464,3,1,-1);
  737. AutoEscolaCars[1] = CreateVehicle(511,2114.7490,-2460.8594,15.1918,-270.0600,3,0,-1);
  738. AutoEscolaCars[2] = CreateVehicle(452,727.4453,-1494.2966,-0.5684,181.3097,3,0,-1);
  739. AutoEscolaCars[3] = CreateVehicle(496,961.4447,-935.1567,41.4075,182.1464,3,3,-1);
  740.  
  741. //LIXEIRO
  742. LixoCar[0]=CreateVehicle(408,1652.6023,-1891.4585,14.0539,359.6366,1,1,-1);
  743. LixoCar[1]=CreateVehicle(408,1658.4563,-1891.5300,14.0859,0.3657,1,1,-1);
  744. LixoCar[2]=CreateVehicle(408,1664.2563,-1891.3685,14.0499,0.0000,1,1,-1);
  745.  
  746. //ALUGUEL
  747. AluguelCar[0] = CreateVehicle(522,2134.5273,-1141.0148,24.7865,357.7130,-1, -1,-1);
  748. AluguelCar[1] = CreateVehicle(468,2129.8567,-1139.9231,24.8383,355.4016,-1, -1,-1);
  749. AluguelCar[2] = CreateVehicle(521,2124.1174,-1138.9146,24.7561,354.7087,-1, -1,-1);
  750. AluguelCar[3] = CreateVehicle(560,1099.3361,-1772.7250,13.0513,89.5248,-1, -1,-1);
  751. AluguelCar[4] = CreateVehicle(541,1098.9132,-1763.7777,13.0587,270.9571,-1, -1,-1);
  752. AluguelCar[5] = CreateVehicle(451,1077.4667,-1769.8392,13.0617,88.8205,-1, -1,-1);
  753. AluguelCar[6] = CreateVehicle(411,1084.2205,-1775.8218,13.0491,89.3638,-1, -1,-1);
  754. AluguelCar[7] = CreateVehicle(429,1084.1505,-1763.5984,13.0766,269.5680,-1, -1,-1);
  755. AluguelCar[8] = CreateVehicle(480,1061.7388,-1766.7123,13.0865,270.2267,-1, -1,-1);
  756. AluguelCar[9] = CreateVehicle(494,1062.3199,-1775.6952,13.0489,89.7958,-1, -1,-1);
  757.  
  758. //CARGAS CAMINHOES
  759. CaminhaoCarga[0] = CreateVehicle(584,-31.271,-273.547,5.994,270.0,-1,-1,-1);
  760. CaminhaoCarga[1] = CreateVehicle(591,-31.775,-283.415,5.994,270.0,-1,-1,-1);
  761. CaminhaoCarga[2] = CreateVehicle(435,-31.775,-293.415,5.994,270.0,-1,-1,-1);
  762. CaminhaoCarga[3] = CreateVehicle(584,-0.384,-364.430,6.000,90.0,-1,-1,-1);
  763. CaminhaoCarga[4] = CreateVehicle(450,-1.064,-354.122,6.000,90.0,-1,-1,-1);
  764. CaminhaoCarga[5] = CreateVehicle(591,-0.576,-343.237,6.000,90.0,-1,-1,-1);
  765. CaminhaoCarga[6] = CreateVehicle(584,-26.3447,-377.1222,6.5662,0.0,0,0,-1);
  766. CaminhaoCarga[7] = CreateVehicle(584,-32.7920,-377.1626,6.5662,0.0,0,0,-1);
  767. CaminhaoCarga[8] = CreateVehicle(584,-0.7975,-329.6024,6.5542,90.0,0,0,-1);
  768. CaminhaoCarga[9] = CreateVehicle(584,-31.2448,-288.7538,6.5687,270.0,1,1,-1);
  769. CaminhaoCarga[10] = CreateVehicle(591,-31.5978,-278.1114,6.0417,270.0,1,1,-1);
  770. CaminhaoCarga[11] = CreateVehicle(435,-0.6165,-336.2728,6.0604,90.0,1,1,-1);
  771. CaminhaoCarga[12] = CreateVehicle(450,-0.2536,-348.4604,6.0184,90.0,0,0,-1);
  772. CaminhaoCarga[13] = CreateVehicle(584,-10.9486,-377.7846,6.0458,0.0,0,0,-1);
  773. CaminhaoCarga[14] = CreateVehicle(591,-18.2756,-377.5608,6.0507,0.0,0,0,-1);
  774.  
  775. //CAMINHAO
  776. Caminhao[0] = CreateVehicle(515,12.3157,-261.4530,6.4492,90.5928,-1,-1,-1);
  777. Caminhao[1] = CreateVehicle(514,12.1916,-253.2386,6.4261,89.9418,-1,-1,-1);
  778. Caminhao[2] = CreateVehicle(403,11.7162,-244.8567,6.4472,90.7114,-1,-1,-1);
  779. Caminhao[3] = CreateVehicle(514,11.6735,-236.5745,6.4873,89.8028,-1,-1,-1);
  780. Caminhao[4] = CreateVehicle(403,12.1559,-228.1335,6.4497,89.9016,-1,-1,-1);
  781. Caminhao[5] = CreateVehicle(515,12.4148,-220.4234,6.4502,88.6152,-1,-1,-1);
  782. Caminhao[6] = CreateVehicle(515,-61.8209,-339.4611,6.4500,269.8938,63,78,-1);
  783. Caminhao[7] = CreateVehicle(514,-61.8128,-332.1478,6.0154,271.5972,25,1,-1);
  784. Caminhao[8] = CreateVehicle(514,-61.7213,-303.8103,6.0335,271.6735,28,1,-1);
  785. Caminhao[9] = CreateVehicle(514,-61.7473,-324.8668,6.0112,271.0111,28,1,-1);
  786. Caminhao[10] = CreateVehicle(514,-61.7492,-317.9115,6.0106,271.1630,25,1,-1);
  787. Caminhao[11] = CreateVehicle(515,-61.8810,-309.1674,6.4444,270.1548,63,78,-1);
  788. Caminhao[12] = CreateVehicle(403,-68.0199,-364.0667,6.4454,270.0,0,0,-1);
  789. Caminhao[13] = CreateVehicle(403,-68.6000,-372.0000,11.1760,270.0,0,0,-1);
  790. Caminhao[14] = CreateVehicle(403,-69.3677,-380.0089,6.4454,270.0,0,0,-1);
  791.  
  792. //HELIS
  793. HeliPM[0] = CreateVehicle(497,1561.8408,-1647.3222,28.6671,91.9995,-1,1,-1);
  794. SetVehicleToRespawn(HeliPM[0]);
  795.  
  796. //PM
  797. PMcars[0] = CreateVehicle(596,1583.7310,-1711.0839,5.6121,358.8266,0,1,-1);
  798. PMcars[1] = CreateVehicle(596,1574.3438,-1710.9773,5.6115,358.0470,0,1,-1);
  799. PMcars[2] = CreateVehicle(599,1591.8984,-1711.0039,5.6120,0.9427,0,1,-1);
  800. PMcars[3] = CreateVehicle(596,1569.9487,-1710.9144,5.6119,358.0,0,1,-1);
  801. PMcars[4] = CreateVehicle(596,1578.4396,-1711.3341,5.6115,1.1168,0,1,-1);
  802. PMcars[5] = CreateVehicle(427,1558.5815,-1712.0134,5.6507,358.6990,0,1,-1);
  803. PMcars[6] = CreateVehicle(599,1587.5361,-1711.1074,5.6110,359.9323,0,1,-1);
  804. PMcars[7] = CreateVehicle(523,1603.9171,-1709.7253,5.4530,29.7879,0,1,-1);
  805. PMcars[8] = CreateVehicle(523,1600.6285,-1709.9080,5.4596,34.8141,0,1,-1);
  806. PMcars[9] = CreateVehicle(523,1599.3773,-1712.5681,5.4577,28.6742,0,1,-1);
  807. PMcars[10] = CreateVehicle(596,1546.587768,-1680.320922,6.082784,91.397872,0,1,-1); // carro hq pm
  808. PMcars[11] = CreateVehicle(596,1546.026489,-1676.093139,6.083121,91.540084,0,1,-1); // carro hq pm
  809. PMcars[12] = CreateVehicle(596,1545.957519,-1671.760742,6.083563,88.825866,0,1,-1); // carro hq pm
  810. PMcars[13] = CreateVehicle(596,1530.407714,-1644.433227,6.015007,180.169616,0,1,-1); // ÐXàhðx
  811. PMcars[14] = CreateVehicle(596,1534.545288,-1644.474853,6.015298,179.610565,0,1,-1); // Xàhðx
  812.  
  813. //Policia Federal
  814. PFCars[0] = CreateVehicle(490,1746.7434000,-1768.9957000,13.6192000,543.4155000,-1,-1,-1); //FBI Rancher
  815. PFCars[1] = CreateVehicle(490,1752.5012000,-1768.9821000,13.6192000,543.4155000,-1,-1,-1); //FBI Rancher
  816. PFCars[2] = CreateVehicle(490,1757.5291000,-1768.7002000,13.6192000,543.4155000,-1,-1,-1); //FBI Rancher
  817. PFCars[3] = CreateVehicle(596,1762.9072000,-1768.7125000,13.1976000,-179.9400000,106,90,-1); //Police Car (LSPD)
  818. PFCars[4] = CreateVehicle(596,1767.0626000,-1768.6359000,13.1976000,-179.9400000,106,90,-1); //Police Car (LSPD)
  819. PFCars[5] = CreateVehicle(596,1772.2302000,-1768.5698000,13.1976000,-179.9400000,106,90,-1); //Police Car (LSPD)
  820. PFCars[6] = CreateVehicle(596,1776.4044000,-1768.5801000,13.1976000,-179.9400000,106,90,-1); //Police Car (LSPD)
  821. PFCars[7] = CreateVehicle(596,1780.7056000,-1768.4269000,13.1976000,-179.9400000,106,90,-1); //Police Car (LSPD)
  822. PFCars[8] = CreateVehicle(427,1742.0549000,-1769.4985000,13.5200000,-175.8569000,106,90,-1); //Enforcer
  823. PFCars[9] = CreateVehicle(427,1737.9716000,-1769.5979000,13.5200000,-175.8569000,106,90,-1); //Enforcer
  824. PFCars[10] = CreateVehicle(497,1712.5197000,-1767.1539000,32.9622000,-87.9000000,106,90,-1); //Police Maverick
  825. PFCars[11] = CreateVehicle(497,1725.6373000,-1775.8844000,32.9622000,34.2000000,106,106,-1); //Police Maverick
  826. PFCars[12] = CreateVehicle(497,1725.3519000,-1757.6975000,32.9622000,138.8400000,106,106,-1); //Police Maverick
  827. PFCars[13] = CreateVehicle(521,1783.2230000,-1812.8248000,13.1271000,28.6800000,106,106,-1); //FCR-900
  828. PFCars[14] = CreateVehicle(521,1785.0493000,-1812.7839000,13.1271000,28.6800000,106,106,-1); //FCR-900
  829. PFCars[15] = CreateVehicle(521,1786.9670000,-1812.5314000,13.1271000,28.6800000,106,106,-1); //FCR-900
  830. PFCars[16] = CreateVehicle(521,1789.1296000,-1812.5844000,13.1271000,28.6800000,106,106,-1); //FCR-900
  831. PFCars[17] = CreateVehicle(599,1773.9813000,-1797.6248000,14.1794000,339.9572000,106,90,-1); //Police Ranger
  832. PFCars[18] = CreateVehicle(599,1769.8502000,-1798.1382000,14.1794000,339.9572000,106,90,-1); //Police Ranger
  833. PFCars[19] = CreateVehicle(599,1766.0699000,-1798.5432000,14.1794000,339.9572000,106,90,-1); //Police Ranger
  834. PFCars[20] = CreateVehicle(599,1761.9075000,-1798.9160000,14.1794000,339.9572000,106,90,-1); //Police Ranger
  835. SetVehicleToRespawn(PFCars[10]);
  836. SetVehicleToRespawn(PFCars[11]);
  837. SetVehicleToRespawn(PFCars[12]);
  838.  
  839. //BOPE
  840. BopeCars[0] = CreateVehicle(599,135.3585000,-231.4626000,1.7711000,158.4468000,0,0,-1); //Police Ranger
  841. BopeCars[1] = CreateVehicle(599,130.5485000,-231.3652000,1.7732000,162.5484000,0,0,-1); //Police Ranger
  842. BopeCars[2] = CreateVehicle(597,129.5710000,-273.5609000,1.3499000,26.6788000,0,0,-1); //Police Car (SFPD)
  843. BopeCars[3] = CreateVehicle(490,141.3259000,-231.8777000,1.7000000,155.3178000,0,0,-1); //FBI Rancher
  844. BopeCars[4] = CreateVehicle(490,147.3105000,-231.9015000,1.6997000,160.5593000,0,0,-1); //FBI Rancher
  845. BopeCars[5] = CreateVehicle(490,153.4148000,-232.3424000,1.7025000,161.5182000,0,0,-1); //FBI Rancher
  846. BopeCars[6] = CreateVehicle(427,162.6203000,-244.8612000,1.7025000,90.9404000,0,0,-1); //Enforcer
  847. BopeCars[7] = CreateVehicle(427,162.9348000,-250.4416000,1.7348000,88.1849000,0,0,-1); //Enforcer
  848. BopeCars[8] = CreateVehicle(427,162.6514000,-255.3158000,1.7606000,88.1456000,0,0,-1); //Enforcer
  849. BopeCars[9] = CreateVehicle(427,162.8448000,-261.2596000,1.7401000,90.9025000,0,0,-1); //Enforcer
  850. BopeCars[10] = CreateVehicle(597,147.8588000,-273.7375000,1.3579000,27.1614000,0,0,-1); //Police Car (SFPD)
  851. BopeCars[11] = CreateVehicle(597,142.6884000,-273.7703000,1.3568000,20.6067000,0,0,-1); //Police Car (SFPD)
  852. BopeCars[12] = CreateVehicle(597,137.9522000,-273.7422000,1.3606000,18.8347000,0,0,-1); //Police Car (SFPD)
  853. BopeCars[13] = CreateVehicle(597,133.4995000,-273.6151000,1.3664000,22.4328000,0,0,-1); //Police Car (SFPD)
  854. BopeCars[14] = CreateVehicle(597,124.9503000,-273.4073000,1.2510000,27.3463000,0,0,-1); //Police Car (SFPD)
  855. BopeCars[15] = CreateVehicle(497,158.2588000,-322.4423000,11.4260000,266.8347000,0,0,-1); //Police Maverick
  856. BopeCars[16] = CreateVehicle(497,108.0976000,-324.2202000,11.4238000,267.9439000,0,0,-1); //Police Maverick
  857. BopeCars[17] = CreateVehicle(521,124.1607000,-229.2195000,1.1442000,179.6063000,0,0,-1); //FCR-900
  858. BopeCars[18] = CreateVehicle(521,122.4366000,-229.0211000,1.1479000,185.0709000,0,0,-1); //FCR-900
  859. BopeCars[19] = CreateVehicle(521,120.8409000,-228.9729000,1.1478000,184.3444000,0,0,-1); //FCR-900
  860. SetVehicleToRespawn(BopeCars[15]);
  861. SetVehicleToRespawn(BopeCars[16]);
  862.  
  863.  
  864. //FA
  865. FaCars[0] = CreateVehicle(548,2723.4238000,2704.9243000,12.6091000,91.7430000,-1,-1,-1); //Cargobob
  866. FaCars[1] = CreateVehicle(563,2722.2170000,2741.7703000,11.6837000,90.0591000,104,104,-1); //Raindance
  867. FaCars[2] = CreateVehicle(417,2722.8704000,2779.8445000,11.0677000,89.3164000,-1,-1,-1); //Leviathan
  868. FaCars[3] = CreateVehicle(432,2690.9976000,2665.2712000,10.8045000,90.8248000,-1,-1,-1); //Rhino
  869. FaCars[4] = CreateVehicle(432,2690.7048000,2648.5256000,10.7971000,88.3841000,-1,-1,-1); //Rhino
  870. FaCars[5] = CreateVehicle(432,2691.0024000,2656.4722000,10.7961000,91.3528000,-1,-1,-1); //Rhino
  871. FaCars[6] = CreateVehicle(520,2627.7607000,2683.7766000,11.5436000,140.8904000,-1,-1,-1); //Hydra
  872. FaCars[7] = CreateVehicle(520,2615.7007000,2686.5491000,11.5441000,153.1816000,-1,-1,-1); //Hydra
  873. FaCars[8] = CreateVehicle(520,2601.3064000,2686.8901000,11.5444000,150.4623000,-1,-1,-1); //Hydra
  874. FaCars[9] = CreateVehicle(425,2574.9890000,2690.0212000,11.5821000,180.3482000,-1,-1,-1); //Hunter
  875. FaCars[10] = CreateVehicle(425,2550.4958000,2689.2424000,11.5755000,178.5835000,-1,-1,-1); //Hunter
  876. FaCars[11] = CreateVehicle(425,2525.5134000,2688.9780000,11.6183000,178.9505000,-1,-1,-1); //Hunter
  877. FaCars[12] = CreateVehicle(433,2568.4661000,2710.7671000,11.2104000,358.4792000,-1,-1,-1); //Barracks
  878. FaCars[13] = CreateVehicle(433,2577.3909000,2710.7168000,11.2584000,358.7095000,-1,-1,-1); //Barracks
  879. FaCars[14] = CreateVehicle(470,2574.5425000,2768.7576000,10.8142000,0.7925000,-1,-1,-1); //Patriot
  880. FaCars[15] = CreateVehicle(470,2570.1655000,2768.7004000,10.8144000,0.4473000,-1,-1,-1); //Patriot
  881. FaCars[16] = CreateVehicle(470,2566.2380000,2768.7312000,10.8254000,0.7210000,-1,-1,-1); //Patriot
  882. FaCars[17] = CreateVehicle(470,2562.1555000,2768.7864000,10.8321000,0.2047000,-1,-1,-1); //Patriot
  883. FaCars[18] = CreateVehicle(470,2557.8289000,2768.8696000,10.8142000,0.5528000,-1,-1,-1); //Patriot
  884. FaCars[19] = CreateVehicle(500,2557.8933000,2792.0564000,10.9264000,180.1263000,104,104,-1); //Mesa
  885. FaCars[20] = CreateVehicle(500,2562.0898000,2792.0969000,10.9254000,180.7871000,104,104,-1); //Mesa
  886. FaCars[21] = CreateVehicle(500,2566.0959000,2792.0530000,10.9396000,182.2046000,104,104,-1); //Mesa
  887. FaCars[22] = CreateVehicle(500,2570.3455000,2792.1597000,10.9288000,179.6967000,104,104,-1); //Mesa
  888. FaCars[23] = CreateVehicle(500,2574.5750000,2792.2764000,10.9500000,177.9425000,104,104,-1); //Mesa
  889. FaCars[24] = CreateVehicle(497,2519.6052000,2815.0859000,10.9970000,91.8553000,99,99,-1); //Police Maverick
  890. FaCars[25] = CreateVehicle(497,2519.2563000,2835.9414000,10.9941000,88.9390000,99,99,-1); //Police Maverick
  891. FaCars[26] = CreateVehicle(581,2586.5042000,2768.5317000,10.4160000,87.6225000,104,104,-1); //BF-400
  892. FaCars[27] = CreateVehicle(581,2586.6121000,2772.3474000,10.4163000,87.2285000,104,104,-1); //BF-400
  893. FaCars[28] = CreateVehicle(581,2586.5181000,2776.4658000,10.4153000,89.2821000,104,104,-1); //BF-400
  894. FaCars[29] = CreateVehicle(581,2586.6514000,2779.7490000,10.4148000,89.6316000,104,104,-1); //BF-400
  895. FaCars[30] = CreateVehicle(595,2300.4355000,-2438.6951000,0.1986000,269.4498000,104,-1,-1); //Launch
  896. FaCars[31] = CreateVehicle(472,2300.1150000,-2444.9756000,-0.0643000,272.4972000,104,-1,-1); //Coastguard
  897. FaCars[32] = CreateVehicle(472,2299.4785000,-2451.4473000,0.3064000,273.2129000,104,-1,-1); //Coastguard
  898. FaCars[33] = CreateVehicle(595,2303.1492000,-2431.7778000,0.4985000,272.7849000,104,-1,-1); //Launch
  899. FaCars[34] = CreateVehicle(430,2299.4431000,-2458.7126000,-0.1702000,269.1650000,-1,104,-1); //Predator
  900. FaCars[35] = CreateVehicle(430,2301.9290000,-2466.8313000,-0.1526000,271.3130000,-1,104,-1); //Predator
  901. FaCars[36] = CreateVehicle(473,2302.4158000,-2426.7136000,-0.0598000,266.4101000,104,-1,-1); //Dinghy
  902. FaCars[37] = CreateVehicle(473,2303.9148000,-2420.8962000,-0.1152000,268.1951000,104,-1,-1); //Dinghy
  903. FaCars[38] = CreateVehicle(470,2271.4475000,-2441.1467000,13.5383000,89.1145000,-1,-1,-1); //Patriot
  904. FaCars[39] = CreateVehicle(470,2271.4883000,-2446.4709000,13.5419000,88.9052000,-1,-1,-1); //Patriot
  905. FaCars[40] = CreateVehicle(470,2271.3848000,-2452.5942000,13.5386000,89.3356000,-1,-1,-1); //Patriot
  906. FaCars[41] = CreateVehicle(417,2294.4058000,-2489.8157000,0.0725000,271.1143000,-1,-1,-1); //Leviathan
  907. SetVehicleToRespawn(FaCars[24]);
  908. SetVehicleToRespawn(FaCars[25]);
  909.  
  910. //BALLAS
  911. BallasCars[0] = CreateVehicle(468,1720.8518,-2126.5432,13.2171,90.4069,5,5,-1);
  912. BallasCars[1] = CreateVehicle(468,1720.9646,-2128.7402,13.2214,91.7801,5,5,-1);
  913. BallasCars[2] = CreateVehicle(468,1720.9852,-2130.9009,13.2219,89.9978,5,5,-1);
  914. BallasCars[3] = CreateVehicle(466,1720.2686,-2151.9524,13.3018,0.6428,5,5,-1);
  915. BallasCars[4] = CreateVehicle(466,1715.3024,-2152.0757,13.3006,1.9348,5,5,-1);
  916. BallasCars[5] = CreateVehicle(445,1699.6412,-2145.8376,13.4226,270.9723,5,5,-1);
  917. BallasCars[6] = CreateVehicle(445,1699.2732,-2140.5579,13.4225,269.9316,5,5,-1);
  918.  
  919. //Alqaeda
  920. TerrorCar[0] = CreateVehicle(592,-54.9188000,2504.1401000,17.6653000,268.3215000,40,40,-1); //Andromada
  921. TerrorCar[1] = CreateVehicle(487,197.3231000,2540.3359000,17.0246000,179.1034000,40,40,-1); //Maverick
  922. TerrorCar[2] = CreateVehicle(447,226.5505000,2541.2654000,16.8328000,179.8605000,-1,-1,-1); //Seasparrow
  923. TerrorCar[3] = CreateVehicle(425,254.9073000,2541.1575000,16.8808000,178.7851000,-1,-1,-1); //Hunter
  924. TerrorCar[4] = CreateVehicle(487,216.8749000,2463.3779000,16.6571000,359.5946000,40,40,-1); //Maverick
  925. TerrorCar[5] = CreateVehicle(520,288.1068000,2541.0144000,17.5429000,184.0150000,-1,-1,-1); //Hydra
  926. TerrorCar[6] = CreateVehicle(520,322.1076000,2540.5056000,17.5323000,179.0538000,-1,-1,-1); //Hydra
  927. TerrorCar[7] = CreateVehicle(520,360.7900000,2537.4077000,17.4112000,178.5420000,-1,-1,-1); //Hydra
  928. TerrorCar[8] = CreateVehicle(476,394.6010000,2541.4434000,17.2497000,177.4325000,40,40,-1); //Rustler
  929. TerrorCar[9] = CreateVehicle(560,427.6498000,2520.3220000,16.1865000,89.7519000,40,40,-1); //Sultan
  930. TerrorCar[10] = CreateVehicle(560,427.7357000,2516.7083000,16.1257000,92.2400000,40,40,-1); //Sultan
  931. TerrorCar[11] = CreateVehicle(560,427.6732000,2513.1821000,16.1497000,90.4884000,40,40,-1); //Sultan
  932. TerrorCar[12] = CreateVehicle(579,427.4265000,2508.9871000,16.5075000,94.1963000,40,40,-1); //Huntley
  933. TerrorCar[13] = CreateVehicle(402,427.6933000,2504.8250000,16.2554000,90.9333000,40,40,-1); //Buffalo
  934. TerrorCar[14] = CreateVehicle(560,427.3264000,2500.2769000,16.5869000,89.6193000,40,40,-1); //Sultan
  935. TerrorCar[15] = CreateVehicle(560,427.3008000,2495.6797000,16.5036000,88.7221000,40,40,-1); //Sultan
  936. TerrorCar[16] = CreateVehicle(461,428.3242000,2492.4941000,16.0726000,92.6707000,40,40,-1); //PCJ-600
  937. TerrorCar[17] = CreateVehicle(461,428.1531000,2491.0056000,16.0574000,78.6212000,40,40,-1); //PCJ-600
  938. TerrorCar[18] = CreateVehicle(461,428.3004000,2489.6299000,16.0588000,85.7267000,40,40,-1); //PCJ-600
  939. TerrorCar[19] = CreateVehicle(461,428.3790000,2487.8308000,16.0628000,92.8013000,40,40,-1); //PCJ-600
  940. TerrorCar[20] = CreateVehicle(461,428.5651000,2485.9050000,15.9777000,89.9364000,40,40,-1); //PCJ-600
  941. TerrorCar[21] = CreateVehicle(578,420.0211000,2466.7285000,17.0781000,90.0832000,40,40,-1); //DFT-30
  942. TerrorCar[22] = CreateVehicle(455,388.8882000,2466.6760000,16.9366000,269.6635000,40,40,-1); //Flatbed
  943. TerrorCar[23] = CreateVehicle(432,421.9553000,2437.9695000,16.5200000,39.8152000,-1,-1,-1); //Rhino
  944. TerrorCar[24] = CreateVehicle(432,403.7378000,2438.5801000,16.5200000,1.2562000,-1,-1,-1); //Rhino
  945. TerrorCar[25] = CreateVehicle(432,387.8236000,2438.3743000,16.4817000,321.9165000,-1,-1,-1); //Rhino
  946.  
  947.  
  948. //GROVE
  949. GrooveCars[0] = CreateVehicle(492,2508.2234, -1666.0660, 16.1821,11.7775,86,1,-1);
  950. GrooveCars[1] = CreateVehicle(600,2472.8267, -1693.8020, 16.2289,358.8534,86,1,-1);
  951. GrooveCars[2] = CreateVehicle(567,2491.9561, -1683.0052, 16.2356,284.4342,86,1,-1);
  952. GrooveCars[3] = CreateVehicle(468,2506.1201, -1651.2192, 16.0063,3.5523,86,1,-1);
  953. GrooveCars[4] = CreateVehicle(468,2504.0986, -1649.2535, 16.0063,138.9091,86,1,-1);
  954. GrooveCars[5] = CreateVehicle(466,2484.4897,-1655.0470,16.0643,89.3283,86,1,-1);
  955. GrooveCars[6] = CreateVehicle(492,2497.7290, -1655.2344, 16.1821,79.9200,86,1,-1);
  956. GrooveCars[7] = CreateVehicle(567,2471.0735, -1673.3507, 16.2356,-160.5600,86,1,-1);
  957.  
  958. //SAN NEWS
  959. AddStaticVehicleEx(582,783.2055,-1358.9709,13.5996,89.6965,-1,-1,-1);
  960. AddStaticVehicleEx(582,783.0294,-1352.2163,13.6007,88.3876,-1,-1,-1);
  961. AddStaticVehicleEx(582,782.8034,-1345.4120,13.5754,89.5560,-1,-1,-1);
  962. AddStaticVehicleEx(582,783.2316,-1365.9542,13.5948,89.1599,-1,-1,-1);
  963. AddStaticVehicleEx(488,740.5057,-1370.7836,25.8695,268.5099,2,29,-1);
  964.  
  965. //VAGOS
  966. VagosCars[0] = CreateVehicle(445,2343.7014000,-1231.0129000,27.8497000,0.1306000,6,6,-1); //Admiral
  967. VagosCars[1] = CreateVehicle(445,2350.5371000,-1230.9069000,27.8479000,0.3409000,6,6,-1); //Admiral
  968. VagosCars[2] = CreateVehicle(468,2334.5457000,-1192.5387000,27.6456000,179.6691000,6,6,-1); //Sanchez
  969. VagosCars[3] = CreateVehicle(468,2332.6616000,-1192.4723000,27.6383000,180.9739000,6,6,-1); //Sanchez
  970. VagosCars[4] = CreateVehicle(468,2330.7463000,-1192.6476000,27.6429000,183.5797000,6,6,-1); //Sanchez
  971. VagosCars[5] = CreateVehicle(466,2325.7180000,-1192.6504000,27.7189000,178.9342000,6,-1,-1); //Glendale
  972. VagosCars[6] = CreateVehicle(466,2320.8975000,-1192.7288000,27.7166000,180.8916000,6,-1,-1); //Glendale
  973.  
  974. //Hitman
  975. HitmanCars[0] = CreateVehicle(560,1051.2820000,-361.6709000,73.7086000,356.1506000,0,0,-1); //Sultan
  976. HitmanCars[1] = CreateVehicle(560,1047.4076000,-361.4096000,73.6973000,356.7415000,0,0,-1); //Sultan
  977. HitmanCars[2] = CreateVehicle(560,1061.8190000,-362.0193000,73.6975000,356.9184000,0,0,-1); //Sultan
  978. HitmanCars[3] = CreateVehicle(560,1067.4679000,-362.4821000,73.6971000,357.3797000,0,0,-1); //Sultan
  979. HitmanCars[4] = CreateVehicle(560,1057.2312000,-361.7354000,73.6928000,357.1404000,0,0,-1); //Sultan
  980. HitmanCars[5] = CreateVehicle(560,1071.5833000,-362.5668000,73.6973000,358.0272000,0,0,-1); //Sultan
  981. HitmanCars[6] = CreateVehicle(521,1109.9115000,-359.2380000,73.5537000,89.3333000,0,0,-1); //FCR-900
  982. HitmanCars[7] = CreateVehicle(521,1109.9047000,-356.0528000,73.5558000,89.0843000,0,0,-1); //FCR-900
  983. HitmanCars[8] = CreateVehicle(521,1109.9673000,-352.7553000,73.5602000,92.6592000,0,0,-1); //FCR-900
  984. HitmanCars[9] = CreateVehicle(521,1110.1809000,-349.8204000,73.5575000,84.6984000,0,0,-1); //FCR-900
  985. HitmanCars[10] = CreateVehicle(487,1115.9973000,-315.5059000,84.0935000,271.2938000,0,0,-1); //Maverick
  986. HitmanCars[11] = CreateVehicle(411,1109.5309000,-340.8013000,73.7175000,123.5328000,0,0,-1); //Infernus
  987. HitmanCars[12] = CreateVehicle(429,1111.8032000,-343.3159000,73.6675000,121.5476000,0,0,-1); //Banshee
  988.  
  989. //Bombeiros
  990. BombeCars[0] = CreateVehicle(407,2349.8186000,-1810.8386000,13.8018000,0.1805000,3,1,-1); //Firetruck
  991. BombeCars[1] = CreateVehicle(407,2339.2942000,-1810.7151000,13.8008000,359.8796000,3,1,-1); //Firetruck
  992. BombeCars[2] = CreateVehicle(407,2329.2800000,-1810.5580000,13.7944000,1.7241000,3,1,-1); //Firetruck
  993. BombeCars[3] = CreateVehicle(544,2318.4426000,-1810.9039000,13.8006000,359.2525000,3,1,-1); //Firetruck LA
  994. BombeCars[4] = CreateVehicle(563,2245.4841000,-1778.5055000,20.7856000,89.7324000,3,1,-1); //Raindance
  995. BombeCars[5] = CreateVehicle(563,2245.6082000,-1810.6237000,20.7616000,88.1963000,3,1,-1); //Raindance
  996. BombeCars[6] = CreateVehicle(490,2308.2419000,-1811.0563000,13.6756000,2.7494000,3,1,-1); //FBI Rancher
  997. BombeCars[7] = CreateVehicle(490,2298.3188000,-1811.1637000,13.6629000,359.9211000,3,1,-1); //FBI Rancher
  998. BombeCars[8] = CreateVehicle(490,2287.5889000,-1810.6595000,13.6601000,0.0099000,3,1,-1); //FBI Rancher
  999. BombeCars[9] = CreateVehicle(416,2392.3567000,-1800.1654000,13.6963000,90.1508000,1,3,-1); //Ambulance
  1000. BombeCars[10] = CreateVehicle(552,2303.5854000,-1780.9685000,13.3117000,0.1816000,3,1,-1); //Utility
  1001. BombeCars[11] = CreateVehicle(552,2308.4971000,-1780.8538000,13.2743000,0.7288000,3,1,-1); //Utility
  1002. BombeCars[12] = CreateVehicle(416,2391.8254000,-1805.9385000,13.7327000,89.5095000,3,3,-1); //Ambulance
  1003. BombeCars[13] = CreateVehicle(416,2391.5562000,-1811.1726000,13.7380000,90.4199000,3,3,-1); //Ambulance
  1004. BombeCars[14] = CreateVehicle(416,2391.3765000,-1815.5360000,13.7358000,86.2617000,3,3,-1); //Ambulance
  1005.  
  1006. //AZTECAS
  1007. AztecasCars[0] = CreateVehicle(468,2300.2568000,-2022.7699000,13.2112000,0.0000000,93,-1,-1); //Sanchez
  1008. AztecasCars[1] = CreateVehicle(468,2304.0183000,-2022.6390000,13.2063000,0.0000000,93,-1,-1); //Sanchez
  1009. AztecasCars[2] = CreateVehicle(468,2307.5874000,-2022.5538000,13.1996000,0.0000000,93,-1,-1); //Sanchez
  1010. AztecasCars[3] = CreateVehicle(466,2327.5522000,-2020.2804000,13.2853000,0.0000000,93,-1,-1); //Glendale
  1011. AztecasCars[4] = CreateVehicle(466,2331.6431000,-2020.2568000,13.2861000,0.0000000,93,-1,-1); //Glendale
  1012. AztecasCars[5] = CreateVehicle(445,2305.7534000,-2011.2083000,13.4204000,270.0000000,93,-1,-1); //Admiral
  1013. AztecasCars[6] = CreateVehicle(445,2305.7678000,-2006.4211000,13.4231000,270.0000000,93,-1,-1); //Admiral
  1014.  
  1015. //RUSSA
  1016. RussaCar[0] = CreateVehicle(507,-2762.8506000,-282.2211000,6.8697000,180.6740000,1,1,-1); //Elegant
  1017. RussaCar[1] = CreateVehicle(507,-2770.2603000,-282.1067000,6.8664000,180.7954000,1,1,-1); //Elegant
  1018. RussaCar[2] = CreateVehicle(507,-2777.7612000,-282.1694000,6.8644000,180.5902000,1,1,-1); //Elegant
  1019. RussaCar[3] = CreateVehicle(507,-2785.0928000,-282.1887000,6.8637000,180.1305000,1,1,-1); //Elegant
  1020. RussaCar[4] = CreateVehicle(461,-2765.6836000,-313.7052000,6.6214000,2.7978000,1,1,-1); //PCJ-600
  1021. RussaCar[5] = CreateVehicle(461,-2768.2476000,-313.7452000,6.6199000,0.6635000,1,1,-1); //PCJ-600
  1022. RussaCar[6] = CreateVehicle(461,-2771.0303000,-313.8938000,6.6188000,1.4930000,1,1,-1); //PCJ-600
  1023. RussaCar[7] = CreateVehicle(487,-2752.3713000,-252.0639000,7.3642000,180.0267000,1,1,-1); //Maverick
  1024.  
  1025. //YAKUZA
  1026. YakuzaCars[0] = CreateVehicle(426,1413.2062000,673.0959000,10.5638000,270.3896000,0,0,-1); //Premier
  1027. YakuzaCars[1] = CreateVehicle(426,1413.2775000,679.3380000,10.5638000,269.9227000,0,0,-1); //Premier
  1028. YakuzaCars[2] = CreateVehicle(426,1413.4991000,685.8184000,10.5634000,270.5662000,0,0,-1); //Premier
  1029. YakuzaCars[3] = CreateVehicle(426,1413.4542000,692.3337000,10.5634000,269.8597000,0,0,-1); //Premier
  1030. YakuzaCars[4] = CreateVehicle(461,1452.4033000,731.2368000,10.4005000,179.9903000,0,0,-1); //PCJ-600
  1031. YakuzaCars[5] = CreateVehicle(461,1455.0948000,731.1003000,10.4024000,179.5634000,0,0,-1); //PCJ-600
  1032. YakuzaCars[6] = CreateVehicle(461,1457.7106000,731.2119000,10.4035000,182.5752000,0,0,-1); //PCJ-600
  1033. YakuzaCars[7] = CreateVehicle(487,1429.5269000,769.6667000,10.9970000,179.0690000,0,0,-1); //Maverick
  1034.  
  1035.  
  1036. //ALQAEDA
  1037. for(new car = 1; car <= 500; car++)
  1038. {
  1039. SetVehicleNumberPlateEx(car,"PlayHard");
  1040. SetVehicleToRespawn(car);
  1041. VehicleInfo[car][vModel] = 0;
  1042. VehicleInfo[car][vX] = 0;
  1043. VehicleInfo[car][vY] = 0;
  1044. VehicleInfo[car][vZ] = 0;
  1045. VehicleInfo[car][vA] = 0;
  1046. VehicleInfo[car][vColor1] = -1;
  1047. VehicleInfo[car][vColor2] = -1;
  1048. VehicleInfo[car][vPaintjob] = -1;
  1049. format(VeiculoNome[car], MAX_PLAYER_NAME, "Nenhum");
  1050. format(vOwner[car], MAX_PLAYER_NAME, "Nenhum");
  1051. VehicleInfo[car][vPark] = 0;
  1052. VehicleInfo[car][vGm] = 2;
  1053. for(new m = 0; m < MAX_MODS; m++) VehicleInfo[car][vMod][m] = 0;
  1054. }
  1055.  
  1056. new label[128];
  1057.  
  1058. for(new i; i < MAX_PIX; i ++)
  1059. {
  1060. format(label, sizeof(label), "Pixação\n\nDono : %s",GetPixacaoOwner(i));
  1061. PixLabel[i] = Create3DTextLabel(label ,PixColors[Pixacao[i][Dono]], Pixacao[i][PixX], Pixacao[i][PixY], Pixacao[i][PixZ]+1.3,10.0,0);
  1062. }
  1063.  
  1064. for(new h = 0; h < MAX_HOUSES; h++)
  1065. {
  1066. if(HouseInfo[h][hOwned] == 1)
  1067. {
  1068. HouseInfo[h][hIcon] = CreateDynamicPickup(1239, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
  1069. pickups++;
  1070. if(HouseInfo[h][hRentabil] == 0)
  1071. format(label, sizeof(label), "Proprietário da casa: %s \nLevel : %d",hOwner[h],HouseInfo[h][hLevel]);
  1072. else
  1073. format(label, sizeof(label), "Proprietário da casa: %s \nAluguel: R$ %d - Level : %d \nDigite /alugarcasa para alugar um quarto",hOwner[h],HouseInfo[h][hRent],HouseInfo[h][hLevel]);
  1074.  
  1075. HouseInfo[h][HouseLabel] = Create3DTextLabel(label ,COLOR_LIGHTBLUE, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1.0,30.0,0);
  1076. }
  1077. if(HouseInfo[h][hOwned] == 0)
  1078. {
  1079. HouseInfo[h][hIcon] = CreateDynamicPickup(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
  1080. pickups++;
  1081. format(label, sizeof(label), "A casa está a venda \n Descricão: %s \n Preco: R$ %d - Level : %d\n Para comprar digite /comprarcasa",hDiscription[h],HouseInfo[h][hValue],HouseInfo[h][hLevel]);
  1082. HouseInfo[h][HouseLabel] = Create3DTextLabel(label ,COLOR_LIGHTBLUE, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1.0,30.0,0);
  1083. }
  1084. }
  1085.  
  1086. for(new h = 0; h < MAX_BIZ; h++)
  1087. {
  1088. if(BizzInfo[h][bOwned] == 0)
  1089. {
  1090. AddStaticPickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
  1091. pickups++;
  1092.  
  1093. format(label, sizeof(label), "%s\n A empresa está a venda\n Preco: R$ %d - Level : %d \n Para comprar: /comprarempresa",bMessage[h],BizzInfo[h][bBuyPrice],BizzInfo[h][bLevelNeeded]);
  1094. BizzInfo[h][bizzLabel] = Create3DTextLabel(label ,COLOR_LIGHTYELLOW,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1.0,30.0,0, 1);
  1095. }
  1096. if(BizzInfo[h][bOwned] == 1)
  1097. {
  1098. AddStaticPickup(1318, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
  1099. pickups++;
  1100.  
  1101. format(label, sizeof(label), "%s\nDono: %s\n Sócio: %s\n Taxa : R$ %d - Level : %d \n Use /entrar",bMessage[h],bOwner[h],bExtortion[h],BizzInfo[h][bEntranceCost],BizzInfo[h][bLevelNeeded]);
  1102. BizzInfo[h][bizzLabel] = Create3DTextLabel(label ,COLOR_LIGHTYELLOW,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1.0,30.0,0, 1);
  1103. }
  1104. }
  1105.  
  1106.  
  1107. for(new h = 0; h < MAX_SBIZ; h++)
  1108. {
  1109. if(SBizzInfo[h][sbOwned] == 0)
  1110. {
  1111. AddStaticPickup(1272, 1, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
  1112. pickups++;
  1113.  
  1114. format(label, sizeof(label), "%s\nA empresa está a venda\nPreco: R$ %d - Level : %d \nPara comprar: /comprarempresa",sbMessage[h],SBizzInfo[h][sbBuyPrice],SBizzInfo[h][sbLevelNeeded]);
  1115. SBizzInfo[h][sbizzLabel] = Create3DTextLabel(label ,COLOR_LIGHTYELLOW,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]+1.0,30.0,0, 1);
  1116.  
  1117. }
  1118. if(SBizzInfo[h][sbOwned] == 1)
  1119. {
  1120. AddStaticPickup(1239, 1, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
  1121. pickups++;
  1122.  
  1123. format(label, sizeof(label), "%s\nDono : %s\nSócio : %s\nTaxa: R$ %d - Level: %d \nEntrada /entrar",sbMessage[h],sbOwner[h],sbExtortion[h],SBizzInfo[h][sbEntranceCost],SBizzInfo[h][sbLevelNeeded]);
  1124. SBizzInfo[h][sbizzLabel] = Create3DTextLabel(label ,COLOR_LIGHTYELLOW,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]+1.0,30.0,0, 1);
  1125. }
  1126. }
  1127. PortaoF = CreateDynamicObject(10184,283.603,-1543.500,26.1816,0.0,0.0,55.579); //PF
  1128. PortaoG = CreateDynamicObject(10184,319.425,-1486.590,26.143,0.0,0.0,234.945); //PF
  1129. PortaoCofre = CreateDynamicObject(2634,2144.1823730469,1627.1091308594,994.31854248047,0.0,0.0,180.0);
  1130. PortaoBombeiroA = CreateDynamicObject(989, 2340.08, -1759.17, 14.31, 0.00, 0.00, 466.50);
  1131. PortaoBombeiroB = CreateDynamicObject(989, 2334.65, -1759.15, 14.31, 0.00, 0.00, 466.50);
  1132. PortaoBombeiroC = CreateDynamicObject(989, 2302.50, -1758.91, 14.31, 0.00, 0.00, 466.50);
  1133. PortaoBombeiroD = CreateDynamicObject(989, 2297.03, -1758.84, 14.31, 0.00, 0.00, 466.50);
  1134. PortaoIntDP = CreateDynamicObject(3037, 1589.62, -1638.44, 14.42, 0.00, 0.00, 90.00);
  1135. PortaoBOPE = CreateDynamicObject(971,86.3000000,-222.4900000,4.2000000,0.0000000,0.0000000,180.0000000); //
  1136. PortaPFa = CreateDynamicObject(1569, 295.89, 189.36, 1006.17, 0.00, 0.00, 0.00);
  1137. PortaPFb = CreateDynamicObject(1569, 274.90, 189.37, 1006.17, 0.00, 0.00, 0.00);
  1138. PortaPFc = CreateDynamicObject(1569, 238.01, 193.69, 1007.14, 0.00, 0.00, 0.00);
  1139. PortaPFd = CreateDynamicObject(1569, 230.72, 169.85, 1001.93, 0.00, 0.00, 0.00);
  1140. PortaPFe = CreateDynamicObject(1569, 228.23, 160.56, 1001.93, 0.00, 0.00, 90.00);
  1141. PortaPFf = CreateDynamicObject(1569, 228.23, 150.50, 1001.93, 0.00, 0.00, 90.00);
  1142. PortaoPF = CreateDynamicObject(971, 1699.49, -1792.69, 16.25, 0.00, 0.00, 270.00);
  1143. PortaoPF2 = CreateDynamicObject(971,1811.4600000,-1774.2500000,16.1700000,0.0000000,0.0000000,90.0000000); //
  1144. PortaoHitman = CreateDynamicObject(971,1022.4600000,-373.4500000,75.8900000,0.0000000,0.0000000,0.0600000); //
  1145. PortaoForaAero = CreateDynamicObject(975, 1962.29, -2189.88, 14.21, 0.00, 0.00, 0.00);
  1146. PortaoIntAero = CreateDynamicObject(988, 1953.86, -2339.57, 13.60, 0.00, 0.00, 180.00);
  1147. PortaoDP = CreateDynamicObject(971,1541.2300000,-1627.4000000,16.00000,0.0000000,0.0000000,268.7700000);
  1148. PortaoFA = CreateDynamicObject(985, 2497.37, 2777.21, 11.51, 0.00, 0.00, 90.00);
  1149. PortaoFAa = CreateDynamicObject(985, 2497.37, 2769.34, 11.51, 0.00, 0.00, 270.00);
  1150. PortaoLote = CreateDynamicObject(824,10.0396000000,1004.1797000000,89.27750000000,0.0,0.0,180.0);
  1151. PortaTrein = CreateDynamicObject(971, -1192.0064697266, -1058.5029296875, 131.79109191895, 0, 0, 270.25);
  1152. PortaPM = CreateDynamicObject(1495,241.68173218,74.36333466,1004.03906250,0.00000000,0.00000000,90.00000000);
  1153. PortaPM2 = CreateDynamicObject(1495,241.670471,77.36907196,1004.03906250,0.00000000,0.00000000,270.00000000);
  1154. PortaIntDP = CreateDynamicObject(1533,245.6500000,72.5200000,1002.5700000,0.0000000,0.0000000,0.0000000); //
  1155. PortaArsDP = CreateDynamicObject(1495,222.2100000,69.0500000,1004.0400000,0.0000000,0.0000000,90.0000000); //
  1156. PortaArssDP = CreateDynamicObject(1495,226.1200000,71.0400000,1004.0400000,0.0000000,0.0000000,90.0000000); //
  1157. PortaPref1 = CreateDynamicObject(1495,368.91741943,163.06221008,1013.17834473,0.00000000,0.00000000,270.00000000); //porta1andarfechada
  1158. PortaPref2 = CreateDynamicObject(1495,369.26248169,163.79017639,1018.98767090,0.00000000,0.00000000,270.00000000); //2andarFechada1
  1159. PortaPref3 = CreateDynamicObject(1495,369.29061890,160.80218506,1018.98437500,0.00000000,0.00000000,90.00000000); //2andarFechada2
  1160. PortaFbi = CreateDynamicObject(1495, 208.99853515625, 156.4765625, 1002.0331420898, 0, 0, 89.324493408203);
  1161. HeliportoFbi = CreateDynamicObject(3115, 365.64007568359, -1469.5129394531, 75.67790222168, 0, 0, 31.759826660156);
  1162. PortaoYkz = CreateDynamicObject(986,1523.3600000,663.4700000,11.4200000,0.0000000,0.0000000,0.0000000); //
  1163. PortaoYkz2 = CreateDynamicObject(986,1531.3900000,663.4700000,11.4200000,0.0000000,0.0000000,180.0000000); //
  1164. PortaoYkz3 = CreateDynamicObject(986,1443.4900000,663.4700000,11.4200000,0.0000000,0.0000000,0.0000000); //
  1165. PortaoYkz4 = CreateDynamicObject(986,1451.5000000,663.4700000,11.4200000,0.0000000,0.0000000,180.0000000); //
  1166. PortaoRussa = CreateDynamicObject(19313,-2655.8500000,-221.8900000,5.4100000,0.0000000,0.0000000,0.0000000); //
  1167. PortaoRussa2 = CreateDynamicObject(19313,-2805.1200000,-328.6300000,8.6400000,0.0000000,0.0000000,264.6500000); //
  1168. PortaReporter = CreateDynamicObject(976, 773.52679443359, -1330.1756591797, 12.735708236694, 0, 0, 0);
  1169.  
  1170. Suporte[0] = CreateDynamicObject(1656, 0.0, 0.0, -10, 0.00, 0.00, 0.00);// Suporte Heli
  1171. Suporte[1] = CreateDynamicObject(1656, 0.0, 0.0, -10, 0.00, 0.00, 0.00);// Suporte Heli
  1172.  
  1173. Caixa[1] = CreateDynamicObject(2942, 1508.3536,-1784.6677,13.1439, 0, 0, 181.35131835938);
  1174. Caixa[2] = CreateDynamicObject(2942, 1102.3358154297, -1448.9340820313, 15.439774513245, 0, 0, 91.309509277344);
  1175. Caixa[3] = CreateDynamicObject(2942, 1928.6900634766, -1769.6701660156, 13.189774513245, 0, 0, 93.294494628906);
  1176. Caixa[4] = CreateDynamicObject(2942, 2631.9370117188, -1266.2266845703, 49.585788726807, 0, 0, 179.36633300781);
  1177. Caixa[5] = CreateDynamicObject(2942, 1134.90234375, -922.58203125, 43.03352355957, 0, 0, 0);
  1178. Caixa[6] = CreateDynamicObject(2942, -122.038445, -367.301270, 1.331831, 0.0000, 0.0000, 22.5000);
  1179.  
  1180. CriarAlvo();
  1181. //===================================================
  1182. Balao = CreateObject(19332,2904.8999,-1096.9142,11.1487-1,0,0,180,3000);
  1183. Balao2 = CreateObject(19333,2906.4272,-1056.2058,11.0407-1,0,0,180,3000);
  1184. Balao3 = CreateObject(19334,2907.6707,-1012.4935,11.0469-1,0,0,180,3000);
  1185. Balao4 = CreateObject(19335,2908.6658,-969.0612,11.0407-1,0,0,180,3000);
  1186. Balao5 = CreateObject(19336,2910.4563,-925.4816,11.0469-1,0,0,180,3000);
  1187. Balao6 = CreateObject(19337,2912.0115,-882.0604,11.0469-1,0,0,180,3000);
  1188. Balao7 = CreateObject(19338,2913.2729,-839.3149,11.0469-1,0,0,180,3000);
  1189. //====================================================
  1190. Balao1Laser = CreateObject(18647,0.0,0.0,0.0,0,0,0);
  1191. Balao2Laser = CreateObject(18646,0.0,0.0,0.0,0,0,0);
  1192. Balao3Laser = CreateObject(18649,0.0,0.0,0.0,0,0,0);
  1193. Balao4Laser = CreateObject(18650,0.0,0.0,0.0,0,0,0);
  1194. Balao5Laser = CreateObject(18651,0.0,0.0,0.0,0,0,0);
  1195. Balao6Laser = CreateObject(18648,0.0,0.0,0.0,0,0,0);
  1196. Balao7Laser = CreateObject(18646,0.0,0.0,0.0,0,0,0);
  1197.  
  1198. //===================[ atach ] ================
  1199. AttachObjectToObject(Balao1Laser, Balao, 0.0, 0.0, 0.0+3, 0, 0, 270, 1);
  1200. AttachObjectToObject(Balao2Laser, Balao2, 0.0, 0.0, 0.0+3, 0, 0, 270, 1);
  1201. AttachObjectToObject(Balao3Laser, Balao3, 0.0, 0.0, 0.0+3, 0, 0, 270, 1);
  1202. AttachObjectToObject(Balao4Laser, Balao4, 0.0, 0.0, 0.0+3, 0, 0, 270, 1);
  1203. AttachObjectToObject(Balao5Laser, Balao5, 0.0, 0.0, 0.0+3, 0, 0, 270, 1);
  1204. AttachObjectToObject(Balao6Laser, Balao6, 0.0, 0.0, 0.0+3, 0, 0, 270, 1);
  1205. AttachObjectToObject(Balao7Laser, Balao7, 0.0, 0.0, 0.0+3, 0, 0, 270, 1);
  1206.  
  1207. //Icones em Lugares
  1208. AddStaticPickup(1239, 1, 2628.5437,-2107.5991,16.9531); //Point
  1209. AddStaticPickup(1239, 2, 379.5602,-116.5544,1001.4922); //pegar pizza
  1210. AddStaticPickup(1241, 1, 1465.240112,-1050.940673,24.015625);//Farmácia
  1211. AddStaticPickup(1239, 1, 356.0493,203.9216,1008.3828); //NewsReporter Registration & /jornal
  1212. AddStaticPickup(1239, 1, 362.1023,201.5996,1008.3828); //PaperBoy Registration
  1213. AddStaticPickup(1239, 1, 285.0267,-107.9303,1001.5156); //ArmsDealer Registration
  1214. AddStaticPickup(1239, 1, 1615.3705,-1502.8062,14.2257); //CarJacker Registration
  1215. AddStaticPickup(1279, 1, 2548.3142,-1293.8187,1044.1250); //Getting Drugs for DrugDealers
  1216. AddStaticPickup(1279, 1, 2230.0110,-2286.5144,14.3751); //Cimitério entrega de pacotes.
  1217. AddStaticPickup(371 , 1, 1544.2,-1353.4,329.4); //LS towertop
  1218. AddStaticPickup(371 , 1, 1536.0, -1360.0, 1150.0); //LS towertop
  1219. AddStaticPickup(1242, 1, 1527.5,-12.1,1002.0); //binco armor
  1220. AddStaticPickup(1314, 1, 756.5177,5.5925,1000.6992); //Luta
  1221. AddStaticPickup(1318, 1, 2255.5598,-1340.3625,24.0930); //Igreja
  1222. AddStaticPickup(1318, 1, 1642.3903,-2238.2710,13.4977); //ViajarLS
  1223. AddStaticPickup(1318, 1, -1422.5396,-286.6204,14.1484); //ViajarSF
  1224. AddStaticPickup(1318, 1, 1673.0880,1447.8702,10.7865); //ViajarLV
  1225. AddStaticPickup(1318, 1, 1489.0901,-1720.5302,8.1772); //Drogas
  1226. AddStaticPickup(1274, 1, 2631.9336,-1265.4479,49.9428); // CAIXA1
  1227. AddStaticPickup(1274, 1, 1929.3555,-1769.6917,13.5469); //CAIXA2
  1228. AddStaticPickup(1274, 1, 1508.3536,-1784.0064,13.5469); //CAIXA3
  1229. AddStaticPickup(1274, 1, 1103.0015,-1448.9043,15.7969); // CAIXA4
  1230. AddStaticPickup(1274, 1, 1134.9240,-923.2976,43.3906); //CAIXA5
  1231. AddStaticPickup(1274, 1, -121.6493,-368.1701,1.4500); //CAIXA6
  1232. AddStaticPickup(1239, 1, -50.5683,-232.3341,6.7646); //
  1233. AddStaticPickup(1318, 1, 2244.4446,-1665.2186,15.4766); //binco
  1234. AddStaticPickup(1318, 1, 1830.4603,-1768.1846,13.5469); //binco
  1235. AddStaticPickup(1318, 1, 1858.5580,-1792.8334,17.7473); //binco
  1236. AddStaticPickup(1239, 1, 2568.6938,-1296.7518,1044.1250); //vendedor de drogas
  1237. AddStaticPickup(1239, 1, 362.1283,173.5610,1008.3828); //empregos
  1238. AddStaticPickup(1275, 1, 207.5716,-100.8610,1005.2578); //Binco icone azul
  1239. AddStaticPickup(1318, 1, 1652.9908,-1272.3403,14.8132); //Condomínio entrada
  1240. AddStaticPickup(1318, 1, 1673.5195,-1219.6373,14.8980); //Condomínio entrada
  1241.  
  1242. //Hospitais
  1243. AddStaticPickup(1240, 1, 1173.2563,-1323.3102,15.3943); //Hospital 1 near Ammu
  1244. AddStaticPickup(1240, 1, 2029.5945,-1404.6426,17.2512); //Hospital 2 near speedway
  1245.  
  1246. //Entradas
  1247. AddStaticPickup(1318, 1, 1480.1219, -1778.5135, 13.5865); // Entrada Prefeitura
  1248. AddStaticPickup(1318, 1, 2232.8428,-1159.7899,25.8906); // Entrada Motoqueiros HQ
  1249. AddStaticPickup(1318, 1, 1257.6265,-785.2055,92.0302); // Entrada Comorra Hq
  1250. AddStaticPickup(1318, 1, 1524.630249,-1677.800781,6.218750); // Entrada Departamento2
  1251. AddStaticPickup(1318, 1, 1564.748657,-1666.576538,28.395606);// Entrada Subida
  1252. AddStaticPickup(1318, 1, 1022.4554,-1121.7389,23.8718); // Entrada PIMP entrada
  1253. AddStaticPickup(1240, 1, 279.3000,1853.5619,8.7649); // Entrada area51 health
  1254. AddStaticPickup(1318, 1, 1219.2091,-1812.0326,16.5938); // Entrada Auto Escola Entrada
  1255. AddStaticPickup(1247, 1, 1554.6616,-1675.8470,16.1953); // Entrada DP LS
  1256. AddStaticPickup(1247, 1, 1806.9131,-1747.2501,13.5394); // Entrada PF LS
  1257. AddStaticPickup(1247, 1, 1787.7010,-1766.6812,13.5414); // Entrada PF Carros
  1258. AddStaticPickup(1318, 1, 2424.3491,-1922.7054,13.5469); // Entrada 24/7 Perto Lowriders
  1259. AddStaticPickup(1318, 1, 1315.5110,-898.9860,39.5781); // Entrada 24/7 Palladium
  1260. AddStaticPickup(1318, 1, 1352.4741,-1757.7406,13.5078); // Entrada 24/7 Perto DP
  1261. AddStaticPickup(1318, 1, 2501.8171,-1495.0284,24.0000); // Entrada 24/7 Perto Ballas
  1262. AddStaticPickup(1318, 1, 1000.0048,-920.0107,42.3281); // Entrada 24/7 Posto Norte
  1263. AddStaticPickup(1318, 1, 374.3349,-2056.4150,8.0156); // Entrada 24/7 Pier
  1264. AddStaticPickup(1318, 1, 2770.6277,-1627.9957,12.1775); // Entrada hq pcc
  1265. AddStaticPickup(1318, 1, 2552.7019,-958.2281,82.6375); // Entrada hq fcv
  1266. AddStaticPickup(1318, 1, 1836.1659,-1682.4061,13.3593); // Entrada Alhambra
  1267. AddStaticPickup(1318, 1, 2595.2686,2790.7095,10.8158); // Entrada FA
  1268. AddStaticPickup(1318, 1, 2264.4968,1675.8313,1090.4453); // Entrada b
  1269. AddStaticPickup(1318, 1, 1548.6365,-1363.7911,326.2183); // Entrada a
  1270. AddStaticPickup(1318, 1, 2266.3604,1647.5522,1084.2344); // Entrada elevador
  1271. AddStaticPickup(1318, 1, 1571.0620,-1336.6965,16.4844); // Entrada entradaroubo
  1272. AddStaticPickup(1318, 1, 2104.7605,-1806.4418,13.5547); // Entrada well
  1273. AddStaticPickup(1318, 1, 928.3212,-1352.9554,13.3438); // Entrada chuck
  1274. AddStaticPickup(1318, 1, 1038.2190,-1340.5662,13.7431); // Entrada rosca
  1275. AddStaticPickup(1318, 1, 1003.9987,-1162.2505,23.8594); // Entrada entrada cassino
  1276. AddStaticPickup(1318, 1, 2229.4399,-1721.6360,13.5647); // Entrada gym enter
  1277. AddStaticPickup(1318, 1, 1940.4210,-2115.9280,13.6953); // Entrada put enter
  1278. AddStaticPickup(1318, 1, 810.4879,-1616.1256,13.5469); // Entrada burger shot 1 enter
  1279. AddStaticPickup(1318, 1, 1631.7124,-1172.2827,24.0843); // Entrada Loteria
  1280. AddStaticPickup(1318, 1, 2421.4075,-1219.6160,25.5380); // Entrada Putero LS
  1281. AddStaticPickup(1318, 1, 690.3526,-1276.0282,13.5598); // Entrada Da Nang Boys Enter
  1282. AddStaticPickup(1318, 1, 1368.1035,-1279.8251,13.5469); // Entrada Ammu entrar
  1283. AddStaticPickup(1318, 1, 648.8079,-1353.8242,13.5471); // Entrada a nuncio entrar
  1284. AddStaticPickup(1247, 1, 627.6260,-571.8636,17.6193); // Entrada pr entrar
  1285. AddStaticPickup(1318, 1, 611.0873,-583.5005,18.2109); // Entrada pr subir
  1286. AddStaticPickup(1247, 1, 76.3496, -293.0106, 1.5744); // Entrada BOPE entrar
  1287. AddStaticPickup(1318, 1, 1491.9025,737.9661,11.0165); // Entrada Yakuza
  1288. AddStaticPickup(1318, 1, -2719.3838,-319.2257,7.8375); // Entrada Russa
  1289. AddStaticPickup(1318, 1, 1695.4431,-2125.2075,13.8101); // Entrada Ballas
  1290. AddStaticPickup(1318, 1, 2495.3047,-1690.5782,14.7656); // Entrada Groove
  1291. AddStaticPickup(1318, 1, 2336.4343,-2017.7126,13.5469); // Entrada Aztecas
  1292. AddStaticPickup(1318, 1, 2341.2607,-1189.3638,28.0554); // Entrada Vagos
  1293. pickups=pickups+31;
  1294.  
  1295. SetWorldTime(ClockTime[tHour]+3);
  1296.  
  1297. SetTimer("GlobalTimer", 1000, true);
  1298. SetTimer("GangZonesCheck", 1000, true); // default = 500
  1299.  
  1300. //SetTimer("KickBots", 1000, true);
  1301.  
  1302. SetTimer("StealingTimer", 10000, true);
  1303. SetTimer("SyncClock",1000,true);
  1304. SetTimer("RouboCaixa", 5000, true);
  1305. SetTimer("CheckRadars", 2000, true);
  1306. SetTimer("SortearLoteria", 60*60*1000, true); // 1hora
  1307. SetTimer("Licenses", 1000, true);
  1308. SetTimer("SetPlayerUnjail", 1000, true);
  1309. SetTimer("CarCheck", 30000, true);
  1310. SetTimer("OneSecUpdate", 1000, true);
  1311. //SetTimer("Spectator", 2000, true);
  1312. SetTimer("RespawnCars",3600000, true); // rcars a cada 2 horas
  1313.  
  1314. SetTimer("GranaTerritorios", 180000, true);
  1315. SetTimer("SaveAccounts", 15*60*1000, true); //1 hour every account saved
  1316. SetTimer("CheckGas", 500, true);
  1317. SetTimer("CheckAFK", 3*60*1000, true);
  1318. SetTimer("Mensagens",15*60*1000,true);
  1319. SetTimer("Checkpedagio",500, true);
  1320. //SetTimer("CheckWeaponHack",1000,true);
  1321. SetTimer("CheckMH",1000,true);
  1322. SetTimer("CheckCarLife",500,true);
  1323. for(new v; v != MAX_VEHICLES; v++)
  1324. IsVehicleSpawned(v);
  1325. MAX_VEH_SPAWNED++;
  1326.  
  1327. CarInit();
  1328.  
  1329. WriteLog("server", "Gamemode initialized.");
  1330. return 1;
  1331. }
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement