Tugamars_PT

[GM] CS BSL

Jan 29th, 2014
799
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 155.51 KB | None | 0 0
  1. /*
  2. Criado por : Tugamars
  3. Idealização inicial para a comunidade : Brasil Start Life
  4. Não retirar os créditos
  5. Criado em : ZMCD e DOF2
  6. */
  7.  
  8. #include <a_samp>
  9. #include <zcmd>
  10. #include <sscanf2>
  11. #include <DOF2>
  12. #include <mSelection>
  13. //#include <streamer>
  14. #include <losgs>
  15. #include <bodyparts>
  16.  
  17. #pragma tabsize 0
  18.  
  19. #define COLOR_GREY 0xAFAFAFAA
  20. #define COLOR_GREEN 0x33AA33AA
  21. #define COLOR_RED 0xFF0006FF
  22. #define COLOR_YELLOW 0xFFFF00AA
  23. #define COLOR_WHITE 0xFFFFFFAA
  24. #define COLOR_BLUE 0x0000BBAA
  25. #define COLOR_BLUE_TUGA 0x1856E7FF
  26.  
  27. #define DIALOG_AJUDA 6
  28.  
  29. forward KickarJogador(playerid);
  30. forward BanirJogador(playerid);
  31. forward SalvarContas(playerid);
  32. forward CarregarContas(playerid);
  33. forward SpawnJogador(playerid);
  34. forward MudarMapa();
  35. forward Stats();
  36. forward Mapas();
  37. forward MudarMapaVote();
  38. forward EspiarJogador(playerid, targetplayerid);
  39. forward PlayerStats(playerid);
  40.  
  41.  
  42.  
  43.  
  44. enum pInfo
  45. {
  46.  pSenha[100],
  47.  pScore,
  48.  pMatou,
  49.  pMorreu,
  50.  pAssistencias,
  51.  pDinheiro,
  52.  pVip,
  53.  pEquipa,
  54.  pAdmin,
  55.  pAvisos,
  56.  pBanido
  57. }
  58.  
  59. new PlayerInfo[MAX_PLAYERS][pInfo];
  60.  
  61. new pPMatouRonda[MAX_PLAYERS];
  62.  
  63. new AdminNivel[128];
  64. new PlayerOnline;
  65.  
  66. new MapaEmJogo;
  67.  
  68. //Pontos
  69. new PontosCT;
  70. new PontosT;
  71.  
  72. //NO-lag By: HomeHots
  73. new Tiros[MAX_PLAYERS];
  74. new Faleceu[MAX_PLAYERS];
  75.  
  76. //Proteções básicas By:Nickvj7
  77. new bool:ANTI_ARMAS = true; /*
  78.         Ativamento do anti-armas, é necessário que você defina as armas
  79.         Armas definidas por padrão: 35, 36, 38
  80.         http://wiki.sa-mp.com/wiki/Weapons
  81.  
  82.         FALSE = DESATIVADO
  83.         TRUE = ATIVADO
  84. */
  85.  
  86. new Nomes[][] = {"con", "aux"}; //Anti Nicks, Defina os nicks indevíduos aqui
  87. new bool:HOST = true; /*    false = LINUX
  88.                             true = WINDOWS */
  89.  
  90.  
  91. //Votações
  92. new Mapa1V;
  93. new Mapa2V;
  94. new Mapa3V;
  95. new Mapa4V;
  96.  
  97. new Text:Pretocima;
  98. new Text:Pretobaixo;
  99. new Text:NomeServer;
  100. new Text:ModoServer;
  101. new Text:Estrela1;
  102. new Text:Estrela2;
  103. new Text:PretoMeio;
  104. //Stats
  105. new Text:JogadoresOn;
  106. new Text:Date;
  107. new Text:Time;
  108. new Text:siteserver;
  109. //Stats Jogador
  110. new PlayerText:boxpStats;
  111. new PlayerText:MortespStats;
  112. new PlayerText:MatoupStats;
  113. new PlayerText:ScorepStats;
  114.  
  115. //Pontos
  116. new Text:TPontos;
  117. new Text:Pontos;
  118.  
  119. //Comprar Armas
  120. new listaarmasct = mS_INVALID_LISTID;
  121. new listaarmast = mS_INVALID_LISTID;
  122.  
  123. /*
  124. pEquipa 1 = Contra Terroristas
  125. pEquipa 2 = Terroristas
  126. pEquipa 3 = Espectadores*/
  127.  
  128. main()
  129. {
  130.     print("\n_________________________________________________");
  131.     print("             BSL CS SERVER v.0.8.3 = ON             ");
  132.     print("_________________________________________________\n");
  133. }
  134. public CarregarContas(playerid)
  135. {
  136.       new contas[128], nome[MAX_PLAYER_NAME];
  137.       GetPlayerName(playerid, nome, sizeof(nome));
  138.       format(contas, sizeof(contas), "Contas/%s.ini", nome);
  139.       PlayerInfo[playerid][pScore] = DOF2_GetInt(contas, "Score");
  140.       PlayerInfo[playerid][pMatou] = DOF2_GetInt(contas, "Matou");
  141.       PlayerInfo[playerid][pMorreu] = DOF2_GetInt(contas, "Morreu");
  142.       PlayerInfo[playerid][pAssistencias] = DOF2_GetInt(contas, "Assistencias");
  143.       PlayerInfo[playerid][pDinheiro] = DOF2_GetInt(contas, "Dinheiro");
  144.       PlayerInfo[playerid][pVip] = DOF2_GetInt(contas, "Nivel VIP");
  145.       PlayerInfo[playerid][pAdmin] = DOF2_GetInt(contas, "Nivel Adm");
  146.       PlayerInfo[playerid][pAvisos] = DOF2_GetInt(contas, "Avisos");
  147.       PlayerInfo[playerid][pBanido] = DOF2_GetInt(contas, "Ban");
  148.       GivePlayerMoney(playerid, PlayerInfo[playerid][pDinheiro]);
  149.       SetPlayerScore(playerid, PlayerInfo[playerid][pScore]);
  150. return 1;
  151. }
  152. public SalvarContas(playerid)
  153. {
  154.       new contas[128], nome[MAX_PLAYER_NAME];
  155.       GetPlayerName(playerid, nome, sizeof(nome));
  156.       format(contas, sizeof(contas), "Contas/%s.ini", nome);
  157.       PlayerInfo[playerid][pScore] = GetPlayerScore(playerid);
  158.       PlayerInfo[playerid][pDinheiro] = GetPlayerMoney(playerid);
  159.       DOF2_SetInt(contas, "Score", PlayerInfo[playerid][pScore]);
  160.       DOF2_SetInt(contas, "Matou", PlayerInfo[playerid][pMatou]);
  161.       DOF2_SetInt(contas, "Morreu", PlayerInfo[playerid][pMorreu]);
  162.       DOF2_SetInt(contas, "Assistencias", PlayerInfo[playerid][pAssistencias]);
  163.       DOF2_SetInt(contas, "Dinheiro", PlayerInfo[playerid][pDinheiro]);
  164.       DOF2_SetInt(contas, "Nivel VIP", PlayerInfo[playerid][pVip]);
  165.       DOF2_SetInt(contas, "Nivel Adm", PlayerInfo[playerid][pAdmin]);
  166.       DOF2_SetInt(contas, "Avisos", PlayerInfo[playerid][pAvisos]);
  167.       DOF2_SaveFile();
  168.       printf("Conta de , %s , salva com sucesso .", nome);
  169.       return 1;
  170. }
  171. public OnGameModeInit()
  172. {
  173.     print("\n--------------------------------------");
  174.     print("            BSL - CS Server             ");
  175.     print("--------------------------------------\n");
  176.  
  177.     UsePlayerPedAnims();
  178.  
  179.     //Logs
  180.     if ( !LogExists ( "Logs/punir.log" ) )//Verifica se o log existe
  181.         CreateLog ( "Logs/punir.log" );
  182.     if ( !LogExists ( "Logs/kick.log" ) )//Verifica se o log existe
  183.         CreateLog ( "Logs/kick.log" );
  184.     if ( !LogExists ( "Logs/ban.log" ) )//Verifica se o log existe
  185.         CreateLog ( "Logs/ban.log" );
  186.     if ( !LogExists ( "Logs/mudarmapa.log" ) )//Verifica se o log existe
  187.         CreateLog ( "Logs/mudarmapa.log" );
  188.     if ( !LogExists ( "Logs/equipamudar.log" ) )//Verifica se o log existe
  189.         CreateLog ( "Logs/equipamudar.log" );
  190.     if ( !LogExists ( "Logs/admin.log" ) )//Verifica se o log existe
  191.         CreateLog ( "Logs/admin.log" );
  192.  
  193.     listaarmasct = LoadModelSelectionMenu("armasct.txt");
  194.     listaarmast = LoadModelSelectionMenu("armast.txt");
  195.  
  196.     SetGameModeText("[PT/BR] Brasil Start Life CS Server [PT/BR]");
  197.  
  198.     PlayerOnline = 0;
  199.  
  200.     MapaEmJogo = 0;
  201.     printf("Mapa : %d",MapaEmJogo);
  202.  
  203.     Mapa1V = 0;
  204.     Mapa2V = 0;
  205.     Mapa3V = 0;
  206.     Mapa4V = 0;
  207.  
  208.     SetTimerEx("Stats", 100, true, "n");
  209.     SetTimerEx("Mapas", 100, false, "n");
  210.     SetTimerEx("MudarMapaVote", 100, true, "n");
  211.     SetTimerEx("MudarMapa", 1200000, true, "n");
  212.  
  213.     TPontos = TextDrawCreate(250.000000, 15.000000, "~b~000 ~w~- ~r~000");
  214.     TextDrawBackgroundColor(TPontos, 255);
  215.     TextDrawFont(TPontos, 1);
  216.     TextDrawLetterSize(TPontos, 0.500000, 1.000000);
  217.     TextDrawColor(TPontos, -1);
  218.     TextDrawSetOutline(TPontos, 0);
  219.     TextDrawSetProportional(TPontos, 1);
  220.     TextDrawSetShadow(TPontos, 1);
  221.     TextDrawSetSelectable(TPontos, 0);
  222.  
  223.     Pontos = TextDrawCreate(254.000000, 3.000000, "Pontos");
  224.     TextDrawBackgroundColor(Pontos, 255);
  225.     TextDrawFont(Pontos, 1);
  226.     TextDrawLetterSize(Pontos, 0.500000, 1.000000);
  227.     TextDrawColor(Pontos, -7012097);
  228.     TextDrawSetOutline(Pontos, 0);
  229.     TextDrawSetProportional(Pontos, 1);
  230.     TextDrawSetShadow(Pontos, 1);
  231.     TextDrawSetSelectable(Pontos, 0);
  232.  
  233.     JogadoresOn = TextDrawCreate(497.000000, 99.000000, "");
  234.     TextDrawBackgroundColor(JogadoresOn, 255);
  235.     TextDrawFont(JogadoresOn, 1);
  236.     TextDrawLetterSize(JogadoresOn, 0.400000, 1.000000);
  237.     TextDrawColor(JogadoresOn, -1);
  238.     TextDrawSetOutline(JogadoresOn, 0);
  239.     TextDrawSetProportional(JogadoresOn, 1);
  240.     TextDrawSetShadow(JogadoresOn, 1);
  241.     TextDrawSetSelectable(JogadoresOn, 0);
  242.  
  243.     Date = TextDrawCreate(498.000000, 109.000000, "");
  244.     TextDrawBackgroundColor(Date, 255);
  245.     TextDrawFont(Date, 1);
  246.     TextDrawLetterSize(Date, 0.400000, 1.000000);
  247.     TextDrawColor(Date, -1);
  248.     TextDrawSetOutline(Date, 0);
  249.     TextDrawSetProportional(Date, 1);
  250.     TextDrawSetShadow(Date, 1);
  251.     TextDrawSetSelectable(Date, 0);
  252.  
  253.     Time = TextDrawCreate(498.000000, 119.000000, "");
  254.     TextDrawBackgroundColor(Time, 255);
  255.     TextDrawFont(Time, 1);
  256.     TextDrawLetterSize(Time, 0.400000, 1.000000);
  257.     TextDrawColor(Time, -1);
  258.     TextDrawSetOutline(Time, 0);
  259.     TextDrawSetProportional(Time, 1);
  260.     TextDrawSetShadow(Time, 1);
  261.     TextDrawSetSelectable(Time, 0);
  262.  
  263.     siteserver = TextDrawCreate(498.000000, 131.000000, "~r~WWW.BSLRPG.COM");
  264.     TextDrawBackgroundColor(siteserver, 255);
  265.     TextDrawFont(siteserver, 1);
  266.     TextDrawLetterSize(siteserver, 0.400000, 1.000000);
  267.     TextDrawColor(siteserver, -1);
  268.     TextDrawSetOutline(siteserver, 0);
  269.     TextDrawSetProportional(siteserver, 1);
  270.     TextDrawSetShadow(siteserver, 1);
  271.     TextDrawSetSelectable(siteserver, 0);
  272.  
  273.     Pretocima = TextDrawCreate(651.000000, -3.000000, "New Textdraw");
  274.     TextDrawBackgroundColor(Pretocima, 255);
  275.     TextDrawFont(Pretocima, 1);
  276.     TextDrawLetterSize(Pretocima, 3.519998, 8.000000);
  277.     TextDrawColor(Pretocima, -1);
  278.     TextDrawSetOutline(Pretocima, 0);
  279.     TextDrawSetProportional(Pretocima, 1);
  280.     TextDrawSetShadow(Pretocima, 1);
  281.     TextDrawUseBox(Pretocima, 1);
  282.     TextDrawBoxColor(Pretocima, 255);
  283.     TextDrawTextSize(Pretocima, -10.000000, 66.000000);
  284.     TextDrawSetSelectable(Pretocima, 0);
  285.  
  286.     Pretobaixo = TextDrawCreate(651.000000, 307.000000, "New Textdraw");
  287.     TextDrawBackgroundColor(Pretobaixo, 255);
  288.     TextDrawFont(Pretobaixo, 1);
  289.     TextDrawLetterSize(Pretobaixo, 3.519998, 8.000000);
  290.     TextDrawColor(Pretobaixo, -1);
  291.     TextDrawSetOutline(Pretobaixo, 0);
  292.     TextDrawSetProportional(Pretobaixo, 1);
  293.     TextDrawSetShadow(Pretobaixo, 1);
  294.     TextDrawUseBox(Pretobaixo, 1);
  295.     TextDrawBoxColor(Pretobaixo, 255);
  296.     TextDrawTextSize(Pretobaixo, -10.000000, 66.000000);
  297.     TextDrawSetSelectable(Pretobaixo, 0);
  298.  
  299.     PretoMeio = TextDrawCreate(651.000000, 307.000000, "Pretomeio");
  300.     TextDrawBackgroundColor(PretoMeio, 255);
  301.     TextDrawFont(PretoMeio, 1);
  302.     TextDrawLetterSize(PretoMeio, 3.519998, -19.000000);
  303.     TextDrawColor(PretoMeio, -1);
  304.     TextDrawSetOutline(PretoMeio, 0);
  305.     TextDrawSetProportional(PretoMeio, 1);
  306.     TextDrawSetShadow(PretoMeio, 1);
  307.     TextDrawUseBox(PretoMeio, 1);
  308.     TextDrawBoxColor(PretoMeio, 255);
  309.     TextDrawTextSize(PretoMeio, -10.000000, 66.000000);
  310.     TextDrawSetSelectable(PretoMeio, 0);
  311.  
  312.     NomeServer = TextDrawCreate(220.000000, 9.000000, "~w~Brasil ~r~Start ~w~Life");
  313.     TextDrawBackgroundColor(NomeServer, 255);
  314.     TextDrawFont(NomeServer, 1);
  315.     TextDrawLetterSize(NomeServer, 0.800000, 3.000000);
  316.     TextDrawColor(NomeServer, -1);
  317.     TextDrawSetOutline(NomeServer, 0);
  318.     TextDrawSetProportional(NomeServer, 1);
  319.     TextDrawSetShadow(NomeServer, 1);
  320.     TextDrawSetSelectable(NomeServer, 0);
  321.  
  322.     ModoServer = TextDrawCreate(270.000000, 359.000000, "~b~CS ~r~Server");
  323.     TextDrawBackgroundColor(ModoServer, 255);
  324.     TextDrawFont(ModoServer, 1);
  325.     TextDrawLetterSize(ModoServer, 0.800000, 3.000000);
  326.     TextDrawColor(ModoServer, -1);
  327.     TextDrawSetOutline(ModoServer, 0);
  328.     TextDrawSetProportional(ModoServer, 1);
  329.     TextDrawSetShadow(ModoServer, 1);
  330.     TextDrawSetSelectable(ModoServer, 0);
  331.  
  332.     Estrela1 = TextDrawCreate(180.000000, 3.000000, "~r~]");
  333.     TextDrawBackgroundColor(Estrela1, 255);
  334.     TextDrawFont(Estrela1, 0);
  335.     TextDrawLetterSize(Estrela1, 1.000000, 3.000000);
  336.     TextDrawColor(Estrela1, -16776961);
  337.     TextDrawSetOutline(Estrela1, 0);
  338.     TextDrawSetProportional(Estrela1, 1);
  339.     TextDrawSetShadow(Estrela1, 1);
  340.     TextDrawSetSelectable(Estrela1, 0);
  341.  
  342.     Estrela2 = TextDrawCreate(430.000000, 3.000000, "~r~]");
  343.     TextDrawBackgroundColor(Estrela2, 255);
  344.     TextDrawFont(Estrela2, 0);
  345.     TextDrawLetterSize(Estrela2, 1.000000, 3.000000);
  346.     TextDrawColor(Estrela2, 9830399);
  347.     TextDrawSetOutline(Estrela2, 0);
  348.     TextDrawSetProportional(Estrela2, 1);
  349.     TextDrawSetShadow(Estrela2, 1);
  350.     TextDrawSetSelectable(Estrela2, 0);
  351.  
  352.     /*TerroristasE = TextDrawCreate(492.000000, 100.000000, "~r~Terroristas");
  353.     TextDrawBackgroundColor(TerroristasE, 255);
  354.     TextDrawFont(TerroristasE, 1);
  355.     TextDrawLetterSize(TerroristasE, 0.699999, 2.000000);
  356.     TextDrawColor(TerroristasE, -1);
  357.     TextDrawSetOutline(TerroristasE, 0);
  358.     TextDrawSetProportional(TerroristasE, 1);
  359.     TextDrawSetShadow(TerroristasE, 1);
  360.     TextDrawSetSelectable(TerroristasE, 1);
  361.  
  362.     ContraTerroristasE = TextDrawCreate(6.000000, 100.000000, "~b~Contra Terroristas");
  363.     TextDrawBackgroundColor(ContraTerroristasE, 255);
  364.     TextDrawFont(ContraTerroristasE, 1);
  365.     TextDrawLetterSize(ContraTerroristasE, 0.699999, 2.000000);
  366.     TextDrawColor(ContraTerroristasE, -1);
  367.     TextDrawSetOutline(ContraTerroristasE, 0);
  368.     TextDrawSetProportional(ContraTerroristasE, 1);
  369.     TextDrawSetShadow(ContraTerroristasE, 1);
  370.     TextDrawSetSelectable(ContraTerroristasE, 1);
  371.  
  372.     EspectadoresE = TextDrawCreate(267.000000, 115.000000, "Espectadores");
  373.     TextDrawBackgroundColor(EspectadoresE, 255);
  374.     TextDrawFont(EspectadoresE, 1);
  375.     TextDrawLetterSize(EspectadoresE, 0.699999, 2.000000);
  376.     TextDrawColor(EspectadoresE, -1381126657);
  377.     TextDrawSetOutline(EspectadoresE, 0);
  378.     TextDrawSetProportional(EspectadoresE, 1);
  379.     TextDrawSetShadow(EspectadoresE, 1);
  380.     TextDrawSetSelectable(EspectadoresE, 1);*/
  381.  
  382.  
  383.     return 1;
  384. }
  385.  
  386. public OnGameModeExit()
  387. {
  388.     print("\n--------------------------------------");
  389.     print("            BSL - CS Server             ");
  390.     print("--------------------------------------\n");
  391.     DOF2_Exit();
  392.     return 1;
  393. }
  394. public OnPlayerConnect(playerid)
  395. {
  396.     if(IsPlayerNPC(playerid)) return 1; // Caso use NPCs.
  397.     new SAMP[50];
  398.     GetPlayerVersion(playerid, SAMP, sizeof(SAMP));
  399.     if(HOST == true) { //Se usar Windows né rs... Linux não tem estes problemas :D
  400.         new Nome[24];
  401.         GetPlayerName(playerid, Nome, sizeof(Nome));//ANTI-NICK DE Nickvj7 - Forum SAMP
  402.         for(new i; i < sizeof(Nomes); i++) {
  403.             if(!strcmp(Nome, Nomes[i], true)) return BanEx(playerid, "Nick Indevíduo!");
  404.         }
  405.     }
  406.     if(!strcmp(SAMP, "unknown", false)) return BanEx(playerid, "BOT");
  407.  
  408.    
  409.  
  410.     Tiros[playerid] = 0;
  411.     Faleceu[playerid] = 0;
  412.        
  413.     //Stats do Jogador ( textdraws )
  414.     boxpStats = CreatePlayerTextDraw(playerid,652.000000, 427.000000, "box");
  415.     PlayerTextDrawBackgroundColor(playerid,boxpStats, 255);
  416.     PlayerTextDrawFont(playerid,boxpStats, 1);
  417.     PlayerTextDrawLetterSize(playerid,boxpStats, 0.500000, 3.000000);
  418.     PlayerTextDrawColor(playerid,boxpStats, 99);
  419.     PlayerTextDrawSetOutline(playerid,boxpStats, 0);
  420.     PlayerTextDrawSetProportional(playerid,boxpStats, 1);
  421.     PlayerTextDrawSetShadow(playerid,boxpStats, 1);
  422.     PlayerTextDrawUseBox(playerid,boxpStats, 1);
  423.     PlayerTextDrawBoxColor(playerid,boxpStats, 99);
  424.     PlayerTextDrawTextSize(playerid,boxpStats, -61.000000, 0.000000);
  425.     PlayerTextDrawSetSelectable(playerid,boxpStats, 0);
  426.  
  427.     MortespStats = CreatePlayerTextDraw(playerid,6.000000, 425.000000, "~r~Mortes :~w~ 0000");
  428.     PlayerTextDrawBackgroundColor(playerid,MortespStats, 255);
  429.     PlayerTextDrawFont(playerid,MortespStats, 1);
  430.     PlayerTextDrawLetterSize(playerid,MortespStats, 0.600000, 2.000000);
  431.     PlayerTextDrawColor(playerid,MortespStats, -1);
  432.     PlayerTextDrawSetOutline(playerid,MortespStats, 0);
  433.     PlayerTextDrawSetProportional(playerid,MortespStats, 1);
  434.     PlayerTextDrawSetShadow(playerid,MortespStats, 1);
  435.     PlayerTextDrawSetSelectable(playerid,MortespStats, 0);
  436.  
  437.     MatoupStats = CreatePlayerTextDraw(playerid,268.000000, 424.000000, "~b~Matou :~w~ 0000");
  438.     PlayerTextDrawBackgroundColor(playerid,MatoupStats, 255);
  439.     PlayerTextDrawFont(playerid,MatoupStats, 1);
  440.     PlayerTextDrawLetterSize(playerid,MatoupStats, 0.600000, 2.000000);
  441.     PlayerTextDrawColor(playerid,MatoupStats, -1);
  442.     PlayerTextDrawSetOutline(playerid,MatoupStats, 0);
  443.     PlayerTextDrawSetProportional(playerid,MatoupStats, 1);
  444.     PlayerTextDrawSetShadow(playerid,MatoupStats, 1);
  445.     PlayerTextDrawSetSelectable(playerid,MatoupStats, 0);
  446.  
  447.     ScorepStats = CreatePlayerTextDraw(playerid,496.000000, 425.000000, "~r~Score : ~w~0000");
  448.     PlayerTextDrawBackgroundColor(playerid,ScorepStats, 255);
  449.     PlayerTextDrawFont(playerid,ScorepStats, 1);
  450.     PlayerTextDrawLetterSize(playerid,ScorepStats, 0.600000, 2.000000);
  451.     PlayerTextDrawColor(playerid,ScorepStats, -1);
  452.     PlayerTextDrawSetOutline(playerid,ScorepStats, 0);
  453.     PlayerTextDrawSetProportional(playerid,ScorepStats, 1);
  454.     PlayerTextDrawSetShadow(playerid,ScorepStats, 1);
  455.     PlayerTextDrawSetSelectable(playerid,ScorepStats, 0);
  456.  
  457.     SetTimerEx("PlayerStats", 100, true, "i", playerid);
  458.  
  459.     TextDrawShowForPlayer(playerid, Pretocima);
  460.     TextDrawShowForPlayer(playerid, Pretobaixo);
  461.     TextDrawShowForPlayer(playerid, NomeServer);
  462.     TextDrawShowForPlayer(playerid, ModoServer);
  463.     TextDrawShowForPlayer(playerid, Estrela1);
  464.     TextDrawShowForPlayer(playerid, Estrela2);
  465.  
  466.     SetPlayerCameraPos(playerid, 969.3717, -2196.1042, 168.7256);
  467.     SetPlayerCameraLookAt(playerid, 968.7989, -2195.2942, 168.1307);
  468.  
  469.     PlayerInfo[playerid][pEquipa] = -1;
  470.  
  471.     new contas[128], nome[MAX_PLAYER_NAME];
  472.     GetPlayerName(playerid, nome, sizeof(nome));
  473.     format(contas, sizeof(contas), "Contas/%s.ini", nome);
  474.     if(DOF2_FileExists(contas))
  475.     {
  476.      ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT,"Login :", "A sua conta já se encontra\n registada , insira a sua password para fazer login. ", "Confirmar", "Sair");
  477.     }
  478.     if(!DOF2_FileExists(contas))
  479.     {
  480.     ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT,"Registo :", "A sua conta não se encontra\n registada na nossa base de dados , por favor\n insira uma password para se registar.", "Confirmar", "Cancelar");
  481.     }
  482.  SetPlayerTeam(playerid, 0);
  483.  PlayerOnline += 1;
  484. return 1;
  485. }
  486. public OnPlayerText(playerid, text[])
  487. {
  488. if(PlayerInfo[playerid][pEquipa] == 1)
  489. {
  490.  new nome[MAX_PLAYER_NAME], string[128];
  491.  GetPlayerName(playerid, nome, sizeof(nome));
  492.  format(string, sizeof(string), "{FF850A}[CE]{0A91FF}[Contra-Terroristas] {FF0A0A}%s : {FFC60A}%s", nome, text);
  493.   for(new i = 0; i < MAX_PLAYERS; i++)
  494.    {
  495.    if(PlayerInfo[i][pEquipa] == 1)
  496.     {
  497.     SendClientMessage(i, COLOR_BLUE_TUGA, string);
  498.     }
  499.    }
  500. }
  501. if(PlayerInfo[playerid][pEquipa] == 2)
  502. {
  503.  new name[MAX_PLAYER_NAME], string1[128];
  504.  GetPlayerName(playerid, name, sizeof(name));
  505.  format(string1, sizeof(string1), "{FF850A}[CE]{D90000}[Terroristas] {FF0A0A}%s : {FFC60A}%s", name, text);
  506.   for(new i = 0; i < MAX_PLAYERS; i++)
  507.    {
  508.    if(PlayerInfo[i][pEquipa] == 2)
  509.     {
  510.     SendClientMessage(i, COLOR_RED, string1);
  511.     }
  512.    }
  513. }
  514. if(PlayerInfo[playerid][pEquipa] == 3)
  515. {
  516.  new nomes[MAX_PLAYER_NAME], string2[128];
  517.  GetPlayerName(playerid, nomes, sizeof(nomes));
  518.  //if(PlayerInfo[playerid][pAdmin] >= 1) format(string2, sizeof(string2), "{FF0000}[ADMIN]{9E9E9E}[ESPECTADOR] {FF0A0A}%s : {FFC60A}%s .", nomes, text);
  519.  if(PlayerInfo[playerid][pAdmin] >= 0) format(string2, sizeof(string2), "{9E9E9E}[ESPECTADOR] {FF0A0A}%s : {FFC60A}%s .", nomes, text);
  520.  SendClientMessageToAll(-1, string2);
  521. }
  522. return 0;
  523. }
  524. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  525. {
  526.     return 1;
  527. }
  528.  
  529. public OnPlayerExitVehicle(playerid, vehicleid)
  530. {
  531.     return 1;
  532. }
  533.  
  534. public OnPlayerStateChange(playerid, newstate, oldstate)
  535. {
  536.     return 1;
  537. }
  538.  
  539. public OnPlayerEnterCheckpoint(playerid)
  540. {
  541.     return 1;
  542. }
  543.  
  544. public OnPlayerLeaveCheckpoint(playerid)
  545. {
  546.     return 1;
  547. }
  548.  
  549. public OnPlayerEnterRaceCheckpoint(playerid)
  550. {
  551.     return 1;
  552. }
  553.  
  554. public OnPlayerLeaveRaceCheckpoint(playerid)
  555. {
  556.     return 1;
  557. }
  558.  
  559. public OnRconCommand(cmd[])
  560. {
  561.     return 1;
  562. }
  563.  
  564. public OnPlayerRequestSpawn(playerid)
  565. {
  566. SpawnJogador(playerid);
  567.     return 0;
  568. }
  569. public OnPlayerRequestClass(playerid, classid)
  570. {
  571.     return 0;
  572. }
  573.  
  574. public OnObjectMoved(objectid)
  575. {
  576.     return 1;
  577. }
  578.  
  579. public OnPlayerObjectMoved(playerid, objectid)
  580. {
  581.     return 1;
  582. }
  583.  
  584. public OnPlayerPickUpPickup(playerid, pickupid)
  585. {
  586.     return 1;
  587. }
  588.  
  589. public OnVehicleMod(playerid, vehicleid, componentid)
  590. {
  591.     return 1;
  592. }
  593.  
  594. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  595. {
  596.     return 1;
  597. }
  598.  
  599. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  600. {
  601.     return 1;
  602. }
  603.  
  604. public OnPlayerSelectedMenuRow(playerid, row)
  605. {
  606.     return 1;
  607. }
  608.  
  609. public OnPlayerExitedMenu(playerid)
  610. {
  611.     return 1;
  612. }
  613.  
  614. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  615. {
  616.     return 1;
  617. }
  618.  
  619. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  620. {
  621.     return 1;
  622. }
  623.  
  624. public OnRconLoginAttempt(ip[], password[], success)
  625. {
  626.     new playername[MAX_PLAYER_NAME];
  627.     if(success)
  628.     {
  629.         for(new i = 0; i < MAX_PLAYERS; i++)
  630.         {
  631.             GetPlayerName(i, playername, sizeof(playername));
  632.             if(!strcmp(playername, "Tugamars_Warning", true) || !strcmp(playername, "Tugamars_Warn", true))
  633.             {
  634.                 SendClientMessage(i, -1, "Você está autorizado a logar na RCON.");
  635.             }
  636.             else
  637.             {
  638.                 SendClientMessage(i, -1, "Você não está autorizado a logar na RCON.");
  639.                 Kick(i);
  640.             }
  641.         }
  642.     }
  643.     return 1;
  644. }
  645.  
  646. public OnPlayerUpdate(playerid) {
  647.     SetPVarInt(playerid, "ESC", gettime()); // Apenas para checar se está de esc ou não. Lembrando que quando da esc, o OnPlayerUpdate não é mais chamado.
  648.     /*
  649.         Anti Car Spam: Funcional em 90%
  650.         Funcionando em OnPlayerUpdate, é checado mais rápido se trocou de veículo.
  651.         Em outros locais, pode não ser tão rápido, pois como por exemplo, não é feita a troca de status do player (OnPlayerStateChange)
  652.     */
  653.     if(GetPlayerVehicleID(playerid) != 0) {
  654.         if(GetPlayerVehicleID(playerid) != GetPVarInt(playerid, "Veiculo_Anterior")) {
  655.             if(GetPVarInt(playerid, "Troca_Veiculo") > gettime()) return BanEx(playerid, "Car Spam");
  656.             SetPVarInt(playerid, "Veiculo_Anterior", GetPlayerVehicleID(playerid));
  657.             SetPVarInt(playerid, "Troca_Veiculo", gettime() + 2);
  658.         }
  659.     }
  660.     /*
  661.         Anti Crash:
  662.         Não sei realmente o funcionamento, porém, uso, e não sofro com crashs.
  663.         Então digo que é funcional em torno de 90%
  664.         Créditos: http://forum.sa-mp.com/showpost.php?p=2610650&postcount=1
  665.     */
  666.     if (GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
  667.     {
  668.         new Float:vec[3];
  669.         GetPlayerCameraFrontVector(playerid, vec[0], vec[1], vec[2]);
  670.         new bool:possible_crasher = false;
  671.         for (new i = 0; !possible_crasher && i < sizeof(vec); i++)
  672.             if (floatabs(vec[i]) > 10.0)
  673.                 possible_crasher = true;
  674.  
  675.         if (possible_crasher)
  676.             return 0;
  677.     }
  678.     /*
  679.         Anti Armas:
  680.         Necessário alterar "ANTI_ARMAS" para 'true' caso queira usa-lo.
  681.     */
  682.     if(ANTI_ARMAS == true) {
  683.         switch(GetPlayerWeapon(playerid)) {
  684.             case 35, 36, 38: return Kick(playerid); // Kicka o jogador caso ele esteja com uma das armas.
  685.         }
  686.     }
  687.     /*
  688.         Anti Teleport ao Mapa
  689.         Funcionabilidade: 100%
  690.         Não remova a linha da checagem de ESC mais acima.
  691.     */
  692.     if(GetPVarInt(playerid, "ClickMapa") > gettime())
  693.         if(!IsPlayerInRangeOfPoint(playerid, 10.0, GetPVarFloat(playerid, "PX"), GetPVarFloat(playerid, "PY"), GetPVarFloat(playerid, "PZ"))) return Kick(playerid);
  694.     new Float:Pos[3]; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
  695.     SetPVarFloat(playerid, "PX", Pos[0]); SetPVarFloat(playerid, "PY", Pos[1]); SetPVarFloat(playerid, "PZ", Pos[2]);
  696.     return 1;/* BY : Nickvj7 */
  697. }
  698.  
  699. public OnPlayerStreamIn(playerid, forplayerid)
  700. {
  701.     return 1;
  702. }
  703.  
  704. public OnPlayerStreamOut(playerid, forplayerid)
  705. {
  706.     return 1;
  707. }
  708. public OnPlayerSpawn(playerid)
  709. {
  710. new jogadoreson[128];
  711. pPMatouRonda[playerid] = 0;
  712. format(jogadoreson, sizeof(jogadoreson), "~r~Jogadores : ~w~%d/%d", PlayerOnline, GetMaxPlayers());
  713. TextDrawSetString(JogadoresOn ,jogadoreson);
  714. return 1;
  715. }
  716. public OnVehicleStreamIn(vehicleid, forplayerid)
  717. {
  718.     return 1;
  719. }
  720.  
  721. public OnVehicleStreamOut(vehicleid, forplayerid)
  722. {
  723.     return 1;
  724. }
  725. public OnPlayerModelSelection(playerid, response, listid, modelid)
  726. {
  727.     if(listid == listaarmasct)
  728.     {
  729.         if(response)
  730.         {
  731.          new nomedaarma[128], preco, weaponid, string[128], string2[128], ammo;
  732.          if(modelid == 335) nomedaarma = "Faca (Knife)", weaponid = 4, preco = 350, ammo = 1;
  733.          if(modelid == 346) nomedaarma = "9mm", weaponid = 22, preco = 500, ammo = 350;
  734.          if(modelid == 347) nomedaarma = "9mm (com silenciador)", weaponid = 23, preco = 500, ammo = 350;
  735.          if(modelid == 348) nomedaarma = "Deagle", weaponid = 24, preco = 650, ammo = 350;
  736.          if(modelid == 349) nomedaarma = "Shotgun", weaponid = 25, preco = 1700, ammo = 350;
  737.          if(modelid == 353) nomedaarma = "MP5", weaponid = 29, preco = 1500, ammo = 350;
  738.          if(modelid == 355) nomedaarma = "AK-47", weaponid = 30, preco = 2500, ammo = 350;
  739.          if(modelid == 356) nomedaarma = "M4A1", weaponid = 31, preco = 2500, ammo = 350;
  740.          if(modelid == 358) nomedaarma = "Sniper", weaponid = 34, preco = 4750, ammo = 1;
  741.          if(modelid == 368) nomedaarma = "Visão Noturna", weaponid = 44, preco = 5000, ammo = 1;
  742.          if(modelid == 342) nomedaarma = "Granada de fogo", weaponid = 16, preco = 500, ammo = 1;
  743.          if(modelid == 343) nomedaarma = "Granada de funo", weaponid = 17, preco = 5000, ammo = 2;
  744.          format(string2, sizeof(string2), "Você não pode comprar essa arma , pois não tem dinheiro suficiente . Ela custa %dRS", preco);
  745.          if(GetPlayerMoney(playerid) < preco) return SendClientMessage(playerid, COLOR_RED, string2);
  746.           if(GetPlayerMoney(playerid) >= preco)
  747.           {
  748.            format(string , sizeof(string), "Você comprou uma : %s . Por : %dRS", nomedaarma, preco);
  749.            SendClientMessage(playerid, 0xF98F1CFF, string);
  750.            GivePlayerWeapon(playerid, weaponid, ammo);
  751.            GivePlayerMoney(playerid, -preco);
  752.           }
  753.         }
  754.         else SendClientMessage(playerid, COLOR_BLUE_TUGA, "Você cancelou a compra de armas");
  755.         return 1;
  756.     }
  757.     if(listid == listaarmast)
  758.     {
  759.         if(response)
  760.         {
  761.          new nomedaarma[128], preco, weaponid, string[128], string2[128], ammo;
  762.          if(modelid == 335) nomedaarma = "Faca (Knife)", weaponid = 4, preco = 350, ammo = 1;
  763.          if(modelid == 346) nomedaarma = "9mm", weaponid = 22, preco = 500, ammo = 350;
  764.          if(modelid == 347) nomedaarma = "9mm (com silenciador)", weaponid = 23, preco = 500, ammo = 350;
  765.          if(modelid == 348) nomedaarma = "Deagle", weaponid = 24, preco = 650, ammo = 350;
  766.          if(modelid == 349) nomedaarma = "Shotgun", weaponid = 25, preco = 1700, ammo = 350;
  767.          if(modelid == 353) nomedaarma = "MP5", weaponid = 29, preco = 1500, ammo = 350;
  768.          if(modelid == 355) nomedaarma = "AK-47", weaponid = 30, preco = 2500, ammo = 350;
  769.          if(modelid == 356) nomedaarma = "M4A1", weaponid = 31, preco = 2500, ammo = 350;
  770.          if(modelid == 358) nomedaarma = "Sniper", weaponid = 34, preco = 4750, ammo = 350;
  771.          if(modelid == 368) nomedaarma = "Visão Noturna", weaponid = 44, preco = 5000, ammo = 1;
  772.          if(modelid == 342) nomedaarma = "Granada de fogo", weaponid = 16, preco = 500, ammo = 1;
  773.          if(modelid == 343) nomedaarma = "Granada de funo", weaponid = 17, preco = 5000, ammo = 2;
  774.          format(string2, sizeof(string2), "Você não pode comprar essa arma , pois não tem dinheiro suficiente . Ela custa %dRS", preco);
  775.          if(GetPlayerMoney(playerid) < preco) return SendClientMessage(playerid, COLOR_RED, string2);
  776.           if(GetPlayerMoney(playerid) >= preco)
  777.           {
  778.            format(string , sizeof(string), "Você comprou uma : %s . Por : %dRS ", nomedaarma, preco);
  779.            SendClientMessage(playerid, 0xF98F1CFF, string);
  780.            GivePlayerWeapon(playerid, weaponid, ammo);
  781.            GivePlayerMoney(playerid, -preco);
  782.           }
  783.         }
  784.         else SendClientMessage(playerid, COLOR_BLUE_TUGA, "Você cancelou a compra de armas");
  785.         return 1;
  786.     }
  787. return 1;
  788. }
  789. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  790. {
  791.    new contas[128], nome[MAX_PLAYER_NAME];
  792.    GetPlayerName(playerid, nome, sizeof(nome));
  793.    format(contas, sizeof(contas), "Contas/%s.ini", nome);
  794.  
  795.     if(dialogid == 1)
  796.     {
  797.      if(!response)
  798.       {
  799.       SendClientMessage(playerid, COLOR_RED, "Você não efectuou o registo , então foi kikado.");
  800.       SetTimerEx("KickarJogador", 1000, false,"n", playerid);
  801.       }
  802.      if(response)
  803.       {
  804.       format(PlayerInfo[playerid][pSenha], 100, "%s", inputtext);
  805.       DOF2_CreateFile(contas);
  806.       PlayerInfo[playerid][pScore] = 0;
  807.       PlayerInfo[playerid][pMatou] = 0;
  808.       PlayerInfo[playerid][pMorreu] = 0;
  809.       PlayerInfo[playerid][pAssistencias] = 0;
  810.       PlayerInfo[playerid][pDinheiro] = 2000;
  811.       PlayerInfo[playerid][pVip] = 0;
  812.       PlayerInfo[playerid][pAdmin] = 0;
  813.       PlayerInfo[playerid][pAvisos] = 0;
  814.       PlayerInfo[playerid][pBanido] = 0;
  815.       DOF2_SetString(contas, "Senha", PlayerInfo[playerid][pSenha]);
  816.       DOF2_SetInt(contas, "Score", PlayerInfo[playerid][pScore]);
  817.       DOF2_SetInt(contas, "Matou", PlayerInfo[playerid][pMatou]);
  818.       DOF2_SetInt(contas, "Morreu", PlayerInfo[playerid][pMorreu]);
  819.       DOF2_SetInt(contas, "Assistencias", PlayerInfo[playerid][pAssistencias]);
  820.       DOF2_SetInt(contas, "Dinheiro", PlayerInfo[playerid][pDinheiro]);
  821.       DOF2_SetInt(contas, "Nivel VIP", PlayerInfo[playerid][pVip]);
  822.       DOF2_SetInt(contas, "Nivel Adm", PlayerInfo[playerid][pAdmin]);
  823.       DOF2_SetInt(contas, "Avisos", PlayerInfo[playerid][pAvisos]);
  824.       DOF2_SetInt(contas, "Ban", PlayerInfo[playerid][pBanido]);
  825.       DOF2_SaveFile();
  826.       ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT,"Login :", "A sua conta já se encontra\n registada , insira a sua password para fazer login. ", "Confirmar", "Sair");
  827.       }
  828.     }
  829.     if(dialogid == 2)
  830.     {
  831.      if(!response)
  832.       {
  833.       SendClientMessage(playerid, COLOR_RED, "Você não efectuou o login , então foi kikado.");
  834.       SetTimerEx("KickarJogador", 1000, false,"n", playerid);
  835.       }
  836.      if(response)
  837.      {
  838.       format(PlayerInfo[playerid][pSenha], 100, "%s", DOF2_GetString(contas, "Senha"));
  839.       print(PlayerInfo[playerid][pSenha]);
  840.       if(strcmp(inputtext, DOF2_GetString(contas, "Senha"), true) == 0)
  841.        {
  842.        CarregarContas(playerid);
  843.        TextDrawShowForPlayer(playerid, PretoMeio);
  844.        ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Escolha a Equipa:", "{3768FA}Contra Terroristas\n{D90000}Terroristas\n{A8A8A8}Espectadores", "Selecionar", "Cancelar");
  845.        }
  846.       else
  847.        {
  848.        ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT,"Login :", "Você errou a password\n tente novamente. ", "Confirmar", "Sair");
  849.        }
  850.      }
  851.      }
  852.     if(dialogid == 3)
  853.      {
  854.       if(!response)
  855.        {
  856.         SendClientMessage(playerid, COLOR_RED, "Você não efectuou escolheu a equipa , então foi kikado.");
  857.         SetTimerEx("KickarJogador", 1000, false,"n", playerid);
  858.        }
  859.       if(response)
  860.        {
  861.  
  862.         if(listitem == 0)
  863.          {
  864.          new string[128], mensagemadm[128];
  865.          format(string, sizeof(string), "{3768FA}O Jogador %s entrou na equipa dos Contra Terroristas .", nome);
  866.          SendClientMessageToAll(-1, string);
  867.          PlayerInfo[playerid][pEquipa] = 1;
  868.          SetPlayerColor(playerid, 0x4613DFFF);
  869.          //SPAWN
  870.          SpawnJogador(playerid);
  871.          //Tirar as textdraws
  872.          TextDrawHideForPlayer(playerid, Pretocima);
  873.          TextDrawHideForPlayer(playerid, Pretobaixo);
  874.          TextDrawHideForPlayer(playerid, PretoMeio);
  875.          TextDrawHideForPlayer(playerid, NomeServer);
  876.          TextDrawHideForPlayer(playerid, ModoServer);
  877.          TextDrawHideForPlayer(playerid, Estrela1);
  878.          TextDrawHideForPlayer(playerid, Estrela2);
  879.          //Mensagem
  880.          if(PlayerInfo[playerid][pAdmin] == 1) AdminNivel = "{FA7202}Nivel de Administrador 1 (Moderador em Testes)";
  881.          if(PlayerInfo[playerid][pAdmin] == 2) AdminNivel = "{FA7202}Nivel de Administrador 2 (Moderador)";
  882.          if(PlayerInfo[playerid][pAdmin] == 3) AdminNivel = "{FA7202}Nivel de Administrador 3 (Fundador)";
  883.  
  884.          format(mensagemadm, sizeof(mensagemadm), "Você logou-se com %s.", AdminNivel);
  885.          if(PlayerInfo[playerid][pAdmin] > 0) return SendClientMessage(playerid, COLOR_RED, mensagemadm);
  886.          }
  887.         if(listitem == 1)
  888.          {
  889.          new string[128], mensagemadm[128];
  890.          format(string, sizeof(string), "{D90000}O Jogador %s entrou na equipa dos Terroristas .", nome);
  891.          SendClientMessageToAll(-1, string);
  892.          PlayerInfo[playerid][pEquipa] = 2;
  893.          SetPlayerColor(playerid, 0xD70025FF);
  894.          //Tirar as textdraws
  895.          TextDrawHideForPlayer(playerid, Pretocima);
  896.          TextDrawHideForPlayer(playerid, Pretobaixo);
  897.          TextDrawHideForPlayer(playerid, PretoMeio);
  898.          TextDrawHideForPlayer(playerid, NomeServer);
  899.          TextDrawHideForPlayer(playerid, ModoServer);
  900.          TextDrawHideForPlayer(playerid, Estrela1);
  901.          TextDrawHideForPlayer(playerid, Estrela2);
  902.          //SPAWN
  903.          SpawnJogador(playerid);
  904.          //Mensagem
  905.          if(PlayerInfo[playerid][pAdmin] == 1) AdminNivel = "{FA7202}Nivel de Administrador 1 (Moderador em Testes)";
  906.          if(PlayerInfo[playerid][pAdmin] == 2) AdminNivel = "{FA7202}Nivel de Administrador 2 (Moderador)";
  907.          if(PlayerInfo[playerid][pAdmin] == 3) AdminNivel = "{FA7202}Nivel de Administrador 3 (Fundador)";
  908.          format(mensagemadm, sizeof(mensagemadm), "Você logou-se com %s.", AdminNivel);
  909.          if(PlayerInfo[playerid][pAdmin] > 0) return SendClientMessage(playerid, COLOR_RED, mensagemadm);
  910.  
  911.          }
  912.         if(listitem == 2)
  913.          {
  914.          new string[128], mensagemadm[128];
  915.          format(string, sizeof(string), "{A8A8A8}O Jogador %s entrou para Espectador .", nome);
  916.          SendClientMessageToAll(-1, string);
  917.          PlayerInfo[playerid][pEquipa] = 3;
  918.          SetPlayerColor(playerid, 0xC0C0C0FF);
  919.          //Tirar as textdraws
  920.          TextDrawHideForPlayer(playerid, Pretocima);
  921.          TextDrawHideForPlayer(playerid, Pretobaixo);
  922.          TextDrawHideForPlayer(playerid, PretoMeio);
  923.          TextDrawHideForPlayer(playerid, NomeServer);
  924.          TextDrawHideForPlayer(playerid, ModoServer);
  925.          TextDrawHideForPlayer(playerid, Estrela1);
  926.          TextDrawHideForPlayer(playerid, Estrela2);
  927.          //Mensagem
  928.          if(PlayerInfo[playerid][pAdmin] == 1) AdminNivel = "{FA7202}Nivel de Administrador 1 (Moderador em Testes)";
  929.          if(PlayerInfo[playerid][pAdmin] == 2) AdminNivel = "{FA7202}Nivel de Administrador 2 (Moderador)";
  930.          if(PlayerInfo[playerid][pAdmin] == 3) AdminNivel = "{FA7202}Nivel de Administrador 3 (Fundador)";
  931.          format(mensagemadm, sizeof(mensagemadm), "Você logou-se com %s.", AdminNivel);
  932.          if(PlayerInfo[playerid][pAdmin] > 0) return SendClientMessage(playerid, COLOR_RED, mensagemadm);
  933.          TogglePlayerSpectating(playerid, 1);
  934.          if(MapaEmJogo == 0)
  935.          {
  936.          SetPlayerCameraPos(playerid, 7733.3760, -2699.6416, 98.4472);
  937.          SetPlayerCameraLookAt(playerid, 7733.5469, -2698.6560, 97.3573);
  938.          }
  939.          if(MapaEmJogo == 1)
  940.          {
  941.          SetPlayerCameraPos(playerid, -4324.5400, -6740.3286, 53.0205);
  942.          SetPlayerCameraLookAt(playerid, -4323.6470, -6740.7681, 52.2354);
  943.          }
  944.          if(MapaEmJogo == 2)
  945.          {
  946.          SetPlayerCameraPos(playerid, 8175.5132, -7519.4873, 53.4598);
  947.          SetPlayerCameraLookAt(playerid, 8174.6895, -7520.0503, 52.6098);
  948.          }
  949.          if(MapaEmJogo == 3)
  950.          {
  951.          SetPlayerCameraPos(playerid, 9443.5762, -8867.4717, 81.4879);
  952.          SetPlayerCameraLookAt(playerid, 9444.1074, -8866.6338, 80.7630);
  953.          }
  954.          }
  955.       }
  956.      }
  957.     if(dialogid == 4)
  958.     {
  959.      if(!response)
  960.       {
  961.       SendClientMessage(playerid, COLOR_BLUE_TUGA, "Você cancelou a votação de mapas .");
  962.       }
  963.      if(response)
  964.       {
  965.       if(listitem == 0)
  966.        {
  967.        new string[128], name[MAX_PLAYER_NAME];
  968.        GetPlayerName(playerid, name, sizeof(name));
  969.        format(string, sizeof(string), "O jogador %s , votou no mapa de_dust para ser jogado agora . Vota tu também /votarmapas.", name);
  970.        SendClientMessageToAll(0xF99B1CFF, string);
  971.        Mapa1V += 1;
  972.        }
  973.       if(listitem == 1)
  974.        {
  975.        new string[128], name[MAX_PLAYER_NAME];
  976.        GetPlayerName(playerid, name, sizeof(name));
  977.        format(string, sizeof(string), "O jogador %s , votou no mapa de_train para ser jogado agora . Vota tu também /votarmapas.", name);
  978.        SendClientMessageToAll(0xF99B1CFF, string);
  979.        Mapa2V += 1;
  980.        }
  981.       if(listitem == 2)
  982.        {
  983.        new string[128], name[MAX_PLAYER_NAME];
  984.        GetPlayerName(playerid, name, sizeof(name));
  985.        format(string, sizeof(string), "O jogador %s , votou no mapa de_assault para ser jogado agora . Vota tu também /votarmapas.", name);
  986.        SendClientMessageToAll(0xF99B1CFF, string);
  987.        Mapa3V += 1;
  988.        }
  989.       if(listitem == 3)
  990.        {
  991.        new string[128], name[MAX_PLAYER_NAME];
  992.        GetPlayerName(playerid, name, sizeof(name));
  993.        format(string, sizeof(string), "O jogador %s , votou no mapa de_inferno para ser jogado agora . Vota tu também /votarmapas.", name);
  994.        SendClientMessageToAll(0xF99B1CFF, string);
  995.        Mapa4V += 1;
  996.        }
  997.       }
  998.      }
  999.     if(dialogid == DIALOG_AJUDA)
  1000.     {
  1001.      if(!response)
  1002.       {
  1003.       }
  1004.      if(response)
  1005.       {
  1006.       if(listitem == 0)
  1007.        {
  1008.        ShowPlayerDialog(playerid, DIALOG_AJUDA+1, DIALOG_STYLE_MSGBOX, "Modos de Jogo :", "Neste momento o BSL Counter Strike disponibiliza apenas os modos de TDM(Team deathmatch), que\n consiste em duas equipas CTs & Ts que se devem tentar matar uns aos outros , tendo \na possibilidade de comprar armas no inicio de cada ronda .", "Sair", "");
  1009.        }
  1010.       if(listitem == 1)
  1011.        {
  1012.        new string[690];
  1013.        strcat(string, " /admins ~> Comando usado para ver os administradores que se encontram onlines no servidor.\n");
  1014.        strcat(string, " /relato ~> Permite enviar um relato para os administradores online , use apenas quando necessitar .\n");
  1015.        strcat(string, " /mp ~> Permite enviar uma Mensagem Privada para qualquer jogador , desde que o mesmo esteja online .\n");
  1016.        strcat(string, " /votarmapa ~> Permite aos jogadores escolherem um mapa para ser jogado , para o mapa mudar é necessário mais de metade dos jogadores votarem nele. \n");
  1017.        strcat(string, " /(g)lobal ~> Chat para que os jogadores falem no modo global(todos os outros irão ver) , o chat de equipa é clicando no T . \n");
  1018.        strcat(string, " /comprararmas ~> Comando usado para comprar armas , só pode ser usado estando na base ( local de spawn ).");
  1019.        ShowPlayerDialog(playerid, DIALOG_AJUDA+2, DIALOG_STYLE_MSGBOX, "Comandos :", string, "Ok","");
  1020.        }
  1021.        }
  1022.       }
  1023. return 0;
  1024. }
  1025.  
  1026. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  1027. {
  1028.     return 1;
  1029. }
  1030. public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
  1031. {
  1032.     SetPVarInt(playerid, "ClickMapa", gettime() + 15);
  1033.     return 1;
  1034. }
  1035. public OnPlayerDisconnect(playerid, reason)
  1036. {
  1037. SalvarContas(playerid);
  1038. PlayerOnline -= 1;
  1039. return 1;
  1040. }
  1041. public OnPlayerDeath(playerid, killerid, reason)
  1042. {
  1043. if(IsPlayerConnected(killerid)&&IsPlayerConnected(playerid))
  1044. {
  1045. pPMatouRonda[killerid] ++;
  1046. if(PlayerInfo[killerid][pEquipa] == 1) PontosCT += 1;
  1047. if(PlayerInfo[killerid][pEquipa] == 2) PontosT += 1;
  1048. PlayerInfo[killerid][pMatou] += 1;
  1049. PlayerInfo[playerid][pMorreu] += 1;
  1050. GivePlayerMoney(playerid, 300);
  1051. GivePlayerMoney(killerid, 1700);
  1052. SetPlayerScore(killerid, GetPlayerScore(killerid) + 4);
  1053. SetPlayerScore(playerid, GetPlayerScore(playerid) - 2);
  1054. new nome[MAX_PLAYER_NAME], string[128];
  1055. GetPlayerName(killerid, nome, MAX_PLAYER_NAME);
  1056.  if(pPMatouRonda[killerid] == 2)
  1057.   {
  1058.   format(string, sizeof(string), "~r~%s ~y~ esta dominando.", nome);
  1059.   GameTextForAll(string, 4000, 3);
  1060.    for(new i = 0;i < MAX_PLAYERS;i++)
  1061.     {
  1062.     if(IsPlayerConnected(i))
  1063.      {
  1064.       PlayAudioStreamForPlayer(i, "http://bslrpg.freeiz.com/sons/dominating.mp3");
  1065.      }
  1066.    }
  1067.   }
  1068.  if(pPMatouRonda[killerid] == 3)
  1069.   {
  1070.   format(string, sizeof(string), "~r~%s ~y~ MonsterKill.", nome);
  1071.   GameTextForAll(string, 4000, 1);
  1072.    for(new i = 0;i < MAX_PLAYERS;i++)
  1073.     {
  1074.     if(IsPlayerConnected(i))
  1075.      {
  1076.       PlayAudioStreamForPlayer(i, "http://bslrpg.freeiz.com/sons/monsterkill.mp3");
  1077.      }
  1078.     }
  1079.   }
  1080.  if(pPMatouRonda[killerid] == 4)
  1081.   {
  1082.   format(string, sizeof(string), "~r~%s ~y~ UltraKill.", nome);
  1083.   GameTextForAll(string, 4000, 1);
  1084.    for(new i = 0;i < MAX_PLAYERS;i++)
  1085.     {
  1086.     if(IsPlayerConnected(i))
  1087.      {
  1088.       PlayAudioStreamForPlayer(i, "http://bslrpg.freeiz.com/sons/ultrakill.mp3");
  1089.      }
  1090.     }
  1091.   }
  1092.  if(pPMatouRonda[killerid] == 5)
  1093.   {
  1094.   format(string, sizeof(string), "~r~%s ~y~ Godlike.", nome);
  1095.   GameTextForAll(string, 4000, 1);
  1096.    for(new i = 0;i < MAX_PLAYERS;i++)
  1097.     {
  1098.     if(IsPlayerConnected(i))
  1099.      {
  1100.       PlayAudioStreamForPlayer(i, "http://bslrpg.freeiz.com/sons/godlike.mp3");
  1101.      }
  1102.     }
  1103.   }
  1104.  if(pPMatouRonda[killerid] == 6)
  1105.   {
  1106.   format(string, sizeof(string), "~r~%s ~y~ está imparável.", nome);
  1107.   GameTextForAll(string, 4000, 1);
  1108.    for(new i = 0;i < MAX_PLAYERS;i++)
  1109.     {
  1110.     if(IsPlayerConnected(i))
  1111.      {
  1112.       PlayAudioStreamForPlayer(i, "http://bslrpg.freeiz.com/sons/unstoppable.mp3");
  1113.      }
  1114.     }
  1115.   }
  1116. }
  1117. return 1;
  1118. }
  1119. public KickarJogador(playerid)
  1120. {
  1121. Kick(playerid);
  1122. return 1;
  1123. }
  1124. public BanirJogador(playerid)
  1125. {
  1126. Ban(playerid);
  1127. return 1;
  1128. }
  1129. //--------- Comandos ------//
  1130. //Comandos Admin nivel 1
  1131. CMD:ajudaadmin(playerid)
  1132.    {
  1133.    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_RED, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 1 para usar este comando .");
  1134.    new comandosadm[500];
  1135.    if(PlayerInfo[playerid][pAdmin] == 1) comandosadm = "{E60B0B}\tComandos Nivel 1 (Moderador em Testes)\n\t/aa /spawn /punir /espiar /espiaroff /kick /cv \n\t/(a)dmin(c)hat /limparchat /congelar /descongelar ";
  1136.    if(PlayerInfo[playerid][pAdmin] == 2) comandosadm = "{E60B0B}\tComandos Nivel 1 (Moderador em Testes)\n\t/aa /spawn /punir /espiar /espiaroff /kick /cv \n\t/(a)dmin(c)hat /limparchat /congelar /descongelar \n\n\t {4271FF}Comandos Nivel 2 (Moderador)\n\t/mapa /ban /darvida /darcolete /armall /mudarequipa \n\t";
  1137.    if(PlayerInfo[playerid][pAdmin] == 3) comandosadm = "{E60B0B}\tComandos Nivel 1 (Moderador em Testes)\n\t/aa /spawn /punir /espiar /espiaroff /kick /cv \n\t/(a)dmin(c)hat /limparchat /congelar /descongelar \n\n\t {4271FF}Comandos Nivel 2 (Moderador)\n\t/mapa /ban /darvida /darcolete /armall /mudarequipa \n\n\t{FF8317}Comandos Nivel 3 (Fundador)\n\t/daradmin /dardinheiro /dararma /gmx";
  1138.    ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "Comandos de Admin :", comandosadm, "Fechar","");
  1139.    return 1;
  1140.    }
  1141. CMD:aa(playerid)
  1142.    {
  1143.    return cmd_ajudaadmin(playerid);
  1144.    }
  1145. CMD:spawn(playerid, params[])
  1146.    {
  1147.    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_RED, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 1 para usar este comando .");
  1148.    new id;
  1149.    if(sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_GREY, "Use /spawn [ID].");
  1150.    SpawnJogador(id);
  1151.    return 1;
  1152.    }
  1153. CMD:punir(playerid, params[])
  1154.    {
  1155.    /* flood , relato indevido , cheater*/
  1156.    new id, motivo[128], nome1[MAX_PLAYER_NAME], nome2[MAX_PLAYER_NAME], string[128], string1[128];
  1157.    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, 0xFF0000AA, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 1 para usar este comando .");
  1158.    if(sscanf(params, "us", id, motivo)) return SendClientMessage(playerid, COLOR_GREY, "Use /punir [ID] [MOTIVO].|| Motivos aceites : flood; reind(relato indevido); cheater.");
  1159.    GetPlayerName(playerid, nome1, sizeof(nome1));
  1160.    GetPlayerName(id, nome2, sizeof(nome2));
  1161.     if(strcmp(motivo,"flood", true) == 0)
  1162.     {
  1163.     PlayerInfo[playerid][pAvisos] += 1;
  1164.     format(string, sizeof(string), "O Administrador %s puniu o jogador %s . Motivo : Flood. Avisos : %d ", nome1, nome2, PlayerInfo[id][pAvisos]);
  1165.     SendClientMessageToAll(COLOR_RED, string);
  1166.     SetTimerEx("KickarJogador", 1000, false, "n", id);
  1167.     WriteLog ( "Logs/punir.log" , string);
  1168.     }
  1169.     if(strcmp(motivo,"reind", true) == 0)
  1170.     {
  1171.     PlayerInfo[playerid][pAvisos] += 1;
  1172.     format(string, sizeof(string), "O Administrador %s puniu o jogador %s . Motivo : Relato Indevido. Avisos : %d ", nome1, nome2, PlayerInfo[id][pAvisos]);
  1173.     SendClientMessageToAll(COLOR_RED, string);
  1174.     SetTimerEx("KickarJogador", 1000, false, "n", id);
  1175.     WriteLog ( "Logs/punir.log" , string);
  1176.     }
  1177.     if(strcmp(motivo,"cheater", true) == 0)
  1178.     {
  1179.     PlayerInfo[playerid][pAvisos] += 1;
  1180.     format(string, sizeof(string), "O Administrador %s puniu o jogador %s . Motivo : Cheater. Avisos : %d ", nome1, nome2, PlayerInfo[id][pAvisos]);
  1181.     SendClientMessageToAll(COLOR_RED, string);
  1182.     SetTimerEx("BanirJogador", 1000, false, "n", id);
  1183.     WriteLog ( "Logs/punir.log" , string);
  1184.     }
  1185.    if(PlayerInfo[id][pAvisos] == 3)
  1186.     {
  1187.     format(string1, sizeof(string1), "O jogador %s foi banido até tomar consciência dos seus atos (indeterminado, contactar forum) , por atingir os 3 avisos .", nome2);
  1188.     SetTimerEx("BanirJogador", 1000, false, "n", id);
  1189.     }
  1190. return 1;
  1191. }
  1192. CMD:kick(playerid, params[])
  1193.    {
  1194.    new id, motivo, string[128], nome1[MAX_PLAYER_NAME], nome2[MAX_PLAYER_NAME];
  1195.    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, 0xFF0000AA, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 1 para usar este comando .");
  1196.    if(sscanf(params, "us", id, motivo)) return SendClientMessage(playerid, COLOR_GREY, "Use /kick [ID] [MOTIVO].");
  1197.    GetPlayerName(playerid, nome1, sizeof(nome1));
  1198.    GetPlayerName(id, nome2, sizeof(nome2));
  1199.    format(string, sizeof(string), "O Administrador %s , kickou o jogador %s . Motivo : %s ", nome1, nome2, motivo);
  1200.    SendClientMessageToAll(COLOR_RED, string);
  1201.    SetTimerEx("KickarJogador", 1000, false, "n", id);
  1202.    WriteLog ( "Logs/kick.log" , string);
  1203.    return 1;
  1204.    }
  1205. CMD:espiar(playerid, params[])
  1206.    {
  1207.    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, 0xFF0000AA, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 1 para usar este comando .");
  1208.    new id;
  1209.    if(sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_GREY, "Use /espiar [ID].");
  1210.    TogglePlayerSpectating(playerid, 1);
  1211.    PlayerSpectatePlayer(playerid, id);
  1212.    return 1;
  1213.    }
  1214. CMD:espiaroff(playerid)
  1215.    {
  1216.    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, 0xFF0000AA, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 1 para usar este comando .");
  1217.    TogglePlayerSpectating(playerid, 0);
  1218.    return 1;
  1219.    }
  1220. CMD:cv(playerid, params[])
  1221. {
  1222.     new nome[MAX_PLAYER_NAME], string[128], niveladm[22], texto[128];
  1223.     if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, 0xFF0000AA, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 1 para usar este comando .");
  1224.     if(sscanf(params, "s[128]", texto))
  1225.         return SendClientMessage(playerid, COLOR_GREY, "Use : /cv [texto].");
  1226.     GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
  1227.     switch(PlayerInfo[playerid][pAdmin])
  1228.     {
  1229.         case 1: niveladm = "Moderador em Teste";
  1230.         case 2: niveladm = "Moderador";
  1231.         case 3: niveladm = "Fundador";
  1232.     }
  1233.     format(string, sizeof(string), "{FF0000}[%s] {FFFFFF}%s : {066363}%s", niveladm, nome, texto);
  1234.     SendClientMessageToAll(COLOR_RED, string);
  1235.     return 1;
  1236. }
  1237. CMD:adminchat(playerid, params[])
  1238.    {
  1239.    new nome[MAX_PLAYER_NAME], string[128], texto[128];
  1240.    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, 0xFF0000AA, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 1 para usar este comando .");
  1241.    if(sscanf(params, "s[128]", texto))
  1242.         return SendClientMessage(playerid, COLOR_GREY, "Use : /(a)dmin(c)hat [texto].");
  1243.    GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
  1244.    format(string, sizeof(string), "[Admin-Chat] %s : %s ", nome, texto);
  1245.    for(new i = 0; i < MAX_PLAYERS;i++)
  1246.     {
  1247.     if(PlayerInfo[i][pAdmin] > 1)
  1248.      {
  1249.      SendClientMessage(i, COLOR_YELLOW, string);
  1250.      }
  1251.     }
  1252.   return 1;
  1253.    }
  1254. CMD:ac(playerid, params[])
  1255.    {
  1256.    return cmd_adminchat(playerid, params);
  1257.    }
  1258. CMD:limparchat(playerid, params[])
  1259.    {
  1260.    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, 0xFF0000AA, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 1 para usar este comando .");
  1261.     for(new a = 0; a < 30; a++)
  1262.     {
  1263.     SendClientMessageToAll(-1," ");
  1264.     }
  1265.     new nome[MAX_PLAYER_NAME+1];
  1266.     GetPlayerName(playerid, nome, sizeof(nome));
  1267.     printf("O administrador %s limpou o chat", nome);
  1268.     return 1;
  1269.     }
  1270. CMD:descongelar(playerid, params[])
  1271.    {
  1272.    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, 0xFF0000AA, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 1 para usar este comando .");
  1273.    new id, nome[MAX_PLAYER_NAME], string[128];
  1274.    if(sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_GREY, "Use /descongelar [ID]");
  1275.    GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
  1276.    format(string, sizeof(string), "Você foi descongelado pelo administrador %s. ", nome);
  1277.    SendClientMessage(id, COLOR_YELLOW, string);
  1278.    TogglePlayerControllable(id, 1);
  1279.    return 1;
  1280.    }
  1281. CMD:congelar(playerid, params[])
  1282.    {
  1283.    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, 0xFF0000AA, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 1 para usar este comando .");
  1284.    new id, nome[MAX_PLAYER_NAME], string[128];
  1285.    if(sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_GREY, "Use /congelar [ID]");
  1286.    GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
  1287.    format(string, sizeof(string), "Você foi congelado pelo administrador %s. ", nome);
  1288.    SendClientMessage(id, COLOR_YELLOW, string);
  1289.    TogglePlayerControllable(id, 0);
  1290.    return 1;
  1291.    }
  1292. //Comandos Admin Nivel 2
  1293. CMD:mapa(playerid, params[])
  1294.    {
  1295.    new mapa, nome[MAX_PLAYER_NAME], string[128];
  1296.    if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_RED, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 3 para usar este comando .");
  1297.    if(sscanf(params, "d", mapa)) return SendClientMessage(playerid, COLOR_GREY, "Use /mapa [mapaid].");
  1298.    if(mapa > 9 || mapa < 0) return SendClientMessage(playerid, COLOR_RED, "O mapaid deve estar entre 0 e 9 .");
  1299.    GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
  1300.    format(string, sizeof(string), "O Administrador %s mudou o mapa .", nome);
  1301.    WriteLog ( "Logs/mudarmapa.log" , string);
  1302.    MapaEmJogo = mapa;
  1303.    PontosT = 0;
  1304.    PontosCT = 0;
  1305.    Mapa1V = 0;
  1306.    Mapa2V = 0;
  1307.    Mapa3V = 0;
  1308.    Mapa4V = 0;
  1309.     for(new all = 0; all < MAX_PLAYERS; all++)
  1310.     {
  1311.         if(IsPlayerConnected(all)&& PlayerInfo[all][pEquipa] >= 1)
  1312.         {
  1313.          SpawnJogador(all);
  1314.         }
  1315.     }
  1316.    return 1;
  1317.    }
  1318. CMD:ban(playerid, params[])
  1319.    {
  1320.    new id, nome[MAX_PLAYER_NAME], nome2[MAX_PLAYER_NAME], motivo[128], string[128];
  1321.    if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_RED, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 1 para usar este comando .");
  1322.    if(sscanf(params, "us[128]", id, motivo)) return SendClientMessage(playerid, COLOR_GREY, "Use /ban [ID] [MOTIVO].");
  1323.    GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
  1324.    GetPlayerName(id, nome2, MAX_PLAYER_NAME);
  1325.    format(string , sizeof(string), "O jogador %s foi banido por %s . Motivo : %s .", nome2, nome, motivo);
  1326.    SendClientMessageToAll(COLOR_RED, string);
  1327.    print(string);
  1328.    SetTimerEx("BanirJogador", 1000, false, "i", id);
  1329.    WriteLog ( "Logs/ban.log" , string);
  1330.    return 1;
  1331.    }
  1332. /*CMD:bantemp(playerid, params)
  1333.    {
  1334.    if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_RED, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 1 para usar este comando .");
  1335.    new id, nome[MAX_PLAYER_NAME], nome2[MAX_PLAYER_NAME], mtivo[128], string[128];
  1336.    if(sscanf(params, "udd*/
  1337. CMD:darvida(playerid, params[])
  1338.    {
  1339.    if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, 0xFF0000AA, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 2 para usar este comando .");
  1340.    new id, nome[MAX_PLAYER_NAME+1], nome2[MAX_PLAYER_NAME+1], vida, string[128], string2[128];
  1341.    if(sscanf(params, "ud", id, vida)) return SendClientMessage(playerid, COLOR_GREY, "Use /darvida [ID] [VIDA]");
  1342.    SetPlayerHealth(id, vida);
  1343.    GetPlayerName(playerid, nome, sizeof(nome));
  1344.    GetPlayerName(id, nome2, sizeof(nome2));
  1345.    format(string, sizeof(string), "O administradro %s setou-lhe %d de HP", nome, vida);
  1346.    SendClientMessage(id, COLOR_BLUE, string);
  1347.    format(string2, sizeof(string2), "Você setou a HP de %s para %d", nome2, vida);
  1348.    SendClientMessage(playerid, COLOR_BLUE, string2);
  1349.    return 1;
  1350.    }
  1351. CMD:darcolete(playerid, params[])
  1352.    {
  1353.    if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, 0xFF0000AA, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 2 para usar este comando .");
  1354.    new id, nome[MAX_PLAYER_NAME+1], nome2[MAX_PLAYER_NAME+1], colete, string[128], string2[128];
  1355.    if(sscanf(params, "ud", id, colete)) return SendClientMessage(playerid, COLOR_GREY, "Use /darvida [ID] [COLETE]");
  1356.    SetPlayerArmour(id, colete);
  1357.    GetPlayerName(playerid, nome, sizeof(nome));
  1358.    GetPlayerName(id, nome2, sizeof(nome2));
  1359.    format(string, sizeof(string), "O administradro %s setou-lhe %d de HP", nome, colete);
  1360.    SendClientMessage(id, COLOR_BLUE, string);
  1361.    format(string2, sizeof(string2), "Você setou a HP de %s para %d", nome2, colete);
  1362.    SendClientMessage(playerid, COLOR_BLUE, string2);
  1363.    return 1;
  1364.    }
  1365. CMD:armaall(playerid, params[])
  1366.    {
  1367.    if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_RED, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 2 para usar este comando .");
  1368.    new id, string[128], armaid,ammo, nome[MAX_PLAYER_NAME+1];
  1369.    if(sscanf(params, "udd", id, armaid, ammo)) return SendClientMessage(playerid, COLOR_GREY, "{BABABA}Use /dararma [ID] [ARMAID] [AMMO]");
  1370.    GetPlayerName(playerid, nome, sizeof(nome));
  1371.    format(string, sizeof(string), "{FFBB00}O administrador {0FB3FA}%s deu-lhe a arma{FFBB00} %d com %d munições.", nome,armaid,ammo);
  1372.     for(new all = 0; all < MAX_PLAYERS; all++)
  1373.      {
  1374.         if(IsPlayerConnected(all)&& PlayerInfo[all][pEquipa] >= 1)
  1375.         {
  1376.          GivePlayerWeapon(all, armaid, ammo);
  1377.          SendClientMessage(all, COLOR_RED, string);
  1378.         }
  1379.      }
  1380.    print(string);
  1381.    return 1;
  1382.    }
  1383. CMD:mudarequipa(playerid, params[])
  1384.    {
  1385.    new id, equipa, string[128], nome[MAX_PLAYER_NAME], nome2[MAX_PLAYER_NAME];
  1386.    if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, 0xFF0000AA, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 2 para usar este comando .");
  1387.    if(sscanf(params, "ud", id, equipa)) return SendClientMessage(playerid, COLOR_GREY, "Use /mudarequipa [ID] [NOVAEQUIPA].");
  1388.    if(equipa > 3 || equipa < 1) return SendClientMessage(playerid, COLOR_RED, "O mapaid deve estar entre 0 e 9 .");
  1389.    GetPlayerName(playerid, nome, sizeof(nome));
  1390.    GetPlayerName(id, nome2, sizeof(nome2));
  1391.    PlayerInfo[id][pEquipa] = equipa;
  1392.     if(equipa == 1) format(string, sizeof(string), "{3768FA}O Administrador %s mudou o jogador %s para a equipa dos Contra Terroristas.", nome, nome2);
  1393.     if(equipa == 2) format(string, sizeof(string), "{D90000}O Administrador %s mudou o jogador %s para a equipa dos Terroristas.", nome, nome2);
  1394.     if(equipa == 3) format(string, sizeof(string), "{A8A8A8}O Administrador %s mudou o jogador %s para a equipa dos Espectadores.", nome, nome2);
  1395.    SendClientMessageToAll(-1, string);
  1396.    WriteLog ( "Logs/equipamudar.log" , string);
  1397.    return 1;
  1398.    }
  1399. //Comandos Nivel 3
  1400. CMD:dardinheiro(playerid, params[])
  1401.    {
  1402.    if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_RED, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 3 para usar este comando .");
  1403.    new id, string[128], quantia, nome[MAX_PLAYER_NAME+1];
  1404.    if(sscanf(params, "ud", id, quantia)) return SendClientMessage(playerid, COLOR_GREY, "{BABABA}Use /dardinheiro [ID] [QUANTIA]");
  1405.    GivePlayerMoney(id, quantia);
  1406.    GetPlayerName(playerid, nome, sizeof(nome));
  1407.    format(string, sizeof(string), "{FFBB00}O administrador {0FB3FA}%s deu-lhe {FFBB00}%i de dinheiro", nome, quantia);
  1408.    SendClientMessage(id, COLOR_BLUE, string);
  1409.    print(string);
  1410.    return 1;
  1411.    }
  1412. CMD:dararma(playerid, params[])
  1413.    {
  1414.    if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_RED, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 3 para usar este comando .");
  1415.    new id, string[128], armaid,ammo, nome[MAX_PLAYER_NAME+1];
  1416.    if(sscanf(params, "udd", id, armaid, ammo)) return SendClientMessage(playerid, COLOR_GREY, "{BABABA}Use /dararma [ID] [ARMAID] [AMMO]");
  1417.    GivePlayerWeapon(id,armaid,ammo);
  1418.    GetPlayerName(playerid, nome, sizeof(nome));
  1419.    format(string, sizeof(string), "{FFBB00}O administrador {0FB3FA}%s deu-lhe a arma{FFBB00} %d com %d munições.", nome,armaid,ammo);
  1420.    SendClientMessage(id, COLOR_BLUE, string);
  1421.    print(string);
  1422.    return 1;
  1423.    }
  1424. CMD:daradmin(playerid, params[])
  1425.    {
  1426.    new sendername[MAX_PLAYER_NAME], nome2[MAX_PLAYER_NAME], id, nivel,log[128], string[128];
  1427.    GetPlayerName(playerid, sendername, 256);
  1428.    if(strcmp(sendername,"Tugamars_Warning",true)&& strcmp(sendername,"Tugamars_Warn",true)) return SendClientMessage(playerid, COLOR_RED, "Você não tem autorização para usar esse comando .");
  1429.    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED, "Você necessita de estar logado no RCON para usar esse comando .");
  1430.    if(sscanf(params, "ud", id, nivel)) return SendClientMessage(playerid, COLOR_GREY, "Uso /daradmin [ID] [NIVEL].");
  1431.    if(nivel < 0 || nivel > 3) return SendClientMessage(playerid, COLOR_RED, "{FF0000} O nivel deve estar entre 1 e 3.");
  1432.    PlayerInfo[id][pAdmin] = nivel;
  1433.    GetPlayerName(id, nome2, sizeof(nome2));
  1434.    format(string, sizeof(string), "{006AF5}O Administrador %s promoveu-o a Moderador no nivel %d.", sendername, nivel);
  1435.    SendClientMessage(id, COLOR_BLUE_TUGA, string);
  1436.    format(log, sizeof(log), "[DARADMIN] O administrador %s deu administrador no nivel %d para %s", sendername, nivel, nome2);
  1437.    WriteLog ( "Logs/admin.log" , log);
  1438.    return 1;
  1439.    }
  1440. CMD:gmx(playerid, params[])
  1441.    {
  1442.    if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_RED, "{007BFF}[BSL]: {FF0000}Você necessita de ser pelo menos administrador nivel 3 para usar este comando .");
  1443.    new nome[MAX_PLAYER_NAME];
  1444.    GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
  1445.    for(new i = 0; i < MAX_PLAYERS; i++)
  1446.     {
  1447.     if(IsPlayerConnected(i))
  1448.      {
  1449.       SalvarContas(i);
  1450.      }
  1451.     }
  1452.    printf("O administrador %s executou o GMX. ", nome);
  1453.    SendRconCommand("gmx");
  1454.    return 1;
  1455.    }
  1456. //Comandos Jogadores
  1457. CMD:admins(playerid)
  1458.    {
  1459.    new string[128], nome[MAX_PLAYER_NAME], niveladmin[128];
  1460.    SendClientMessage(playerid, COLOR_YELLOW, "|__________|Administradores Online|__________|");
  1461.     for(new i = 0; i < MAX_PLAYERS; i++)
  1462.      {
  1463.         if(PlayerInfo[i][pAdmin] > 0)
  1464.         {
  1465.          if(PlayerInfo[i][pAdmin] == 3) niveladmin = "{FF8317}(Fundador)";
  1466.          if(PlayerInfo[i][pAdmin] == 2) niveladmin = "{4271FF}(Moderador)";
  1467.          if(PlayerInfo[i][pAdmin] == 1) niveladmin = "{E60B0B}(Moderador em Testes)";
  1468.          GetPlayerName(i, nome, MAX_PLAYER_NAME);
  1469.          format(string, sizeof(string), "%s || %s ||", niveladmin, nome);
  1470.          SendClientMessage(playerid, COLOR_RED, string);
  1471.         }
  1472.       }
  1473.      return 1;
  1474.      }
  1475. CMD:mp(playerid, params[])
  1476.    {
  1477.    new id, nome[MAX_PLAYER_NAME+1], nome2[MAX_PLAYER_NAME+1], string[128], string2[128], texto[128];
  1478.    if(sscanf(params, "us", id, texto)) return SendClientMessage(playerid, COLOR_GREY, "Use : /mp [ID] [TEXTO]");
  1479.    GetPlayerName(playerid, nome, sizeof(nome));
  1480.    GetPlayerName(id, nome2, sizeof(nome2));
  1481.    format(string, sizeof(string), "[MP Recebida] %s[%d]: %s ", nome, id, texto);
  1482.    SendClientMessage(id,COLOR_YELLOW, string);
  1483.    format(string2, sizeof(string2), "[MP Enviada] Para: %s . %s", nome2, texto);
  1484.    SendClientMessage(playerid, COLOR_YELLOW, string2);
  1485.    return 1;
  1486.    }
  1487. CMD:relato(playerid, params[])
  1488.    {
  1489.    new nome[MAX_PLAYER_NAME+1], string[128], texto[128];
  1490.    if(sscanf(params, "s[128]", texto)) return SendClientMessage(playerid, COLOR_GREY, "Use : /relato [TEXTO]");
  1491.    GetPlayerName(playerid, nome, sizeof(nome));
  1492.    format(string, sizeof(string), "[RELATO] %s : %s ", nome, texto);
  1493.    for(new all = 0; all < MAX_PLAYERS; all++)
  1494.      {
  1495.         if(PlayerInfo[all][pAdmin] >= 1)
  1496.         {
  1497.          SendClientMessage(all, COLOR_RED, string);
  1498.         }
  1499.       }
  1500.    return 1;
  1501.    }
  1502. CMD:votarmapa(playerid, params[])
  1503.    {
  1504.    if(PlayerInfo[playerid][pEquipa] < 1) return SendClientMessage(playerid, COLOR_BLUE_TUGA, "Você ainda não escolheu a equipa.");
  1505.    ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST,"Escolher o próximo mapa :" , "\t De_Dust \n\t De_Train \n\t De_Assault \n\t De_Inferno", "Votar", "Cancelar");
  1506.    return 1;
  1507.    }
  1508. CMD:ajuda(playerid)
  1509.    {
  1510.    if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, COLOR_RED, "Você não está conectado.");
  1511.    ShowPlayerDialog(playerid, DIALOG_AJUDA, DIALOG_STYLE_LIST, "Ajuda BSL :", " Modos de Jogo\n Comandos", "Selecionar", "Cancelar");
  1512.    return 1;
  1513.    }
  1514. CMD:g(playerid, params[])
  1515.    {
  1516.    new nome[MAX_PLAYER_NAME], string[128], texto[128];
  1517.    GetPlayerName(playerid, nome, sizeof(nome));
  1518.    if(sscanf(params, "s[128]", texto)) return SendClientMessage(playerid, COLOR_GREY, "Use : /(g)lobal [texto].");
  1519.    if(PlayerInfo[playerid][pAdmin] <= 3) format(string, sizeof(string), "{008CFF}[Jogador] {FF0A0A}%s : {FFC60A}%s.", nome, texto);
  1520.    SendClientMessageToAll(-1, string);
  1521.    return 1;
  1522.    }
  1523. CMD:global(playerid, params[])
  1524. {
  1525.   return cmd_g(playerid, params);
  1526. }
  1527. CMD:comprararmas(playerid)
  1528. {
  1529.     if(PlayerInfo[playerid][pEquipa] == 1)
  1530.     {
  1531.         if(!IsPlayerInRangeOfPoint(playerid, 5.5, 7798.0586,-2612.3733,12.6534) && !IsPlayerInRangeOfPoint(playerid, 5.5, -4180.0063,-6770.7710,11.9720) && !IsPlayerInRangeOfPoint(playerid, 5.5, 8076.1299,-7591.2690,15.3666) && !IsPlayerInRangeOfPoint(playerid, 5.5, 9511.4180,-8821.0498,28.4341))
  1532.         {
  1533.             SendClientMessage(playerid, COLOR_RED, "Você não está no local de compra !!");
  1534.             return 1;
  1535.         }
  1536.         else
  1537.         {
  1538.             ShowModelSelectionMenu(playerid, listaarmasct, "Comprar arma :", 0x4A5A6BBB, 0x88888899 , 0xFFFF00AA);
  1539.             return 1;
  1540.         }
  1541.     }
  1542.     if(PlayerInfo[playerid][pEquipa] == 2)
  1543.     {
  1544.         if(!IsPlayerInRangeOfPoint(playerid, 5.5, 7703.8672,-2595.6262,24.1061) && !IsPlayerInRangeOfPoint(playerid, 5.5, -4424.7817,-6765.0215,16.1435) && !IsPlayerInRangeOfPoint(playerid, 5.5, 8170.6826,-7518.8247,15.3666) && !IsPlayerInRangeOfPoint(playerid, 5.5, 9459.8906,-8753.8584,30.2687))
  1545.         {
  1546.             SendClientMessage(playerid, COLOR_RED, "Você não está no local de compra !!");
  1547.             return 1;
  1548.         }
  1549.         else
  1550.         {
  1551.             ShowModelSelectionMenu(playerid, listaarmast, "~r~Comprar arma :", 0xCE0005FF, 0xDE5C60FF , 0xFFFF00AA);
  1552.         }
  1553.     }
  1554.     return 1;
  1555. }
  1556. //Comandos de controle
  1557.  
  1558. public SpawnJogador(playerid)
  1559. {
  1560. if(IsPlayerConnected(playerid))
  1561. {
  1562. TextDrawShowForPlayer(playerid, JogadoresOn);
  1563. TextDrawShowForPlayer(playerid, Time);
  1564. TextDrawShowForPlayer(playerid, Date);
  1565. TextDrawShowForPlayer(playerid, Pontos);
  1566. TextDrawShowForPlayer(playerid, TPontos);
  1567. TextDrawShowForPlayer(playerid, siteserver);
  1568. PlayerTextDrawShow(playerid, boxpStats);
  1569. PlayerTextDrawShow(playerid, MortespStats);
  1570. PlayerTextDrawShow(playerid, MatoupStats);
  1571. PlayerTextDrawShow(playerid, ScorepStats);
  1572. printf("O jogador %d foi spawnando .", playerid);
  1573. pPMatouRonda[playerid] = 0;
  1574. SetPlayerTeam(playerid, 0);
  1575. if(PlayerInfo[playerid][pEquipa] == 1)// Skin id 285 Equipa CTs
  1576. {
  1577.   SetPlayerTeam(playerid, 0);
  1578.   SetPlayerColor(playerid, 0x4613DFFF);
  1579.   //Mapa 1 = de_dust | By VinicioS
  1580.   if(MapaEmJogo == 0)
  1581.   {
  1582.   SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_dust . Criado por : jackob & editado por : VinicioS.");
  1583.   SetSpawnInfo(playerid, 0, 285, 7797.7261, -2612.3691, 13.6841, 269.15, 0, 0, 0, 0, 0, 0)||SetSpawnInfo(playerid, 0, 285, 7798.1211, -2607.3804, 14.5247, 269.15, 0, 0, 0, 0, 0, 0);
  1584.   SpawnPlayer(playerid);
  1585.   SetPlayerHealth(playerid, 100);
  1586.   }
  1587.   //Mapa 2 = de_train | By:VinicioS
  1588.   if(MapaEmJogo == 1)
  1589.   {
  1590.   SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_train . Criado por : jackob & editado por : VinicioS.");
  1591.   SetSpawnInfo(playerid, 0, 285, -4180.3438, -6770.7705, 12.7255, 269.15, 0, 0, 0, 0, 0, 0)||SetSpawnInfo(playerid, 0, 285, -4185.4331, -6770.0444, 12.3085, 269.15, 0, 0, 0, 0, 0, 0);
  1592.   SpawnPlayer(playerid);
  1593.   SetPlayerHealth(playerid, 100);
  1594.   }
  1595.   //Mapa 3 = de_assault
  1596.   if(MapaEmJogo == 2)
  1597.   {
  1598.   SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_assault . Criado por : jackob & editado por : VinicioS.");
  1599.   SetSpawnInfo(playerid, 0, 285, 8075.7969, -7591.2686, 16.5181, 269.15, 0, 0, 0, 0, 0, 0)||SetSpawnInfo(playerid, 0, 285, 8069.8848, -7591.5894, 16.5181, 269.15, 0, 0, 0, 0, 0, 0);
  1600.   SpawnPlayer(playerid);
  1601.   SetPlayerHealth(playerid, 100);
  1602.   }
  1603.   //Mapa 4 = de_inferno | By:VinicioS
  1604.   if(MapaEmJogo == 3)
  1605.   {
  1606.   SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_inferno . Criado por : jackob & editado por : VinicioS.");
  1607.   SetSpawnInfo(playerid, 0, 285, 9511.0791, -8821.0498, 29.7603, 269.15, 0, 0, 0, 0, 0, 0)||SetSpawnInfo(playerid, 0, 285, 9515.8633, -8820.8174, 29.7603, 269.15, 0, 0, 0, 0, 0, 0);
  1608.   SpawnPlayer(playerid);
  1609.   SetPlayerHealth(playerid, 100);
  1610.   }
  1611. }
  1612. if(PlayerInfo[playerid][pEquipa] == 2)// Skin id 21 Equipa Ts
  1613. {
  1614.   SetPlayerTeam(playerid, 0);
  1615.   SetPlayerColor(playerid, 0xD70025FF);
  1616.   //Mapa 1 = de_dust | By VinicioS
  1617.   if(MapaEmJogo == 0)
  1618.   {
  1619.   SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_dust . Criado por : jackob & editado por : VinicioS.");
  1620.   SetSpawnInfo(playerid, 0, 21, 7703.5332, -2595.6221, 24.6850, 269.15, 0, 0, 0, 0, 0, 0)||SetSpawnInfo(playerid, 0, 21, 7704.0972, -2589.6934, 23.2225, 269.15, 0, 0, 0, 0, 0, 0);
  1621.   SpawnPlayer(playerid);
  1622.   SetPlayerHealth(playerid, 100);
  1623.   }
  1624.   //Mapa 2 = de_train | By:VinicioS
  1625.   if(MapaEmJogo == 1)
  1626.   {
  1627.   SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_train . Criado por : jackob & editado por : VinicioS.");
  1628.   SetSpawnInfo(playerid, 0, 21,-4425.1152, -6765.0195, 16.5103, 269.15, 0, 0, 0, 0, 0, 0)||SetSpawnInfo(playerid, 0, 21, -4431.5244, -6764.9570, 16.5103, 269.15, 0, 0, 0, 0, 0, 0);
  1629.   SpawnPlayer(playerid);
  1630.   SetPlayerHealth(playerid, 100);
  1631.   }
  1632.   //Mapa 3 = de_assault
  1633.   if(MapaEmJogo == 2)
  1634.   {
  1635.   SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_assault . Criado por : jackob & editado por : VinicioS.");
  1636.   SetSpawnInfo(playerid, 0, 21,8170.3506, -7518.8247, 16.0954, 269.15, 0, 0, 0, 0, 0, 0)||SetSpawnInfo(playerid, 0, 21, 8165.7461, -7519.2051, 16.0954, 269.15, 0, 0, 0, 0, 0, 0);
  1637.   SpawnPlayer(playerid);
  1638.   SetPlayerHealth(playerid, 100);
  1639.   }
  1640.   //Mapa 2 = de_inferno | By:VinicioS
  1641.   if(MapaEmJogo == 3)
  1642.   {
  1643.   SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_inferno . Criado por : jackob & editado por : VinicioS.");
  1644.   SetSpawnInfo(playerid, 0, 21,9459.5566, -8753.8584, 30.4332, 269.15, 0, 0, 0, 0, 0, 0)||SetSpawnInfo(playerid, 0, 21, 9455.1240, -8753.7236, 30.4332, 269.15, 0, 0, 0, 0, 0, 0);
  1645.   SpawnPlayer(playerid);
  1646.   SetPlayerHealth(playerid, 100);
  1647.   }
  1648. }
  1649. }
  1650. return 1;
  1651. }
  1652. public MudarMapaVote()
  1653. {
  1654. new Maioria;
  1655. if(PlayerOnline > 2)
  1656. {
  1657. Maioria = PlayerOnline /= 2;
  1658. printf("Maioria = %d", Maioria);
  1659. }
  1660. if(PlayerOnline < 2)
  1661. {
  1662. }
  1663.     if(Mapa1V == Maioria+2)
  1664.     {
  1665.  
  1666.         MapaEmJogo = 0;
  1667.         SendClientMessageToAll(COLOR_BLUE_TUGA, "O mapa irá mudar , escolhido por votação .");
  1668.         PontosT = 0;
  1669.         PontosCT = 0;
  1670.         Mapa1V = 0;
  1671.         Mapa2V = 0;
  1672.         Mapa3V = 0;
  1673.         Mapa4V = 0;
  1674.         for(new all = 0; all < MAX_PLAYERS; all++)
  1675.         {
  1676.  
  1677.             if(IsPlayerConnected(all)&& PlayerInfo[all][pEquipa] >= 1)
  1678.             {
  1679.  
  1680.                 SpawnJogador(all);
  1681.             }
  1682.         }
  1683.     }
  1684.     if(Mapa2V == Maioria+2)
  1685.     {
  1686.  
  1687.         MapaEmJogo = 1;
  1688.         SendClientMessageToAll(COLOR_BLUE_TUGA, "O mapa irá mudar , escolhido por votação .");
  1689.         PontosT = 0;
  1690.         PontosCT = 0;
  1691.         Mapa1V = 0;
  1692.         Mapa2V = 0;
  1693.         Mapa3V = 0;
  1694.         Mapa4V = 0;
  1695.         for(new all = 0; all < MAX_PLAYERS; all++)
  1696.         {
  1697.  
  1698.             if(IsPlayerConnected(all)&& PlayerInfo[all][pEquipa] >= 1)
  1699.             {
  1700.  
  1701.                 SpawnJogador(all);
  1702.             }
  1703.         }
  1704.     }
  1705.     if(Mapa3V == Maioria+2)
  1706.     {
  1707.  
  1708.         MapaEmJogo = 2;
  1709.         SendClientMessageToAll(COLOR_BLUE_TUGA, "O mapa irá mudar , escolhido por votação .");
  1710.         PontosT = 0;
  1711.         PontosCT = 0;
  1712.         Mapa1V = 0;
  1713.         Mapa2V = 0;
  1714.         Mapa3V = 0;
  1715.         Mapa4V = 0;
  1716.         for(new all = 0; all < MAX_PLAYERS; all++)
  1717.         {
  1718.  
  1719.             if(IsPlayerConnected(all)&& PlayerInfo[all][pEquipa] >= 1)
  1720.             {
  1721.  
  1722.                 SpawnJogador(all);
  1723.             }
  1724.         }
  1725.     }
  1726.     if(Mapa4V == Maioria+2)
  1727.     {
  1728.  
  1729.         MapaEmJogo = 3;
  1730.         SendClientMessageToAll(COLOR_BLUE_TUGA, "O mapa irá mudar , escolhido por votação .");
  1731.         PontosT = 0;
  1732.         PontosCT = 0;
  1733.         Mapa1V = 0;
  1734.         Mapa2V = 0;
  1735.         Mapa3V = 0;
  1736.         Mapa4V = 0;
  1737.         for(new all = 0; all < MAX_PLAYERS; all++)
  1738.         {
  1739.  
  1740.             if(IsPlayerConnected(all)&& PlayerInfo[all][pEquipa] >= 1)
  1741.             {
  1742.  
  1743.                 SpawnJogador(all);
  1744.             }
  1745.         }
  1746.     }
  1747.  
  1748. return 1;
  1749. }
  1750. public MudarMapa()
  1751. {
  1752.  PontosT = 0;
  1753.  PontosCT = 0;
  1754.  Mapa1V = 0;
  1755.  Mapa2V = 0;
  1756.  Mapa3V = 0;
  1757.  Mapa4V = 0;
  1758.  if(MapaEmJogo < 2)
  1759.  {
  1760.  MapaEmJogo = MapaEmJogo +1;
  1761.  }
  1762.  if(MapaEmJogo >= 3)
  1763.  {
  1764.  MapaEmJogo = 0;
  1765.  }
  1766.  printf("%d", MapaEmJogo);
  1767.  for(new all = 0; all < MAX_PLAYERS; all++)
  1768.     {
  1769.         if(IsPlayerConnected(all)&& PlayerInfo[all][pEquipa] >= 0)
  1770.         {
  1771.         SpawnJogador(all);
  1772.         }
  1773.     }
  1774. }
  1775.  
  1776. public Stats()
  1777. {
  1778. new Hour, Minute, Second, Year, Month, Day, data[128], time[128], Points[128];
  1779. gettime(Hour, Minute, Second);
  1780. getdate(Year, Month, Day);
  1781. format(data, sizeof(data), "~r~Data : ~w~%d/%d/%d", Day, Month, Year);
  1782. format(time, sizeof(time), "~r~Hora : ~w~%d:%d:%d", Hour, Minute, Second);
  1783. format(Points, sizeof(Points), "~b~%d ~w~-~w~ ~r~%d", PontosCT, PontosT);
  1784. TextDrawSetString(Date ,data);
  1785. TextDrawSetString(Time ,time);
  1786. TextDrawSetString(TPontos ,Points);
  1787. return 1;
  1788. }
  1789. public PlayerStats(playerid)
  1790. {
  1791. new stringscore[128], stringmatou[128], stringmorreu[128];
  1792. format(stringscore, sizeof(stringscore), "~r~Score : ~w~%d", GetPlayerScore(playerid));
  1793. format(stringmatou, sizeof(stringmatou), "~b~Matou : ~w~%d", PlayerInfo[playerid][pMatou]);
  1794. format(stringmorreu, sizeof(stringmorreu), "~r~Morreu : ~w~%d", PlayerInfo[playerid][pMorreu]);
  1795. PlayerTextDrawSetString(playerid, MortespStats, stringmorreu);
  1796. PlayerTextDrawSetString(playerid, MatoupStats, stringmatou);
  1797. PlayerTextDrawSetString(playerid, ScorepStats, stringscore);
  1798. return 1;
  1799. }
  1800. public Mapas()
  1801. {
  1802. //==================================== Mapa 1 ==========================================================================
  1803. CreateObject(4199, 7738.204590, -2628.768555, 19.488087, 0.0000, 0.0000, 90.0000);
  1804. CreateObject(4199, 7706.895996, -2628.757568, 19.488087, 0.0000, 0.0000, 90.0000);
  1805. CreateObject(4199, 7700.973145, -2628.751709, 19.488087, 0.0000, 0.0000, 90.0000);
  1806. CreateObject(4199, 7738.191895, -2640.327881, 19.488087, 0.0000, 0.0000, 90.0000);
  1807. CreateObject(4199, 7701.299805, -2628.743164, 23.564011, 0.0000, 0.0000, 90.0000);
  1808. CreateObject(4199, 7727.197754, -2628.742920, 23.614010, 0.0000, 0.0000, 90.0000);
  1809. CreateObject(4199, 7762.916016, -2628.753662, 19.488087, 0.0000, 0.0000, 90.0000);
  1810. CreateObject(4199, 7762.936523, -2628.773682, 23.714008, 0.0000, 0.0000, 90.0000);
  1811. CreateObject(4199, 7769.796875, -2640.340576, 19.488087, 0.0000, 0.0000, 90.0000);
  1812. CreateObject(4199, 7779.837891, -2618.802490, 19.514919, 0.0000, 0.0000, 180.0000);
  1813. CreateObject(4199, 7779.381348, -2618.800293, 19.489008, 0.0000, 0.0000, 0.0000);
  1814. CreateObject(4199, 7758.191895, -2617.741943, 21.014904, 0.0000, 0.0000, 270.0000);
  1815. CreateObject(4199, 7762.925781, -2628.742432, 27.739925, 0.0000, 0.0000, 270.0000);
  1816. CreateObject(4199, 7727.187988, -2628.722656, 24.964933, 0.0000, 0.0000, 270.0000);
  1817. CreateObject(4199, 7727.190918, -2617.194824, 25.015829, 0.0000, 0.0000, 270.0001);
  1818. CreateObject(4199, 7789.320313, -2610.955811, 23.564934, 0.0000, 0.0000, 90.0000);
  1819. CreateObject(4199, 7780.645508, -2610.965332, 25.065828, 0.0000, 0.0000, 90.0000);
  1820. CreateObject(4199, 7740.856934, -2610.976318, 25.065828, 0.0000, 0.0000, 90.0000);
  1821. CreateObject(4199, 7769.804199, -2644.505127, 15.263121, 0.0000, 0.0000, 90.0000);
  1822. CreateObject(4199, 7769.808105, -2672.876953, 15.238102, 0.0000, 0.0000, 270.0000);
  1823. CreateObject(4199, 7782.778809, -2655.969238, 11.789022, 347.1084, 0.0000, 270.0000);
  1824. CreateObject(4199, 7782.788574, -2661.827637, 11.780273, 12.8916, 0.0000, 90.0000);
  1825. CreateObject(5107, 7783.395020, -2685.856201, 18.580303, 0.0000, 0.0000, 270.0000);
  1826. CreateObject(4199, 7787.094238, -2634.491211, 13.689656, 0.0000, 0.0000, 180.0000);
  1827. CreateObject(4199, 7787.097168, -2634.464355, 15.265619, 0.0000, 0.0000, 180.0000);
  1828. CreateObject(4199, 7787.080078, -2603.027344, 15.290585, 0.0000, 0.0000, 180.0000);
  1829. CreateObject(4199, 7787.105957, -2602.965576, 13.739655, 0.0000, 0.0000, 180.0000);
  1830. CreateObject(4199, 7769.821777, -2672.918457, 13.739655, 0.0000, 0.0000, 90.0000);
  1831. CreateObject(4199, 7812.527344, -2623.026611, 13.714656, 0.0000, 0.0000, 0.0000);
  1832. CreateObject(4199, 7812.543945, -2623.022217, 15.240582, 0.0000, 0.0000, 0.0000);
  1833. CreateObject(4199, 7791.279297, -2610.959229, 19.441509, 180.4820, 0.0000, 90.0000);
  1834. CreateObject(4199, 7797.470215, -2602.418945, 19.347794, 179.6226, 0.0000, 270.0000);
  1835. CreateObject(4199, 7820.546387, -2610.955811, 19.466503, 0.0000, 0.0000, 90.0000);
  1836. CreateObject(4199, 7820.312012, -2610.979736, 23.567427, 0.0000, 0.0000, 90.0000);
  1837. CreateObject(4199, 7812.089355, -2610.977783, 25.065851, 0.0000, 0.0000, 90.0000);
  1838. CreateObject(4199, 7812.537109, -2591.778320, 13.739655, 0.0000, 0.0000, 0.0000);
  1839. CreateObject(4199, 7812.555176, -2591.755615, 17.815588, 0.0000, 0.0000, 0.0000);
  1840. CreateObject(4199, 7762.251953, -2606.273926, 21.015833, 0.0000, 0.0000, 270.0000);
  1841. CreateObject(4199, 7762.285645, -2595.166016, 20.991756, 0.0000, 0.0000, 270.0000);
  1842. CreateObject(4199, 7797.476563, -2602.415527, 20.987165, 0.0000, 0.0000, 270.0000);
  1843. CreateObject(4199, 7824.837891, -2602.415039, 19.466511, 0.0000, 0.0000, 270.0000);
  1844. CreateObject(4199, 7822.850098, -2602.425049, 23.517424, 0.0000, 0.0000, 270.0000);
  1845. CreateObject(4199, 7775.802734, -2603.024414, 13.739655, 0.0000, 0.0000, 0.0001);
  1846. CreateObject(4199, 7775.807129, -2603.032715, 15.290592, 0.0000, 0.0000, 0.0001);
  1847. CreateObject(4199, 7762.296387, -2595.156738, 19.366516, 0.0000, 0.0000, 270.0000);
  1848. CreateObject(4199, 7822.533691, -2602.424316, 27.568354, 0.0000, 0.0000, 270.0000);
  1849. CreateObject(4199, 7817.982910, -2571.032471, 13.742012, 0.0000, 0.0000, 0.0000);
  1850. CreateObject(4199, 7818.006836, -2571.122314, 17.842936, 0.0000, 0.0000, 0.0000);
  1851. CreateObject(4199, 7777.079102, -2581.605225, 13.742011, 0.0000, 0.0000, 270.0000);
  1852. CreateObject(4199, 7777.062500, -2581.615967, 15.267941, 0.0000, 0.0000, 270.0000);
  1853. CreateObject(4199, 7777.098633, -2553.675781, 13.742011, 0.0000, 0.0000, 90.0001);
  1854. CreateObject(4199, 7777.093750, -2553.635254, 15.267975, 0.0000, 0.0000, 90.0001);
  1855. CreateObject(4199, 7808.512207, -2549.810791, 13.742012, 0.0000, 0.0000, 90.0001);
  1856. CreateObject(4199, 7808.526367, -2549.808838, 15.267944, 0.0000, 0.0000, 90.0001);
  1857. CreateObject(4199, 7818.024414, -2558.269531, 19.493866, 0.0000, 0.0000, 0.0003);
  1858. CreateObject(4199, 7798.779785, -2545.010498, 19.493866, 0.0000, 0.0000, 90.0001);
  1859. CreateObject(4199, 7812.552734, -2591.756104, 19.466532, 0.0000, 0.0000, 0.0002);
  1860. CreateObject(4199, 7818.012695, -2589.829102, 19.493856, 0.0000, 0.0000, 0.0002);
  1861. CreateObject(4199, 7791.452148, -2610.925781, 25.063091, 0.0000, 0.0000, 270.0003);
  1862. CreateObject(4199, 7780.507324, -2610.930664, 25.241756, 0.0000, 0.0000, 270.0003);
  1863. CreateObject(4199, 7740.827148, -2610.937744, 25.091759, 0.0000, 0.0000, 270.0003);
  1864. CreateObject(4199, 7762.296387, -2591.870850, 25.217678, 0.0000, 0.0000, 270.0003);
  1865. CreateObject(4199, 7727.544434, -2591.879883, 25.217678, 0.0000, 0.0000, 270.0003);
  1866. CreateObject(4199, 7730.964355, -2599.472168, 20.991749, 0.0000, 0.0000, 270.0003);
  1867. CreateObject(4199, 7727.191406, -2610.946289, 25.067673, 0.0000, 0.0000, 270.0002);
  1868. CreateObject(4199, 7699.547852, -2599.485107, 20.992662, 0.0000, 0.0000, 270.0002);
  1869. CreateObject(4199, 7704.149902, -2610.912109, 25.068588, 0.0000, 0.0000, 270.0002);
  1870. CreateObject(4199, 7696.514160, -2596.284180, 25.218586, 0.0000, 0.0000, 180.0004);
  1871. CreateObject(4199, 7782.516602, -2570.257813, 11.867017, 12.8916, 0.0000, 90.0000);
  1872. CreateObject(4199, 7782.519043, -2564.379395, 11.867032, 12.8916, 0.0000, 90.0000);
  1873. CreateObject(4199, 7717.644531, -2588.070557, 19.452366, 0.0000, 0.0000, 270.0002);
  1874. CreateObject(4199, 7717.583984, -2580.659180, 19.426512, 0.0000, 0.0000, 270.0002);
  1875. CreateObject(4199, 7696.513184, -2590.638428, 25.152420, 0.0000, 0.0000, 180.0002);
  1876. CreateObject(4199, 7696.542969, -2578.369629, 21.028313, 0.0000, 0.0000, 180.0002);
  1877. CreateObject(4199, 7717.562988, -2569.186523, 19.546246, 0.0000, 0.0000, 270.0001);
  1878. CreateObject(4199, 7717.580078, -2569.192871, 23.722168, 0.0000, 0.0000, 90.0000);
  1879. CreateObject(4199, 7717.564941, -2569.182617, 27.548100, 0.0000, 0.0000, 89.9999);
  1880. CreateObject(4199, 7727.541016, -2591.870117, 23.678288, 0.0000, 0.0000, 269.9994);
  1881. CreateObject(4199, 7735.438965, -2580.699463, 19.546246, 0.0000, 0.0000, 269.9994);
  1882. CreateObject(4199, 7762.289551, -2591.867676, 22.321215, 0.0000, 0.0000, 269.9994);
  1883. CreateObject(4199, 7758.379395, -2591.851563, 19.546246, 0.0000, 0.0000, 269.9994);
  1884. CreateObject(4199, 7762.301758, -2591.875488, 19.516514, 0.0000, 0.0000, 269.9994);
  1885. CreateObject(4199, 7729.433105, -2547.961182, 19.546246, 0.0000, 0.0000, 179.9995);
  1886. CreateObject(4199, 7729.461914, -2547.913086, 23.722168, 0.0000, 0.0000, 179.9995);
  1887. CreateObject(4199, 7767.589355, -2544.998535, 19.493896, 0.0000, 0.0000, 89.9994);
  1888. CreateObject(4199, 7743.437988, -2545.011230, 19.521246, 0.0000, 0.0000, 89.9994);
  1889. CreateObject(4199, 7817.520508, -2653.336670, 13.742011, 0.0000, 0.0000, 359.9994);
  1890. CreateObject(4199, 7817.485352, -2671.649170, 13.739655, 0.0000, 0.0000, 359.9994);
  1891. CreateObject(4199, 7797.713379, -2684.095703, 13.739655, 0.0000, 0.0000, 269.9992);
  1892. CreateObject(4199, 7797.801270, -2684.066162, 17.890579, 0.0000, 0.0000, 269.9992);
  1893. CreateObject(4199, 7817.483398, -2663.097412, 17.940578, 0.0000, 0.0000, 359.9984);
  1894. CreateObject(4199, 7817.459961, -2631.914795, 17.917934, 0.0000, 0.0000, 359.9984);
  1895. CreateObject(4199, 7684.346680, -2649.946289, 19.488087, 0.0000, 0.0000, 179.9980);
  1896. CreateObject(4199, 7684.395508, -2666.107910, 19.488087, 0.0000, 0.0000, 179.9980);
  1897. CreateObject(4199, 7700.020996, -2668.486572, 23.514011, 0.0000, 0.0000, 269.9982);
  1898. CreateObject(4199, 7731.494629, -2668.497314, 23.489012, 0.0000, 0.0000, 269.9982);
  1899. CreateObject(4199, 7752.204102, -2679.576904, 19.488087, 0.0000, 0.0000, 269.9982);
  1900. CreateObject(4199, 7774.559082, -2684.107666, 19.464024, 0.0000, 0.0000, 269.9982);
  1901. CreateObject(4199, 7765.215332, -2682.753418, 19.488087, 0.0000, 0.0000, 359.9984);
  1902. CreateObject(4199, 7765.215332, -2634.524170, 19.488087, 0.0000, 0.0000, 359.9984);
  1903. CreateObject(14407, 7779.738770, -2602.827881, 19.896671, 0.0000, 0.0000, 0.0000);
  1904. CreateObject(14407, 7753.469238, -2576.898682, 18.426394, 0.0000, 0.0000, 270.0000);
  1905. CreateObject(14407, 7753.462891, -2580.777344, 18.426405, 0.0000, 0.0000, 270.0000);
  1906. CreateObject(14407, 7753.484375, -2584.578613, 18.426394, 0.0000, 0.0000, 270.0000);
  1907. CreateObject(14407, 7744.997070, -2591.136963, 19.877321, 0.0000, 0.0000, 0.0000);
  1908. CreateObject(14407, 7776.516602, -2621.512695, 19.921005, 0.0000, 0.0000, 270.0000);
  1909. CreateObject(14407, 7776.495117, -2618.496582, 19.902021, 0.0000, 0.0000, 270.0000);
  1910. CreateObject(14407, 7745.086914, -2625.909424, 19.919168, 0.0000, 0.0000, 180.0000);
  1911. CreateObject(14407, 7720.489258, -2644.140381, 18.413727, 0.0000, 0.0000, 90.0000);
  1912. CreateObject(14407, 7720.491211, -2640.221680, 18.423878, 0.0000, 0.0000, 90.0000);
  1913. CreateObject(14407, 7720.458008, -2636.334229, 18.418236, 0.0000, 0.0000, 90.0000);
  1914. CreateObject(8653, 7737.130371, -2645.799316, 21.599627, 0.0000, 0.0000, 90.0000);
  1915. CreateObject(8653, 7766.286133, -2645.788818, 21.549623, 0.0000, 0.0000, 90.0001);
  1916. CreateObject(8653, 7785.260254, -2631.253906, 21.601460, 0.0000, 0.0000, 180.0000);
  1917. CreateObject(8653, 7807.513184, -2555.266357, 17.354496, 0.0000, 0.0000, 90.0000);
  1918. CreateObject(8653, 7777.736328, -2559.000732, 17.354515, 0.0000, 0.0000, 90.0001);
  1919. CreateObject(8653, 7736.484375, -2575.273438, 21.682789, 0.0000, 0.0000, 270.0000);
  1920. CreateObject(8653, 7796.860840, -2597.040771, 23.073717, 0.0000, 0.0000, 270.0000);
  1921. CreateObject(3799, 7751.944336, -2647.586182, 17.257416, 0.0000, 0.0000, 0.0000);
  1922. CreateObject(3799, 7751.978516, -2647.490234, 19.489021, 0.0000, 0.0000, 0.0000);
  1923. CreateObject(3799, 7748.608398, -2647.760254, 17.257416, 0.0000, 0.0000, 11.2500);
  1924. CreateObject(3799, 7754.254883, -2635.990967, 21.483337, 0.0000, 0.0000, 0.0000);
  1925. CreateObject(3799, 7810.122559, -2676.751709, 11.508983, 0.0000, 0.0000, 0.0000);
  1926. CreateObject(3799, 7806.779785, -2676.746094, 11.508983, 0.0000, 0.0000, 0.0000);
  1927. CreateObject(3799, 7810.123047, -2673.647949, 11.508983, 0.0000, 0.0000, 0.0000);
  1928. CreateObject(3799, 7809.886230, -2676.638916, 13.740588, 0.0000, 0.0000, 11.2500);
  1929. CreateObject(3799, 7772.632324, -2676.634033, 17.233353, 0.0000, 0.0000, 0.0000);
  1930. CreateObject(3799, 7772.581055, -2647.698242, 17.258369, 0.0000, 0.0000, 0.0000);
  1931. CreateObject(3798, 7744.144531, -2618.124268, 23.124893, 0.0000, 0.0000, 0.0000);
  1932. CreateObject(3798, 7746.269043, -2617.831787, 23.124893, 0.0000, 0.0000, 0.0000);
  1933. CreateObject(3798, 7744.161621, -2618.007324, 25.124893, 0.0000, 0.0000, 22.5000);
  1934. CreateObject(3798, 7743.970703, -2620.194092, 23.124893, 0.0000, 0.0000, 0.0000);
  1935. CreateObject(3798, 7786.790527, -2618.220947, 18.450565, 0.0000, 0.0000, 0.0000);
  1936. CreateObject(3798, 7786.610840, -2620.245361, 18.475603, 0.0000, 0.0000, 0.0000);
  1937. CreateObject(3798, 7788.837402, -2618.316406, 18.400578, 0.0000, 0.0000, 0.0000);
  1938. CreateObject(3798, 7786.706543, -2618.008545, 20.150570, 0.0000, 0.0000, 11.2500);
  1939. CreateObject(3798, 7784.098633, -2617.867188, 21.624908, 0.0000, 0.0000, 0.0000);
  1940. CreateObject(3800, 7757.278320, -2611.905029, 23.125822, 0.0000, 0.0000, 0.0000);
  1941. CreateObject(3800, 7764.113281, -2611.327637, 23.125822, 0.0000, 0.0000, 0.0000);
  1942. CreateObject(3800, 7757.418945, -2606.992920, 23.125822, 0.0000, 0.0000, 0.0000);
  1943. CreateObject(3800, 7757.433594, -2606.982422, 24.206085, 0.0000, 0.0000, 0.0000);
  1944. CreateObject(3800, 7758.608398, -2606.965576, 23.125822, 0.0000, 0.0000, 0.0000);
  1945. CreateObject(3800, 7756.058105, -2604.576660, 23.125822, 0.0000, 0.0000, 0.0000);
  1946. CreateObject(3800, 7754.889648, -2604.510986, 23.125822, 0.0000, 0.0000, 0.0000);
  1947. CreateObject(3800, 7765.758301, -2604.347656, 23.125822, 0.0000, 0.0000, 0.0000);
  1948. CreateObject(3800, 7765.693848, -2604.437256, 24.206085, 0.0000, 0.0000, 0.0000);
  1949. CreateObject(3800, 7745.418945, -2604.401123, 23.101738, 0.0000, 0.0000, 0.0000);
  1950. CreateObject(3800, 7745.286133, -2604.478027, 24.182001, 0.0000, 0.0000, 0.0000);
  1951. CreateObject(3798, 7747.533203, -2603.937500, 23.125822, 0.0000, 0.0000, 0.0000);
  1952. CreateObject(3798, 7763.595215, -2606.299561, 23.161955, 0.0000, 0.0000, 0.0000);
  1953. CreateObject(3799, 7794.520996, -2606.427246, 11.511338, 0.0000, 0.0000, 0.0000);
  1954. CreateObject(3799, 7794.545410, -2609.479980, 11.511338, 0.0000, 0.0000, 0.0000);
  1955. CreateObject(3799, 7794.534668, -2606.614258, 13.742944, 0.0000, 0.0000, 0.0000);
  1956. CreateObject(3799, 7803.811035, -2606.986328, 11.511338, 0.0000, 0.0000, 0.0000);
  1957. CreateObject(3799, 7794.560059, -2602.524902, 11.511338, 0.0000, 0.0000, 0.0000);
  1958. CreateObject(3799, 7810.653320, -2557.175293, 11.511338, 0.0000, 0.0000, 0.0000);
  1959. CreateObject(3799, 7807.496094, -2557.155029, 11.511338, 0.0000, 0.0000, 0.0000);
  1960. CreateObject(3799, 7810.730957, -2560.309082, 11.511338, 0.0000, 0.0000, 0.0000);
  1961. CreateObject(3799, 7810.648438, -2557.062012, 13.742944, 0.0000, 0.0000, 11.2500);
  1962. CreateObject(3800, 7793.920898, -2612.117188, 11.626078, 0.0000, 0.0000, 11.2500);
  1963. CreateObject(3800, 7804.777832, -2606.965576, 13.857683, 0.0000, 0.0000, 11.2500);
  1964. CreateObject(3799, 7737.642578, -2553.019775, 17.315571, 0.0000, 0.0000, 0.0000);
  1965. CreateObject(3799, 7737.464355, -2552.827148, 19.547176, 0.0000, 0.0000, 0.0000);
  1966. CreateObject(3799, 7737.297363, -2556.152832, 17.315571, 0.0000, 0.0000, 0.0000);
  1967. CreateObject(3798, 7740.557129, -2552.603516, 17.430311, 0.0000, 0.0000, 11.2500);
  1968. CreateObject(3798, 7790.952637, -2577.614990, 17.377930, 0.0000, 0.0000, 0.0000);
  1969. CreateObject(8653, 7792.448730, -2590.972412, 17.279493, 0.0000, 0.0000, 180.0001);
  1970. CreateObject(3798, 7703.606934, -2576.133545, 21.536501, 0.0000, 0.0000, 0.0000);
  1971. CreateObject(3798, 7703.614258, -2578.169189, 21.536501, 0.0000, 0.0000, 0.0000);
  1972. CreateObject(3798, 7705.674805, -2576.041016, 21.536501, 0.0000, 0.0000, 0.0000);
  1973. CreateObject(3798, 7704.182129, -2576.243896, 23.536501, 0.0000, 0.0000, 0.0000);
  1974. CreateObject(3798, 7712.839844, -2585.014404, 21.562355, 0.0000, 0.0000, 0.0000);
  1975. CreateObject(3798, 7703.292480, -2602.476318, 23.102652, 0.0000, 0.0000, 0.0000);
  1976. CreateObject(3798, 7712.707031, -2598.736328, 23.102652, 0.0000, 0.0000, 0.0000);
  1977. CreateObject(14407, 7709.869141, -2591.551758, 19.858448, 0.0000, 0.0000, 0.0000);
  1978. CreateObject(14407, 7705.948730, -2591.540527, 19.858440, 0.0000, 0.0000, 0.0000);
  1979. CreateObject(14407, 7702.062012, -2591.554199, 19.858440, 0.0000, 0.0000, 0.0000);
  1980. CreateObject(3799, 7803.862793, -2614.028564, 11.511338, 0.0000, 0.0000, 0.0000);
  1981. CreateObject(3799, 7805.245117, -2618.281738, 11.508983, 0.0000, 0.0000, 0.0000);
  1982. CreateObject(3799, 7805.279785, -2618.301514, 13.740588, 0.0000, 0.0000, 0.0000);
  1983. CreateObject(3799, 7805.316406, -2621.365234, 11.508983, 0.0000, 0.0000, 0.0000);
  1984. CreateObject(3798, 7802.419922, -2617.878418, 11.623722, 0.0000, 0.0000, 11.2500);
  1985. CreateObject(3799, 7767.138184, -2647.508301, 21.483337, 0.0000, 0.0000, 0.0000);
  1986. CreateObject(8653, 7710.657715, -2645.759766, 13.098713, 325.6225, 0.0000, 90.0000);
  1987. CreateObject(8653, 7712.767090, -2645.656982, 12.098705, 325.6225, 0.0000, 90.0000);
  1988. CreateObject(8653, 7762.971191, -2575.265381, 13.150787, 325.6225, 0.8594, 270.0000);
  1989. CreateObject(8653, 7760.956543, -2575.355469, 12.075758, 325.6225, 0.8594, 270.0000);
  1990. CreateObject(3798, 7762.035645, -2558.491699, 17.351082, 0.0000, 0.0000, 0.0000);
  1991. CreateObject(3798, 7791.895508, -2557.887695, 17.377964, 0.0000, 0.0000, 0.0000);
  1992. CreateObject(3798, 7791.928223, -2555.924072, 17.377964, 0.0000, 0.0000, 0.0000);
  1993. CreateObject(3798, 7722.083984, -2575.978027, 21.656235, 0.0000, 0.0000, 0.0000);
  1994. CreateObject(3799, 7781.345215, -2647.436768, 17.260868, 0.0000, 0.0000, 0.0000);
  1995. CreateObject(3799, 7781.358887, -2647.439941, 19.492474, 0.0000, 0.0000, 0.0000);
  1996. CreateObject(8653, 7770.454102, -2645.791992, 21.549635, 0.0000, 0.0000, 90.0001);
  1997. CreateObject(3799, 7722.443359, -2647.550049, 17.257416, 0.0000, 0.0000, 0.0000);
  1998. CreateObject(3799, 7722.409668, -2647.548584, 19.489021, 0.0000, 0.0000, 0.0000);
  1999. CreateObject(3800, 7792.036133, -2556.948975, 19.377964, 0.0000, 0.0000, 33.7500);
  2000. CreateObject(3798, 7804.333984, -2604.144531, 23.097155, 0.0000, 0.0000, 0.0000);
  2001. CreateObject(3798, 7793.865723, -2580.638428, 11.626078, 0.0000, 0.0000, 0.0000);
  2002. CreateObject(4199, 7759.627930, -2610.990479, 29.017685, 179.6226, 0.0000, 90.0000);
  2003. CreateObject(4199, 7759.655273, -2599.837891, 29.043606, 180.4820, 0.0000, 270.0000);
  2004. CreateObject(4199, 7734.984375, -2596.442871, 28.868608, 180.4820, 0.0000, 270.0000);
  2005. CreateObject(4199, 7734.956543, -2607.879639, 28.892687, 179.6226, 0.0000, 90.0001);
  2006. CreateObject(4199, 7731.424805, -2668.510010, 19.488087, 0.0000, 0.0000, 269.9982);
  2007. CreateObject(4199, 7705.209473, -2668.472412, 19.488087, 0.0000, 0.0000, 269.9982);
  2008. CreateObject(4199, 7684.463379, -2648.364990, 23.564011, 0.0000, 0.0000, 179.9980);
  2009. CreateObject(4199, 7751.781738, -2679.520996, 23.539011, 0.0000, 0.0000, 269.9972);
  2010. CreateObject(4199, 7777.790527, -2684.073730, 23.539948, 0.0000, 0.0000, 269.9972);
  2011. CreateObject(4199, 7801.775391, -2684.073242, 22.091503, 0.0000, 0.0000, 269.9972);
  2012. CreateObject(4199, 7817.385254, -2663.048096, 22.091503, 0.0000, 0.0000, 359.9974);
  2013. CreateObject(4199, 7817.445313, -2631.801758, 22.043858, 0.0000, 0.0000, 359.9974);
  2014. CreateObject(4199, 7817.977539, -2560.070313, 23.619789, 0.0000, 0.0000, 359.9974);
  2015. CreateObject(4199, 7796.811035, -2545.024414, 23.694788, 0.0000, 0.0000, 89.9977);
  2016. CreateObject(4199, 7765.349121, -2545.027100, 23.694818, 0.0000, 0.0000, 89.9977);
  2017. CreateObject(4199, 7742.666016, -2545.020508, 23.697170, 0.0000, 0.0000, 89.9977);
  2018. CreateObject(4199, 7729.493164, -2547.865234, 27.873091, 0.0000, 0.0000, 179.9995);
  2019. CreateObject(4199, 7750.860352, -2545.052490, 27.873093, 0.0000, 0.0000, 89.9994);
  2020. CreateObject(4199, 7812.503418, -2591.716064, 23.619781, 0.0000, 0.0000, 359.9995);
  2021. CreateObject(4199, 7790.944824, -2610.931152, 29.241776, 0.0000, 0.0000, 270.0000);
  2022. CreateObject(4199, 7791.308105, -2610.999023, 29.217709, 0.0000, 0.0000, 90.0001);
  2023. CreateObject(4199, 7737.208496, -2618.696045, 29.117683, 0.0000, 0.0000, 179.9969);
  2024. CreateObject(4199, 7742.796387, -2610.920166, 29.111509, 0.0000, 0.0000, 89.9967);
  2025. CreateObject(4199, 7727.196289, -2628.723389, 29.115858, 0.0000, 0.0000, 89.9967);
  2026. CreateObject(4199, 7812.076660, -2610.936035, 29.291775, 0.0000, 0.0000, 89.9967);
  2027. CreateObject(4199, 7696.539551, -2590.734863, 29.319510, 0.0000, 0.0000, 179.9967);
  2028. CreateObject(4199, 7711.958984, -2610.902588, 29.244511, 0.0000, 0.0000, 269.9970);
  2029. CreateObject(4199, 7727.541016, -2591.847656, 29.393600, 0.0000, 0.0000, 269.9970);
  2030. CreateObject(4199, 7762.304199, -2591.869141, 29.418600, 0.0000, 0.0000, 269.9970);
  2031. CreateObject(3799, 7751.273438, -2573.504395, 17.234459, 0.0000, 0.0000, 0.0000);
  2032. CreateObject(3799, 7751.312012, -2573.536133, 19.466064, 0.0000, 0.0000, 0.0000);
  2033. CreateObject(4199, 7765.228516, -2682.724121, 23.514940, 0.0000, 0.0000, 179.9969);
  2034. CreateObject(4199, 7765.246094, -2682.740723, 19.464024, 0.0000, 0.0000, 179.9969);
  2035. CreateObject(4199, 7762.956055, -2628.770264, 27.740850, 0.0000, 0.0000, 90.0000);
  2036. CreateObject(1223, 7782.034180, -2596.093994, 17.391815, 0.0000, 0.0000, 90.0000);
  2037. CreateObject(1223, 7810.963867, -2562.573486, 11.617319, 0.0000, 0.0000, 180.0000);
  2038. CreateObject(1223, 7793.587891, -2556.520020, 11.617319, 0.0000, 0.0000, 315.0000);
  2039. CreateObject(1223, 7736.264160, -2558.143066, 17.342323, 0.0000, 0.0000, 0.0000);
  2040. CreateObject(1223, 7702.784180, -2579.601807, 21.527742, 0.0000, 0.0000, 0.0000);
  2041. CreateObject(1223, 7714.233887, -2597.941406, 23.093893, 0.0000, 0.0000, 270.0000);
  2042. CreateObject(1223, 7720.267090, -2646.569336, 17.363396, 0.0000, 0.0000, 270.0000);
  2043. CreateObject(1223, 7771.737793, -2674.361084, 17.339333, 0.0000, 0.0000, 0.0000);
  2044. CreateObject(1223, 7782.657227, -2617.293457, 21.616150, 0.0000, 0.0000, 270.0000);
  2045. CreateObject(1223, 7806.041016, -2623.871338, 11.614964, 0.0000, 0.0000, 180.0000);
  2046. CreateObject(1223, 7756.495117, -2635.043213, 21.545542, 0.0000, 0.0000, 270.0000);
  2047. CreateObject(1223, 7755.140137, -2672.307129, 17.363396, 0.0000, 0.0000, 135.0000);
  2048. CreateObject(8653, 7770.460938, -2667.331299, 17.274654, 0.0000, 0.0000, 90.0001);
  2049. CreateObject(8653, 7785.186523, -2682.272949, 17.249643, 0.0000, 0.0000, 180.0001);
  2050. CreateObject(4199, 7761.492188, -2682.780273, 19.488087, 0.0000, 0.0000, 359.9984);
  2051. CreateObject(4199, 7761.470215, -2682.753662, 23.514011, 0.0000, 0.0000, 359.9984);
  2052. CreateObject(3799, 7748.799316, -2672.220459, 17.257416, 0.0000, 0.0000, 0.0000);
  2053. CreateObject(1223, 7747.531250, -2617.442139, 23.116135, 0.0000, 0.0000, 270.0000);
  2054. CreateObject(1223, 7804.776855, -2602.242188, 11.641146, 0.0000, 0.0000, 180.0000);
  2055. CreateObject(2988, 7690.196289, -2648.758301, 17.367802, 0.0000, 0.0000, 0.0000);
  2056. CreateObject(2988, 7690.223633, -2657.135010, 17.367802, 0.0000, 0.0000, 180.0000);
  2057. CreateObject(2988, 7811.680664, -2654.363770, 11.619369, 0.0000, 0.0000, 0.0000);
  2058. CreateObject(2988, 7811.708984, -2662.741455, 11.619369, 0.0000, 0.0000, 180.0000);
  2059. CreateObject(2988, 7715.086914, -2662.771240, 17.367802, 0.0000, 0.0000, 90.0000);
  2060. CreateObject(2988, 7781.227051, -2550.831055, 17.373611, 0.0000, 0.0000, 90.0000);
  2061. CreateObject(2988, 7733.309082, -2564.722900, 17.346729, 0.0000, 0.0000, 0.0000);
  2062. CreateObject(2988, 7723.476074, -2662.741943, 17.367802, 0.0000, 0.0000, 270.0000);
  2063. CreateObject(2988, 7785.546875, -2639.450439, 17.371256, 0.0000, 0.0000, 180.0000);
  2064. CreateObject(2988, 7733.325684, -2573.049072, 17.344847, 0.0000, 0.0000, 180.0000);
  2065. CreateObject(2988, 7790.657715, -2678.397705, 11.619369, 0.0000, 0.0000, 90.0000);
  2066. CreateObject(2988, 7798.984863, -2678.404297, 11.619369, 0.0000, 0.0000, 270.0000);
  2067. CreateObject(2988, 7785.533203, -2631.077637, 17.371256, 0.0000, 0.0000, 0.0000);
  2068. CreateObject(2988, 7812.201172, -2565.076172, 11.621724, 0.0000, 0.0000, 0.0000);
  2069. CreateObject(2988, 7812.221191, -2573.460449, 11.621724, 0.0000, 0.0000, 180.0000);
  2070. CreateObject(2988, 7789.562012, -2550.802246, 17.373611, 0.0000, 0.0000, 270.0000);
  2071. CreateObject(3799, 7691.695801, -2639.259033, 17.157417, 0.0000, 0.0000, 0.0000);
  2072. CreateObject(3799, 7713.420410, -2661.235352, 17.257416, 0.0000, 0.0000, 0.0000);
  2073. CreateObject(3799, 7691.745117, -2636.154541, 19.089027, 0.0000, 0.0000, 0.0000);
  2074. CreateObject(3799, 7691.651855, -2659.567627, 17.257416, 0.0000, 0.0000, 0.0000);
  2075. CreateObject(3799, 7695.111328, -2636.232666, 17.157417, 0.0000, 0.0000, 11.2500);
  2076. CreateObject(3799, 7691.758789, -2636.173828, 17.257416, 0.0000, 0.0000, 0.0000);
  2077. CreateObject(5403, 7687.428223, -2672.578857, -5.860776, 0.0000, 0.0000, 270.0000);
  2078. CreateObject(5403, 7692.524902, -2571.866211, -2.132384, 0.0000, 0.0000, 180.0000);
  2079. CreateObject(5403, 7821.411133, -2681.405518, -7.485781, 0.0000, 0.0000, 360.0000);
  2080. CreateObject(5403, 7699.510254, -2615.000000, -0.331191, 0.0000, 0.0000, 270.0000);
  2081. CreateObject(5403, 7680.436523, -2631.696045, -5.935771, 0.0000, 0.0000, 180.0000);
  2082. CreateObject(5403, 7816.845703, -2607.942871, -2.058003, 0.0000, 0.0000, 360.0000);
  2083. CreateObject(5403, 7725.520996, -2547.697998, -1.744084, 0.0000, 0.0000, 180.0001);
  2084. CreateObject(5403, 7815.289551, -2541.026855, -5.879995, 0.0000, 0.0000, 90.0002);
  2085. CreateObject(4199, 7810.982910, -2603.297363, 15.217934, 0.0000, 0.0000, 0.0000);
  2086. CreateObject(4199, 7810.970215, -2603.279053, 13.367017, 0.0000, 0.0000, 0.0000);
  2087. CreateObject(16685, 7794.886719, -2618.622559, 11.676799, 0.0000, 0.0000, 270.0000);
  2088. CreateObject(16685, 7653.641113, -2654.906982, 17.400232, 0.0000, 0.0000, 0.0000);
  2089. CreateObject(16685, 7653.469238, -2561.135498, 17.429159, 0.0000, 0.0000, 0.0000);
  2090. CreateObject(16685, 7636.521973, -2600.942627, 17.505342, 0.8594, 0.0000, 180.0000);
  2091. CreateObject(16685, 7772.878418, -2530.270508, 17.430344, 0.0000, 0.0000, 0.0000);
  2092. CreateObject(16685, 7805.103516, -1964.048584, 0.042185, 1.7189, 0.0000, 180.0000);
  2093. CreateObject(16685, 7637.151367, -2532.006348, 17.431528, 0.0000, 0.0000, 180.0001);
  2094. CreateObject(4199, 7812.524902, -2591.719727, 27.595707, 0.0000, 0.0000, 0.0000);
  2095. CreateObject(4199, 7787.090332, -2612.390137, 16.541550, 0.0000, 0.0000, 180.0000);
  2096. CreateObject(4199, 7727.550293, -2591.917725, 25.217670, 0.0000, 0.0000, 90.0001);
  2097. CreateObject(4199, 7762.911133, -2628.736328, 23.596611, 0.0000, 0.0000, 270.0004);
  2098. CreateObject(4199, 7762.292969, -2591.935059, 25.201918, 0.0000, 0.0000, 90.0001);
  2099. CreateObject(8653, 7822.013672, -2638.550293, 17.277134, 0.0000, 0.0000, 270.0000);
  2100. CreateObject(8653, 7792.610352, -2635.132324, 17.252165, 0.0000, 0.0000, 0.0000);
  2101. CreateObject(8653, 7807.173828, -2623.679199, 17.277130, 0.0000, 0.0000, 0.0000);
  2102. CreateObject(8653, 7777.730957, -2649.816895, 17.274670, 0.0000, 0.0000, 90.0001);
  2103. CreateObject(16685, 7636.866211, -2622.671631, 17.453686, 0.0000, 0.0000, 180.0000);
  2104. CreateObject(16685, 7629.500000, -2692.279053, 17.426168, 0.8594, 0.0000, 180.0000);
  2105. //==================================== Mapa 1 ==========================================================================
  2106. //==================================== Mapa 2 ==========================================================================
  2107. CreateObject(5118, -4289.91357, -6765.54443, 15.20202,   0.00000, 0.00000, 180.00000);
  2108. CreateObject(5118, -4261.40527, -6755.49365, 15.19558,   0.00000, 0.00000, 0.00000);
  2109. CreateObject(3997, -4308.21484, -6766.95166, 15.07859,   0.00000, 0.00000, 0.00000);
  2110. CreateObject(4058, -4279.32080, -6725.77783, 30.00073,   0.00000, 0.00000, 0.00000);
  2111. CreateObject(4058, -4175.39404, -6777.30566, 34.92513,   0.00000, 0.00000, 0.00000);
  2112. CreateObject(4058, -4303.20947, -6793.80615, 30.12577,   0.00000, 0.00000, 180.00000);
  2113. CreateObject(4682, -4337.85693, -6789.88525, 24.53660,   0.00000, 0.00000, 0.00000);
  2114. CreateObject(9910, -4301.16162, -6772.67871, 16.16963,   0.00000, 0.00000, 225.00000);
  2115. CreateObject(9910, -4253.29785, -6746.43115, 16.11963,   0.00000, 0.00000, 45.00000);
  2116. CreateObject(9910, -4235.83643, -6733.73389, 16.11962,   0.00000, 0.00000, 135.00000);
  2117. CreateObject(5127, -4415.41992, -6726.46533, 20.28381,   0.00000, 0.00000, 0.00000);
  2118. CreateObject(5399, -4239.98389, -6752.54834, 20.60156,   0.00000, 0.00000, 270.00000);
  2119. CreateObject(5398, -4221.87646, -6752.53857, 19.40250,   0.00000, 0.00000, 270.00000);
  2120. CreateObject(5398, -4206.08789, -6752.49805, 19.37814,   0.00000, 0.00000, 90.00000);
  2121. CreateObject(5399, -4322.34375, -6768.49023, 20.63301,   0.00000, 0.00000, 90.00000);
  2122. CreateObject(5398, -4340.43555, -6768.47363, 19.45314,   0.00000, 0.00000, 90.00000);
  2123. CreateObject(9131, -4356.07031, -6762.55029, 16.20156,   0.00000, 0.00000, 0.00000);
  2124. CreateObject(9131, -4356.07666, -6762.54102, 18.34956,   0.00000, 0.00000, 0.00000);
  2125. CreateObject(9910, -4317.04639, -6748.11328, 20.26966,   0.00000, 0.00000, 135.00000);
  2126. CreateObject(8661, -4375.94287, -6767.80566, 15.11292,   0.00000, 0.00000, 0.00000);
  2127. CreateObject(8661, -4415.19971, -6769.06885, 15.11104,   0.00000, 0.00000, 0.00000);
  2128. CreateObject(8661, -4454.86475, -6770.97217, 15.10915,   0.00000, 0.00000, 0.00000);
  2129. CreateObject(8634, -4277.17529, -6754.98877, 15.73274,   0.00000, 0.00000, 270.00000);
  2130. CreateObject(8634, -4277.19922, -6750.97217, 15.73274,   0.00000, 0.00000, 270.00000);
  2131. CreateObject(8634, -4274.20313, -6770.08008, 15.73918,   0.00000, 0.00000, 90.00000);
  2132. CreateObject(8634, -4274.24561, -6766.06738, 15.73918,   0.00000, 0.00000, 90.00000);
  2133. CreateObject(8624, -4386.34717, -6768.47607, 15.23757,   0.00000, 0.00000, 90.00030);
  2134. CreateObject(8624, -4414.16064, -6768.48193, 15.23567,   0.00000, 0.00000, 90.00020);
  2135. CreateObject(8634, -4421.80615, -6766.89258, 15.77282,   0.00000, 0.00000, 270.00000);
  2136. CreateObject(8634, -4421.78467, -6770.89844, 15.77282,   0.00000, 0.00000, 270.00000);
  2137. CreateObject(8624, -4160.32373, -6752.46680, 15.17357,   0.00000, 0.00000, 270.00049);
  2138. CreateObject(8661, -4170.71631, -6746.90869, 15.07201,   90.24080, 0.00000, 0.00000);
  2139. CreateObject(8661, -4163.64990, -6752.39795, 15.07013,   90.24080, 0.00000, 270.00000);
  2140. CreateObject(8661, -4177.43262, -6748.41553, 15.04701,   0.00000, 0.00000, 0.00000);
  2141. CreateObject(8661, -4177.34961, -6751.12402, 22.72014,   179.62260, 0.00000, 0.00000);
  2142. CreateObject(8661, -4171.73242, -6745.43115, 19.80656,   134.07220, 0.00000, 0.00000);
  2143. CreateObject(8661, -4183.60400, -6746.46240, 21.54412,   149.54221, 0.00000, 0.00000);
  2144. CreateObject(9910, -4198.59570, -6738.99414, 35.65907,   0.00000, 0.00000, 315.00000);
  2145. CreateObject(9910, -4436.15137, -6779.38818, 28.84389,   0.00000, 0.00000, 225.00000);
  2146. CreateObject(9910, -4450.61230, -6767.63477, 27.63115,   0.00000, 0.00000, 135.00000);
  2147. CreateObject(8661, -4461.06689, -6751.17578, 16.57002,   0.00000, 0.00000, 0.00000);
  2148. CreateObject(9910, -4437.40430, -6754.83594, 29.21891,   0.00000, 0.00000, 45.00000);
  2149. CreateObject(9910, -4446.30371, -6754.86621, 29.21702,   0.00000, 0.00000, 45.00000);
  2150. CreateObject(5398, -4429.82764, -6768.48535, 19.43959,   0.00000, 0.00000, 90.00000);
  2151. CreateObject(5398, -4429.72852, -6779.56592, 19.50243,   0.00000, 0.00000, 90.00000);
  2152. CreateObject(5398, -4429.78125, -6757.42627, 19.45242,   0.00000, 0.00000, 90.00000);
  2153. CreateObject(3570, -4417.77930, -6773.76416, 16.49600,   0.00000, 0.00000, 0.00000);
  2154. CreateObject(3570, -4417.79150, -6773.76904, 19.16832,   0.00000, 0.00000, 0.00000);
  2155. CreateObject(3570, -4417.78955, -6773.78467, 21.86565,   0.00000, 0.00000, 0.00000);
  2156. CreateObject(3570, -4417.78467, -6762.71533, 16.50855,   0.00000, 0.00000, 0.00000);
  2157. CreateObject(3570, -4417.77783, -6762.72119, 19.20588,   0.00000, 0.00000, 0.00000);
  2158. CreateObject(3570, -4417.86328, -6762.71582, 21.90320,   0.00000, 0.00000, 0.00000);
  2159. CreateObject(3570, -4417.83740, -6751.85742, 17.91986,   0.00000, 0.00000, 0.00000);
  2160. CreateObject(3570, -4417.82813, -6751.85547, 20.61718,   0.00000, 0.00000, 0.00000);
  2161. CreateObject(3570, -4417.86963, -6751.85889, 23.28951,   0.00000, 0.00000, 0.00000);
  2162. CreateObject(3570, -4415.14258, -6768.02246, 23.37731,   268.89981, 0.00000, 270.00000);
  2163. CreateObject(3570, -4415.04492, -6775.94434, 23.38501,   268.89981, 0.00000, 270.00000);
  2164. CreateObject(3570, -4415.14160, -6782.38770, 23.37389,   268.89981, 0.00000, 270.00000);
  2165. CreateObject(3570, -4415.11963, -6759.95947, 23.37217,   268.89981, 0.00000, 270.00000);
  2166. CreateObject(3570, -4415.11963, -6752.39648, 23.37696,   268.89981, 0.00000, 270.00000);
  2167. CreateObject(3570, -4441.98242, -6773.91846, 16.34568,   0.00000, 0.00000, 0.00000);
  2168. CreateObject(3570, -4441.95459, -6773.93506, 19.04301,   0.00000, 0.00000, 0.00000);
  2169. CreateObject(3570, -4441.93896, -6773.95361, 21.74033,   0.00000, 0.00000, 0.00000);
  2170. CreateObject(3570, -4441.96680, -6762.89160, 16.45709,   0.00000, 0.00000, 0.00000);
  2171. CreateObject(3570, -4441.95020, -6762.89844, 19.15442,   0.00000, 0.00000, 0.00000);
  2172. CreateObject(3570, -4441.93213, -6762.89941, 21.85174,   0.00000, 0.00000, 0.00000);
  2173. CreateObject(3675, -4451.45898, -6780.06104, 21.17811,   0.00000, 0.00000, 180.00000);
  2174. CreateObject(3675, -4270.35938, -6779.35645, 21.90385,   0.00000, 0.00000, 270.00000);
  2175. CreateObject(914, -4451.85449, -6755.37598, 19.19191,   0.00000, 0.00000, 270.00000);
  2176. CreateObject(2653, -4445.86279, -6776.75391, 23.46036,   0.85940, 180.37740, 0.00000);
  2177. CreateObject(2653, -4445.85010, -6768.94189, 23.57160,   0.85940, 180.37740, 0.00000);
  2178. CreateObject(2653, -4445.86230, -6761.08643, 23.69305,   0.85940, 180.37740, 0.00000);
  2179. CreateObject(2653, -4445.86914, -6753.41406, 23.80085,   0.85940, 180.37740, 0.00000);
  2180. CreateObject(1689, -4321.38330, -6768.18213, 27.28559,   0.00000, 0.00000, 270.00000);
  2181. CreateObject(1689, -4240.94434, -6752.38184, 27.34057,   0.00000, 0.00000, 90.00000);
  2182. CreateObject(8634, -4187.03516, -6750.02393, 15.71073,   0.00000, 0.00000, 90.00000);
  2183. CreateObject(8634, -4186.92188, -6754.04980, 15.71073,   0.00000, 0.00000, 90.00000);
  2184. CreateObject(1691, -4263.86523, -6744.30273, 29.40189,   0.00000, 0.00000, 90.00000);
  2185. CreateObject(1691, -4266.68750, -6775.81982, 37.61740,   0.00000, 0.00000, 270.00000);
  2186. CreateObject(1691, -4305.91064, -6774.97510, 29.55189,   0.00000, 0.00000, 270.00000);
  2187. CreateObject(1687, -4293.97949, -6777.38965, 29.94197,   0.00000, 0.00000, 0.00000);
  2188. CreateObject(1687, -4264.88428, -6779.98291, 38.00748,   0.00000, 0.00000, 0.00000);
  2189. CreateObject(1688, -4257.48193, -6777.48535, 38.21887,   0.00000, 0.00000, 90.00000);
  2190. CreateObject(1688, -4255.97656, -6742.70020, 30.10335,   0.00000, 0.00000, 0.00000);
  2191. CreateObject(1688, -4321.21729, -6754.87354, 34.25338,   0.00000, 0.00000, 270.00000);
  2192. CreateObject(1691, -4316.74121, -6742.13770, 37.49237,   0.00000, 0.00000, 270.00000);
  2193. CreateObject(1635, -4308.28955, -6773.37305, 19.30634,   0.00000, 0.00000, 270.00000);
  2194. CreateObject(1635, -4294.75244, -6739.20850, 20.14355,   0.00000, 0.00000, 90.00000);
  2195. CreateObject(1635, -4262.67041, -6745.71191, 19.15359,   0.00000, 0.00000, 90.00000);
  2196. CreateObject(1635, -4257.90576, -6773.60205, 19.58142,   0.00000, 0.00000, 270.00000);
  2197. CreateObject(1635, -4428.65479, -6774.57324, 18.74358,   0.00000, 0.00000, 90.00000);
  2198. CreateObject(1635, -4428.06250, -6763.51611, 19.16133,   0.00000, 0.00000, 90.00000);
  2199. CreateObject(1635, -4429.53613, -6762.39551, 19.16009,   0.00000, 0.00000, 270.00000);
  2200. CreateObject(1635, -4317.79053, -6753.19482, 19.27208,   0.00000, 0.00000, 180.00000);
  2201. CreateObject(1635, -4175.82129, -6747.46436, 18.01155,   0.00000, 0.00000, 90.00000);
  2202. CreateObject(1635, -4180.68066, -6787.93115, 13.69664,   0.00000, 0.00000, 270.00000);
  2203. CreateObject(3675, -4172.13770, -6747.57568, 17.47819,   0.00000, 0.00000, 0.00000);
  2204. CreateObject(3585, -4401.30908, -6766.52490, 16.76590,   0.00000, 0.00000, 0.00000);
  2205. CreateObject(3585, -4391.58887, -6766.45996, 16.76590,   0.00000, 0.00000, 0.00000);
  2206. CreateObject(3585, -4428.28223, -6770.48145, 16.77231,   0.00000, 0.00000, 0.00000);
  2207. CreateObject(3585, -4337.13916, -6770.47705, 16.78671,   0.00000, 0.00000, 0.00000);
  2208. CreateObject(3585, -4267.28809, -6754.54639, 16.72391,   0.00000, 0.00000, 0.00000);
  2209. CreateObject(3585, -4189.32910, -6750.41309, 16.70190,   0.00000, 0.00000, 0.00000);
  2210. CreateObject(3585, -4205.12354, -6750.53516, 16.70334,   0.00000, 0.00000, 0.00000);
  2211. CreateObject(3564, -4222.08545, -6750.48486, 16.73457,   0.00000, 0.00000, 0.00000);
  2212. CreateObject(3564, -4380.79346, -6770.44678, 16.76590,   0.00000, 0.00000, 0.00000);
  2213. CreateObject(3564, -4276.90723, -6754.53711, 16.72391,   0.00000, 0.00000, 0.00000);
  2214. CreateObject(3564, -4287.99023, -6750.42432, 16.72391,   0.00000, 0.00000, 0.00000);
  2215. CreateObject(3564, -4290.05957, -6766.42920, 16.73035,   0.00000, 0.00000, 0.00000);
  2216. CreateObject(3564, -4270.52148, -6770.51563, 16.73814,   0.00000, 0.00000, 0.00000);
  2217. CreateObject(3564, -4301.37500, -6766.39893, 16.73035,   0.00000, 0.00000, 0.00000);
  2218. CreateObject(3564, -4370.97070, -6770.30859, 16.76590,   0.00000, 0.00000, 0.00000);
  2219. CreateObject(1231, -4281.35156, -6741.59277, 17.80304,   0.00000, 0.00000, 180.00000);
  2220. CreateObject(1231, -4384.52148, -6761.41748, 19.30231,   0.00000, 0.00000, 270.00000);
  2221. CreateObject(1231, -4453.99707, -6768.18164, 21.18954,   272.33749, 0.00000, 270.00000);
  2222. CreateObject(1231, -4230.87793, -6752.52148, 25.22818,   179.62260, 0.00000, 270.00000);
  2223. CreateObject(1231, -4279.19238, -6775.58447, 17.80304,   0.00000, 0.00000, 270.00000);
  2224. CreateObject(1231, -4214.87012, -6752.42188, 25.22104,   179.62260, 0.00000, 270.00000);
  2225. CreateObject(1231, -4197.54932, -6752.38818, 25.28519,   179.62260, 0.00000, 270.00000);
  2226. CreateObject(1231, -4182.84668, -6752.55566, 24.30931,   179.62260, 0.00000, 270.00000);
  2227. CreateObject(1231, -4332.72070, -6768.34326, 25.29604,   179.62260, 0.00000, 270.00000);
  2228. CreateObject(1231, -4352.51367, -6768.40967, 25.29605,   179.62260, 0.00000, 270.00000);
  2229. CreateObject(1431, -4279.39600, -6762.78223, 15.62621,   0.00000, 0.00000, 337.50000);
  2230. CreateObject(1431, -4287.78662, -6752.27979, 15.64163,   0.00000, 0.00000, 0.00000);
  2231. CreateObject(1431, -4319.39941, -6762.25488, 15.62621,   0.00000, 0.00000, 22.50000);
  2232. CreateObject(1431, -4240.70508, -6760.68848, 15.62621,   0.00000, 0.00000, 326.25000);
  2233. CreateObject(1431, -4244.72217, -6745.98486, 15.62621,   0.00000, 0.00000, 315.00000);
  2234. CreateObject(1431, -4286.87451, -6780.14600, 15.62621,   0.00000, 0.00000, 326.25000);
  2235. CreateObject(1431, -4311.67676, -6739.98682, 15.62621,   0.00000, 0.00000, 33.75000);
  2236. CreateObject(1431, -4317.17236, -6746.50098, 15.62621,   0.00000, 0.00000, 33.75000);
  2237. CreateObject(2567, -4363.23975, -6752.40674, 18.49952,   0.00000, 0.00000, 0.00000);
  2238. CreateObject(2567, -4422.62207, -6754.63330, 18.49952,   0.00000, 0.00000, 0.00000);
  2239. CreateObject(2567, -4427.58154, -6779.56787, 18.49952,   0.00000, 0.00000, 0.00000);
  2240. CreateObject(2567, -4166.22656, -6782.56445, 12.89960,   0.00000, 0.00000, 270.00000);
  2241. CreateObject(12821, -4186.66309, -6777.68604, 11.89011,   0.00000, 0.00000, 0.00000);
  2242. CreateObject(12821, -4268.59375, -6739.98291, 16.07170,   0.00000, 0.00000, 180.00000);
  2243. CreateObject(12821, -4273.85400, -6778.94775, 16.07170,   0.00000, 0.00000, 90.00000);
  2244. CreateObject(12821, -4242.63037, -6771.75879, 16.07170,   0.00000, 0.00000, 90.00000);
  2245. CreateObject(18260, -4181.26611, -6765.60693, 12.54519,   0.00000, 0.00000, 180.00000);
  2246. CreateObject(12821, -4189.64355, -6775.61572, 11.96511,   0.00000, 0.00000, 180.00000);
  2247. CreateObject(12821, -4165.57080, -6748.41602, 16.06512,   0.00000, 0.00000, 180.00000);
  2248. CreateObject(12821, -4164.08057, -6757.38379, 16.06512,   0.00000, 0.00000, 180.00020);
  2249. CreateObject(925, -4255.31250, -6746.17383, 16.14050,   0.00000, 0.00000, 0.00000);
  2250. CreateObject(925, -4286.89600, -6775.19482, 16.14050,   0.00000, 0.00000, 270.00000);
  2251. CreateObject(925, -4376.16113, -6752.24072, 17.63382,   0.00000, 0.00000, 0.00000);
  2252. CreateObject(925, -4386.33545, -6752.39893, 17.63382,   0.00000, 0.00000, 0.00000);
  2253. CreateObject(925, -4397.18018, -6752.34180, 17.63382,   0.00000, 0.00000, 0.00000);
  2254. CreateObject(3798, -4299.49463, -6757.78271, 15.09056,   0.00000, 0.00000, 0.00000);
  2255. CreateObject(3798, -4301.49756, -6756.08301, 15.07514,   0.00000, 0.00000, 348.75000);
  2256. CreateObject(3798, -4251.73193, -6763.24121, 15.07514,   0.00000, 0.00000, 11.25000);
  2257. CreateObject(3798, -4272.12061, -6758.60010, 15.09700,   0.00000, 0.00000, 11.25000);
  2258. CreateObject(3798, -4299.53857, -6747.88232, 15.07514,   0.00000, 0.00000, 0.00000);
  2259. CreateObject(3800, -4272.06885, -6758.66797, 17.09700,   0.00000, 0.00000, 337.50000);
  2260. CreateObject(3800, -4253.45996, -6763.01514, 15.09700,   0.00000, 0.00000, 0.00000);
  2261. CreateObject(3800, -4299.37549, -6757.62842, 17.09056,   0.00000, 0.00000, 348.75000);
  2262. CreateObject(3800, -4297.76563, -6747.14453, 15.09056,   0.00000, 0.00000, 11.25000);
  2263. CreateObject(3800, -4201.94824, -6757.08643, 15.07878,   0.00000, 0.00000, 0.00000);
  2264. CreateObject(3800, -4280.68018, -6742.68115, 15.07514,   0.00000, 0.00000, 0.00000);
  2265. CreateObject(3798, -4282.78223, -6741.44531, 15.07514,   0.00000, 0.00000, 337.50000);
  2266. CreateObject(3798, -4251.29492, -6772.93115, 15.07514,   0.00000, 0.00000, 0.00000);
  2267. CreateObject(3800, -4251.34619, -6773.55566, 17.07514,   0.00000, 0.00000, 0.00000);
  2268. CreateObject(1328, -4280.01074, -6741.68945, 15.59373,   0.00000, 0.00000, 0.00000);
  2269. CreateObject(1328, -4253.56689, -6745.65967, 15.59373,   0.00000, 0.00000, 0.00000);
  2270. CreateObject(1328, -4241.15479, -6766.95410, 15.59373,   0.00000, 0.00000, 0.00000);
  2271. CreateObject(1328, -4279.73779, -6775.51855, 15.59373,   0.00000, 0.00000, 0.00000);
  2272. CreateObject(1328, -4315.69580, -6746.21777, 15.59373,   0.00000, 0.00000, 0.00000);
  2273. CreateObject(1328, -4366.52344, -6752.25928, 17.08705,   0.00000, 0.00000, 0.00000);
  2274. CreateObject(1328, -4419.50684, -6753.95850, 17.08705,   0.00000, 0.00000, 0.00000);
  2275. CreateObject(1328, -4185.00049, -6778.72168, 11.48714,   0.00000, 0.00000, 0.00000);
  2276. CreateObject(1265, -4172.66504, -6747.52930, 15.54105,   0.00000, 0.00000, 0.00000);
  2277. CreateObject(1265, -4173.10986, -6747.14941, 15.54105,   0.00000, 0.00000, 292.50000);
  2278. CreateObject(1327, -4179.39648, -6757.64453, 15.95964,   0.00000, 0.00000, 270.00000);
  2279. CreateObject(1437, -4306.28906, -6766.42139, 13.53770,   0.00000, 0.00000, 270.00000);
  2280. CreateObject(1437, -4262.33740, -6754.51416, 13.58125,   0.00000, 0.00000, 90.00000);
  2281. CreateObject(1437, -4287.72705, -6778.10352, 16.26583,   9.45380, 0.00000, 90.00000);
  2282. CreateObject(1437, -4287.81348, -6778.13135, 22.49978,   9.45380, 0.00000, 90.00000);
  2283. CreateObject(1437, -4287.86328, -6778.12842, 24.32191,   10.31320, 0.00000, 90.00000);
  2284. CreateObject(1437, -4266.68018, -6743.87744, 16.34082,   10.31320, 0.00000, 90.00000);
  2285. CreateObject(1437, -4266.64600, -6743.86230, 22.46049,   10.31320, 0.00000, 90.00000);
  2286. CreateObject(1437, -4266.62109, -6743.86328, 24.81160,   10.31320, 0.00000, 90.00000);
  2287. CreateObject(14411, -4449.85205, -6773.16895, 13.34421,   0.00000, 0.00000, 180.00000);
  2288. CreateObject(14411, -4447.42676, -6773.15820, 13.34421,   0.00000, 0.00000, 180.00000);
  2289. CreateObject(14411, -4450.24756, -6764.04688, 13.36921,   0.00000, 0.00000, 360.00000);
  2290. CreateObject(14411, -4447.87207, -6764.05225, 13.36922,   0.00000, 0.00000, 360.00000);
  2291. CreateObject(10175, -4294.89307, -6780.62451, 40.16521,   0.00000, 0.00000, 0.00000);
  2292. CreateObject(10175, -4291.38428, -6738.93750, 39.49519,   0.00000, 0.00000, 180.00000);
  2293. CreateObject(5706, -4379.58594, -6790.58447, 15.31370,   0.00000, 0.00000, 270.00000);
  2294. CreateObject(5706, -4393.69580, -6790.60791, 15.26370,   0.00000, 0.00000, 270.00000);
  2295. CreateObject(14411, -4405.29688, -6776.08887, 15.80697,   0.00000, 0.00000, 270.00000);
  2296. CreateObject(14411, -4405.30957, -6779.80371, 15.80697,   0.00000, 0.00000, 270.00000);
  2297. CreateObject(14411, -4364.54443, -6779.74316, 15.93197,   0.00000, 0.00000, 90.00000);
  2298. CreateObject(14411, -4364.57959, -6776.12256, 15.90697,   0.00000, 0.00000, 90.00000);
  2299. CreateObject(5706, -4360.90430, -6790.58594, 10.48872,   325.62250, 0.00000, 270.00000);
  2300. CreateObject(5706, -4408.91797, -6790.68652, 10.40354,   325.62250, 0.00000, 90.00010);
  2301. CreateObject(970, -4368.52930, -6774.13184, 19.68567,   0.00000, 0.00000, 0.00000);
  2302. CreateObject(970, -4372.77100, -6774.16064, 19.68567,   0.00000, 0.00000, 0.00000);
  2303. CreateObject(970, -4376.99414, -6774.16357, 19.68567,   0.00000, 0.00000, 0.00000);
  2304. CreateObject(970, -4381.23779, -6774.19238, 19.68567,   0.00000, 0.00000, 0.00000);
  2305. CreateObject(970, -4385.46338, -6774.13770, 19.68567,   0.00000, 0.00000, 0.00000);
  2306. CreateObject(970, -4389.75146, -6774.14307, 19.63566,   0.00000, 0.00000, 0.00000);
  2307. CreateObject(970, -4394.05518, -6774.15527, 19.63566,   0.00000, 0.00000, 0.00000);
  2308. CreateObject(970, -4398.28564, -6774.14258, 19.63566,   0.00000, 0.00000, 0.00000);
  2309. CreateObject(970, -4400.87891, -6774.14355, 19.63566,   0.00000, 0.00000, 0.00000);
  2310. CreateObject(970, -4405.27051, -6774.20215, 18.35298,   0.85940, 325.62250, 0.00000);
  2311. CreateObject(970, -4364.37598, -6774.17285, 18.33509,   0.85940, 325.62250, 180.00000);
  2312. //==================================== Mapa 2 ==========================================================================
  2313. //==================================== Mapa 3 ==========================================================================
  2314. CreateObject(5107, 8131.84424, -7557.77441, 21.31974,   0.00000, 0.00000, 0.00000);
  2315. CreateObject(13190, 8092.79590, -7557.67969, 17.86357,   0.00000, 0.00000, 180.00000);
  2316. CreateObject(13190, 8092.77637, -7557.67041, 21.69334,   0.00000, 0.00000, 180.00000);
  2317. CreateObject(13190, 8092.77148, -7557.67383, 25.57404,   0.00000, 0.00000, 180.00000);
  2318. CreateObject(13190, 8092.75781, -7557.68311, 29.43032,   0.00000, 0.00000, 180.00000);
  2319. CreateObject(16287, 8085.43555, -7564.92334, 11.59161,   0.00000, 0.00000, 180.00000);
  2320. CreateObject(16287, 8090.56982, -7569.92725, 11.61662,   0.00000, 0.00000, 270.00000);
  2321. CreateObject(16287, 8085.42822, -7550.02686, 11.59772,   0.00000, 0.00000, 180.00000);
  2322. CreateObject(16287, 8095.47949, -7569.92676, 11.61662,   0.00000, 0.00000, 270.00000);
  2323. CreateObject(16287, 8090.53174, -7544.91895, 11.61663,   0.00000, 0.00000, 90.00000);
  2324. CreateObject(16287, 8095.47852, -7544.91504, 11.61662,   0.00000, 0.00000, 90.00000);
  2325. CreateObject(16287, 8100.60156, -7549.99854, 11.61662,   0.00000, 0.00000, 360.00000);
  2326. CreateObject(16287, 8100.60010, -7564.91455, 11.61662,   0.00000, 0.00000, 360.00000);
  2327. CreateObject(8947, 8093.10303, -7560.52051, 18.51939,   0.00000, 0.00000, 180.00000);
  2328. CreateObject(8947, 8093.11426, -7560.53613, 24.52295,   0.00000, 0.00000, 180.00000);
  2329. CreateObject(8947, 8093.10352, -7560.52686, 26.99291,   0.00000, 0.00000, 180.00000);
  2330. CreateObject(8947, 8097.21094, -7561.63770, 12.04439,   0.00000, 0.00000, 180.00000);
  2331. CreateObject(8947, 8097.22314, -7553.22217, 12.01940,   0.00000, 0.00000, 180.00000);
  2332. CreateObject(8947, 8088.83398, -7561.64404, 12.05525,   0.00000, 0.00000, 0.00000);
  2333. CreateObject(8947, 8088.81201, -7553.23730, 12.04439,   0.00000, 0.00000, 360.00000);
  2334. CreateObject(4193, 8111.32910, -7498.31055, 31.44644,   0.00000, 0.00000, 270.00000);
  2335. CreateObject(10041, 8032.82227, -7497.01855, 45.16753,   0.00000, 0.00000, 270.00000);
  2336. CreateObject(4058, 8047.18066, -7595.05029, 33.55188,   0.00000, 0.00000, 270.00000);
  2337. CreateObject(4058, 8108.80957, -7613.34033, 25.23701,   0.00000, 0.00000, 0.00000);
  2338. CreateObject(4682, 8096.74316, -7600.93604, 18.03067,   0.00000, 0.00000, 90.00000);
  2339. CreateObject(4682, 8186.39941, -7550.15967, 22.69571,   0.00000, 0.00000, 90.00030);
  2340. CreateObject(4113, 8187.83398, -7481.91797, 36.29269,   0.00000, 0.00000, 101.25000);
  2341. CreateObject(4570, 7992.76074, -7555.49707, 49.23763,   0.00000, 0.00000, 270.00000);
  2342. CreateObject(4570, 8153.17090, -7617.53174, 48.53752,   0.00000, 0.00000, 0.00000);
  2343. CreateObject(4571, 8236.04785, -7480.54053, 51.21596,   0.00000, 0.00000, 90.00000);
  2344. CreateObject(3268, 8155.90918, -7553.35352, 14.36662,   0.00000, 0.00000, 270.00000);
  2345. CreateObject(3268, 8155.92822, -7575.60303, 14.36662,   0.00000, 0.00000, 270.00000);
  2346. CreateObject(3268, 8155.93018, -7573.09180, 18.19459,   0.00000, 0.00000, 270.00000);
  2347. CreateObject(3268, 8155.92139, -7553.29834, 18.19116,   0.00000, 0.00000, 270.00000);
  2348. CreateObject(4570, 8102.35938, -7624.73633, 57.35464,   0.00000, 0.00000, 0.00000);
  2349. CreateObject(4682, 8177.00586, -7497.80664, 30.86975,   0.00000, 0.00000, 270.00031);
  2350. CreateObject(9910, 8157.54199, -7589.48975, 25.39473,   0.00000, 0.00000, 225.00000);
  2351. CreateObject(9910, 8124.82959, -7589.49951, 25.33860,   0.00000, 0.00000, 225.00000);
  2352. CreateObject(9910, 8170.17480, -7575.63916, 22.18861,   0.00000, 0.00000, 315.00000);
  2353. CreateObject(9910, 8182.58154, -7519.66357, 27.21359,   0.00000, 0.00000, 135.00000);
  2354. CreateObject(9910, 8188.66504, -7538.39795, 47.74644,   0.00000, 0.00000, 135.00000);
  2355. CreateObject(9910, 8094.52393, -7495.31982, 25.78859,   0.00000, 0.00000, 45.00000);
  2356. CreateObject(9917, 8215.37402, -7585.08643, 34.32093,   0.00000, 0.00000, 0.00000);
  2357. CreateObject(9917, 8081.14697, -7440.34424, 30.99039,   0.00000, 0.00000, 90.00000);
  2358. CreateObject(18450, 8134.48389, -7523.63770, 19.93480,   0.00000, 0.00000, 180.00000);
  2359. CreateObject(18450, 8060.39258, -7523.63232, -0.59019,   0.00000, 30.93970, 180.00000);
  2360. CreateObject(8229, 8096.59375, -7534.57568, 16.94285,   0.00000, 0.00000, 180.00000);
  2361. CreateObject(8229, 8108.25488, -7534.63477, 16.84285,   0.00000, 0.00000, 180.00000);
  2362. CreateObject(8229, 8120.01416, -7534.65332, 16.86785,   0.00000, 0.00000, 180.00000);
  2363. CreateObject(8229, 8172.48779, -7529.99268, 16.91785,   0.00000, 0.00000, 213.75000);
  2364. CreateObject(3268, 8155.93701, -7553.31885, 15.28433,   0.00000, 0.00000, 270.00000);
  2365. CreateObject(3268, 8155.91846, -7553.30127, 16.15442,   0.00000, 0.00000, 270.00000);
  2366. CreateObject(3268, 8155.92578, -7553.29443, 17.02787,   0.00000, 0.00000, 270.00000);
  2367. CreateObject(3268, 8155.92236, -7553.31152, 17.61886,   0.00000, 0.00000, 270.00000);
  2368. CreateObject(975, 8167.36377, -7533.67383, 16.04131,   0.00000, 0.00000, 33.75000);
  2369. CreateObject(975, 8155.01758, -7531.88770, 16.04131,   0.00000, 0.00000, 0.00000);
  2370. CreateObject(975, 8146.13232, -7531.81982, 16.04131,   0.00000, 0.00000, 0.00000);
  2371. CreateObject(975, 8141.76953, -7527.35010, 16.04131,   0.00000, 0.00000, 270.00000);
  2372. CreateObject(8886, 8137.57275, -7544.12207, 17.79440,   0.00000, 0.00000, 270.00000);
  2373. CreateObject(8886, 8137.58887, -7544.11523, 21.22811,   0.00000, 0.00000, 270.00000);
  2374. CreateObject(8886, 8137.59082, -7543.86084, 21.21184,   179.62260, 0.00000, 90.00000);
  2375. CreateObject(8886, 8112.26953, -7542.10889, 14.34441,   0.00000, 0.00000, 270.00000);
  2376. CreateObject(8886, 8079.29980, -7586.33008, 14.34440,   0.00000, 0.00000, 90.00000);
  2377. CreateObject(10773, 8105.36377, -7594.32227, 14.02387,   0.00000, 0.00000, 90.00000);
  2378. CreateObject(8886, 8137.96680, -7520.91797, 14.34440,   0.00000, 0.00000, 270.00000);
  2379. CreateObject(8886, 8158.07275, -7519.39404, 14.24440,   0.00000, 0.00000, 0.00000);
  2380. CreateObject(8886, 8144.48389, -7548.29395, 17.79440,   0.00000, 0.00000, 270.00000);
  2381. CreateObject(8886, 8166.40674, -7548.23535, 17.56940,   0.00000, 0.00000, 90.00000);
  2382. CreateObject(8886, 8166.39990, -7553.76074, 17.59440,   0.00000, 0.00000, 90.00000);
  2383. CreateObject(3268, 8155.93018, -7566.93262, 14.36662,   0.00000, 0.00000, 270.00000);
  2384. CreateObject(8886, 8154.67920, -7556.83936, 14.26940,   0.00000, 0.00000, 90.00010);
  2385. CreateObject(8886, 8155.95557, -7574.64160, 14.19440,   0.00000, 0.00000, 0.00000);
  2386. CreateObject(8886, 8169.37842, -7570.28857, 14.19440,   0.00000, 0.00000, 90.00010);
  2387. CreateObject(8886, 8142.33887, -7570.32471, 14.06940,   0.00000, 0.00000, 90.00010);
  2388. CreateObject(8886, 8145.82861, -7581.98047, 17.54440,   0.00000, 0.00000, 0.00000);
  2389. CreateObject(3268, 8155.93213, -7575.58691, 18.18340,   0.00000, 0.00000, 270.00000);
  2390. CreateObject(8886, 8152.46289, -7582.12988, 14.21941,   0.00000, 0.00000, 0.00000);
  2391. CreateObject(18260, 8154.32324, -7568.63037, 15.81481,   0.00000, 0.00000, 348.75000);
  2392. CreateObject(18260, 8162.89551, -7581.72803, 15.81481,   0.00000, 0.00000, 180.00000);
  2393. CreateObject(18260, 8157.46289, -7550.15869, 15.86481,   0.00000, 0.00000, 270.00000);
  2394. CreateObject(5428, 8114.52100, -7494.75879, 15.39824,   359.14059, 0.00000, 180.00011);
  2395. CreateObject(8229, 8131.81934, -7534.68506, 17.06784,   0.00000, 0.00000, 180.00000);
  2396. CreateObject(8229, 8143.81348, -7523.75293, 17.01785,   0.00000, 0.00000, 270.00000);
  2397. CreateObject(5107, 7986.95850, -7524.04150, 21.34902,   0.00000, 0.00000, 180.00000);
  2398. CreateObject(1492, 8169.92188, -7585.58643, 14.35846,   0.00000, 0.00000, 180.00000);
  2399. CreateObject(1497, 8142.04199, -7585.52441, 14.35465,   0.00000, 0.00000, 0.00000);
  2400. CreateObject(1497, 8142.01172, -7563.33643, 14.35465,   0.00000, 0.00000, 0.00000);
  2401. CreateObject(18260, 8146.63477, -7567.67969, 15.93981,   0.00000, 0.00000, 270.00000);
  2402. CreateObject(1497, 8142.00781, -7576.94775, 14.35465,   0.00000, 0.00000, 0.00000);
  2403. CreateObject(1437, 8135.71875, -7548.68555, 15.62885,   10.31320, 0.00000, 0.00000);
  2404. CreateObject(1437, 8135.71680, -7548.73438, 20.07629,   10.31320, 0.00000, 0.00000);
  2405. CreateObject(1437, 8145.01514, -7585.66992, 15.62885,   9.45380, 0.00000, 0.00000);
  2406. CreateObject(1437, 8145.00586, -7585.61572, 20.79356,   9.45380, 0.00000, 0.00000);
  2407. CreateObject(1437, 8172.58594, -7531.13623, 22.07913,   10.31320, 0.00000, 0.00000);
  2408. CreateObject(1437, 8172.57861, -7531.14551, 28.25908,   10.31320, 0.00000, 0.00000);
  2409. CreateObject(1437, 8172.46777, -7531.09863, 34.39047,   10.31320, 0.00000, 0.00000);
  2410. CreateObject(1437, 8082.02832, -7568.90479, 16.55498,   10.31320, 0.00000, 270.00000);
  2411. CreateObject(1437, 8081.99414, -7568.90918, 22.58348,   10.31320, 0.00000, 270.00000);
  2412. CreateObject(1437, 8082.00537, -7568.91406, 25.83324,   10.31320, 0.00000, 270.00000);
  2413. CreateObject(1437, 8077.97754, -7593.53369, 15.62885,   10.31320, 0.00000, 180.00000);
  2414. CreateObject(1437, 8077.99121, -7593.52295, 21.74604,   10.31320, 0.00000, 180.00000);
  2415. CreateObject(1437, 8077.99316, -7593.50000, 27.75269,   10.31320, 0.00000, 180.00000);
  2416. CreateObject(1437, 8077.99023, -7593.45850, 32.17966,   10.31320, 0.00000, 180.00000);
  2417. CreateObject(1635, 8071.80859, -7593.08936, 19.40563,   0.00000, 0.00000, 270.00000);
  2418. CreateObject(1635, 8072.61182, -7519.09668, 18.12557,   0.00000, 0.00000, 90.00000);
  2419. CreateObject(1635, 8067.36768, -7546.94043, 22.60154,   0.00000, 0.00000, 180.00000);
  2420. CreateObject(1635, 8125.54248, -7590.24365, 18.56382,   0.00000, 0.00000, 270.00000);
  2421. CreateObject(1635, 8150.25586, -7590.18408, 18.38124,   0.00000, 0.00000, 270.00000);
  2422. CreateObject(1635, 8170.53369, -7536.85400, 20.93207,   0.00000, 0.00000, 0.00000);
  2423. CreateObject(1635, 8173.98975, -7524.76025, 24.34968,   0.00000, 0.00000, 0.00000);
  2424. CreateObject(1687, 8087.87109, -7585.62891, 38.60769,   0.00000, 0.00000, 0.00000);
  2425. CreateObject(1687, 8096.48926, -7589.43408, 38.60769,   0.00000, 0.00000, 0.00000);
  2426. CreateObject(1688, 8103.01904, -7585.02002, 38.81908,   0.00000, 0.00000, 90.00010);
  2427. CreateObject(1688, 8114.15967, -7596.80127, 56.66604,   0.00000, 0.00000, 90.00010);
  2428. CreateObject(1689, 8104.87305, -7589.12842, 39.00718,   0.00000, 0.00000, 0.00000);
  2429. CreateObject(1689, 8095.14209, -7598.22705, 56.85414,   0.00000, 0.00000, 0.00000);
  2430. CreateObject(1687, 8083.17236, -7596.31250, 56.45465,   0.00000, 0.00000, 270.00000);
  2431. CreateObject(1687, 8132.16406, -7592.25244, 39.11093,   0.00000, 0.00000, 0.00000);
  2432. CreateObject(1687, 8145.69727, -7592.23193, 39.16706,   0.00000, 0.00000, 0.00000);
  2433. CreateObject(1687, 8173.56494, -7579.02344, 35.96095,   0.00000, 0.00000, 270.00000);
  2434. CreateObject(1688, 8174.22949, -7588.15430, 36.17234,   0.00000, 0.00000, 0.00000);
  2435. CreateObject(1687, 8161.72461, -7562.52148, 26.92328,   0.00000, 0.00000, 270.00000);
  2436. CreateObject(1688, 8162.31934, -7571.24707, 26.91760,   0.00000, 0.00000, 0.00000);
  2437. CreateObject(1688, 8177.56982, -7527.30762, 41.19732,   0.00000, 0.00000, 0.00000);
  2438. CreateObject(1688, 8177.08105, -7516.06982, 41.19732,   0.00000, 0.00000, 90.00000);
  2439. CreateObject(1687, 8175.26465, -7535.66211, 43.27273,   0.00000, 0.00000, 0.00000);
  2440. CreateObject(1687, 8174.27246, -7557.85156, 43.27273,   0.00000, 0.00000, 90.00000);
  2441. CreateObject(1689, 8175.43945, -7544.75244, 43.67221,   0.00000, 0.00000, 90.00000);
  2442. CreateObject(1689, 8093.44141, -7492.05273, 39.96041,   0.00000, 0.00000, 0.00000);
  2443. CreateObject(1687, 8085.01563, -7491.08838, 39.56092,   0.00000, 0.00000, 0.00000);
  2444. CreateObject(1687, 8070.73291, -7596.64941, 33.83205,   0.00000, 0.00000, 0.00000);
  2445. CreateObject(1688, 8078.04004, -7492.18604, 19.20200,   0.00000, 0.00000, 180.00000);
  2446. CreateObject(1635, 8089.43848, -7494.62842, 22.50600,   0.00000, 0.00000, 90.00000);
  2447. CreateObject(1635, 8091.17627, -7541.89551, 20.57246,   0.00000, 0.00000, 270.00000);
  2448. CreateObject(1687, 8090.37109, -7552.17627, 33.17936,   0.00000, 0.00000, 270.00000);
  2449. CreateObject(8661, 8087.17920, -7514.84473, 18.07185,   270.61859, 0.00000, 0.00000);
  2450. CreateObject(8661, 8129.15234, -7515.66211, 20.90702,   270.61859, 0.00000, 0.00000);
  2451. CreateObject(8661, 8157.16064, -7515.38672, 20.07667,   270.61859, 0.00000, 0.00000);
  2452. CreateObject(9910, 8170.84912, -7495.96387, 14.76549,   0.00000, 0.00000, 225.00000);
  2453. CreateObject(9910, 8137.54297, -7500.13428, 17.75253,   0.00000, 0.00000, 225.00000);
  2454. CreateObject(7921, 8085.90479, -7533.29688, 13.26363,   0.00000, 0.00000, 180.00000);
  2455. CreateObject(4682, 8147.48584, -7497.79102, 30.86975,   0.00000, 0.00000, 270.00031);
  2456. //==================================== Mapa 3 ==========================================================================
  2457. //==================================== Mapa 4 ==========================================================================
  2458. CreateObject(3989, 9438.45996, -8816.64648, 24.80065,   0.00000, 0.00000, 0.00000);
  2459. CreateObject(3456, 9465.19238, -8783.72559, 29.60335,   0.00000, 0.00000, 180.00000);
  2460. CreateObject(3598, 9415.05176, -8776.36523, 33.94606,   0.00000, 0.00000, 270.00000);
  2461. CreateObject(3598, 9415.04883, -8802.41016, 33.96069,   0.00000, 0.00000, 270.00000);
  2462. CreateObject(3598, 9465.55371, -8801.66504, 34.21704,   0.00000, 0.00000, 180.00000);
  2463. CreateObject(3598, 9465.56641, -8783.10352, 34.21698,   0.00000, 0.00000, 180.00000);
  2464. CreateObject(3598, 9465.58594, -8774.53906, 34.21894,   0.00000, 0.00000, 180.00000);
  2465. CreateObject(3598, 9465.58496, -8765.65527, 34.21707,   0.00000, 0.00000, 180.00000);
  2466. CreateObject(3598, 9465.54785, -8792.35449, 34.21894,   0.00000, 0.00000, 180.00000);
  2467. CreateObject(3598, 9445.16309, -8838.00195, 33.95581,   0.00000, 0.00000, 270.00000);
  2468. CreateObject(3598, 9455.79883, -8801.69434, 34.20477,   0.00000, 0.00000, 180.00000);
  2469. CreateObject(3598, 9438.55957, -8737.73438, 33.99751,   0.00000, 0.00000, 0.00000);
  2470. CreateObject(3614, 9418.50977, -8737.77441, 26.07342,   0.00000, 0.00000, 90.00000);
  2471. CreateObject(3598, 9455.79785, -8792.39551, 34.19733,   0.00000, 0.00000, 180.00000);
  2472. CreateObject(3598, 9455.80762, -8783.11914, 34.20576,   0.00000, 0.00000, 180.00000);
  2473. CreateObject(3403, 9447.21875, -8766.63184, 31.06693,   0.00000, 0.00000, 90.00010);
  2474. CreateObject(3403, 9447.24219, -8778.59180, 31.01704,   0.00000, 0.00000, 90.00010);
  2475. CreateObject(3403, 9454.68457, -8767.40918, 31.31569,   0.00000, 0.00000, 90.00010);
  2476. CreateObject(3403, 9453.50195, -8775.18164, 31.39012,   0.00000, 0.00000, 270.00000);
  2477. CreateObject(3614, 9412.30957, -8753.79395, 26.14075,   0.00000, 0.00000, 180.00000);
  2478. CreateObject(3598, 9464.00781, -8746.60547, 36.12755,   0.00000, 0.00000, 180.00011);
  2479. CreateObject(3456, 9444.23535, -8729.59766, 29.90086,   0.00000, 0.00000, 270.00000);
  2480. CreateObject(16370, 9416.73633, -8771.79785, 30.50967,   0.00000, 0.00000, 180.00000);
  2481. CreateObject(16370, 9416.77832, -8795.70996, 30.46035,   0.00000, 0.00000, 180.00000);
  2482. CreateObject(14578, 9423.68359, -8784.70313, 29.51563,   180.37740, 0.00000, 0.00000);
  2483. CreateObject(14578, 9423.66699, -8796.02930, 29.48611,   180.37740, 0.00000, 0.00000);
  2484. CreateObject(14578, 9423.61230, -8766.94043, 29.74478,   180.37740, 0.00000, 0.00000);
  2485. CreateObject(12913, 9423.54395, -8773.52637, 31.03963,   0.00000, 0.00000, 0.00000);
  2486. CreateObject(12913, 9423.48535, -8791.11426, 30.95719,   0.00000, 0.00000, 90.00000);
  2487. CreateObject(3273, 9421.32813, -8783.67578, 29.14761,   0.00000, 0.00000, 0.00000);
  2488. CreateObject(3273, 9421.56543, -8767.80469, 29.18547,   0.00000, 0.00000, 0.00000);
  2489. CreateObject(3675, 9420.94238, -8799.24902, 30.38809,   0.00000, 0.00000, 90.00000);
  2490. CreateObject(3675, 9420.73730, -8760.26270, 30.58145,   0.00000, 0.00000, 90.00000);
  2491. CreateObject(934, 9424.11914, -8759.36719, 30.69835,   0.00000, 0.00000, 0.00000);
  2492. CreateObject(3598, 9423.14355, -8817.99316, 33.94450,   0.00000, 0.00000, 270.00000);
  2493. CreateObject(3598, 9464.05078, -8746.79297, 36.14084,   0.00000, 0.00000, 0.00010);
  2494. CreateObject(13603, 9411.47656, -8730.48730, 21.09163,   0.00000, 0.00000, 0.00000);
  2495. CreateObject(3989, 9470.92578, -8696.32422, 24.81559,   0.00000, 0.00000, 180.00000);
  2496. CreateObject(3598, 9424.95410, -8732.13770, 34.01519,   0.00000, 0.00000, 270.00049);
  2497. CreateObject(18368, 9445.30566, -8730.26758, 28.18206,   0.00000, 0.00000, 171.32840);
  2498. CreateObject(3614, 9455.04492, -8744.97363, 28.23836,   0.00000, 0.00000, 270.00000);
  2499. CreateObject(18368, 9448.97070, -8730.27539, 28.17719,   0.00000, 0.00000, 171.32840);
  2500. CreateObject(18368, 9452.54297, -8730.26563, 28.17720,   0.00000, 0.00000, 171.32840);
  2501. CreateObject(1491, 9450.89551, -8748.37500, 32.61204,   0.00000, 0.00000, 270.00000);
  2502. CreateObject(3799, 9449.44336, -8751.75391, 29.15052,   0.00000, 0.00000, 0.00000);
  2503. CreateObject(3799, 9446.57617, -8751.76758, 29.15052,   0.00000, 0.00000, 0.00000);
  2504. CreateObject(3798, 9443.92578, -8752.23926, 29.26526,   0.00000, 0.00000, 11.25000);
  2505. CreateObject(3798, 9448.42188, -8752.12695, 31.49686,   0.00000, 0.00000, 11.25000);
  2506. CreateObject(3798, 9444.43359, -8745.30078, 29.26526,   0.00000, 0.00000, 11.25000);
  2507. CreateObject(3798, 9444.49902, -8767.12793, 29.27566,   0.00000, 0.00000, 11.25000);
  2508. CreateObject(3798, 9447.50195, -8762.30664, 29.25185,   0.00000, 0.00000, 11.25000);
  2509. CreateObject(3798, 9451.07715, -8762.02734, 29.25031,   0.00000, 0.00000, 0.00000);
  2510. CreateObject(3798, 9448.70605, -8770.95801, 29.29114,   0.00000, 0.00000, 0.00000);
  2511. CreateObject(3798, 9447.09668, -8770.98633, 29.29526,   0.00000, 0.00000, 0.00000);
  2512. CreateObject(3798, 9447.10938, -8777.20898, 29.31449,   0.00000, 0.00000, 33.75000);
  2513. CreateObject(3798, 9444.75391, -8777.29395, 29.31448,   0.00000, 0.00000, 0.00000);
  2514. CreateObject(3798, 9428.85156, -8772.55273, 29.38276,   0.00000, 0.00000, 0.00000);
  2515. CreateObject(3798, 9441.72656, -8795.54688, 29.31941,   0.00000, 0.00000, 0.00000);
  2516. CreateObject(3798, 9441.43750, -8797.80664, 29.31467,   0.00000, 0.00000, 337.50000);
  2517. CreateObject(3798, 9441.55371, -8796.67383, 31.31941,   0.00000, 0.00000, 0.00000);
  2518. CreateObject(3798, 9428.90625, -8804.98438, 29.32112,   0.00000, 0.00000, 0.00000);
  2519. CreateObject(1231, 9428.47266, -8768.86328, 32.11994,   0.00000, 0.00000, 0.00000);
  2520. CreateObject(1231, 9428.65332, -8802.54492, 32.07828,   0.00000, 0.00000, 0.00000);
  2521. CreateObject(1231, 9441.54199, -8794.05762, 32.07037,   0.00000, 0.00000, 0.00000);
  2522. CreateObject(1231, 9441.27051, -8744.29980, 31.99911,   0.00000, 0.00000, 0.00000);
  2523. CreateObject(3598, 9479.63672, -8746.76953, 36.13747,   0.00000, 0.00000, 0.00010);
  2524. CreateObject(3598, 9496.50977, -8763.63672, 34.91557,   0.00000, 0.00000, 270.00009);
  2525. CreateObject(3989, 9482.13281, -8716.31543, 24.73775,   0.00000, 0.00000, 180.00011);
  2526. CreateObject(3598, 9439.61328, -8821.15723, 33.95964,   0.00000, 0.00000, 0.00000);
  2527. CreateObject(3598, 9479.64355, -8821.09277, 33.96995,   0.00000, 0.00000, 0.00000);
  2528. CreateObject(3989, 9487.94531, -8949.85840, 5.63650,   0.00000, 0.00000, 90.00000);
  2529. CreateObject(3598, 9496.52246, -8807.83398, 33.96339,   0.00000, 0.00000, 270.00021);
  2530. CreateObject(3989, 9550.37891, -8757.68457, 16.83349,   352.26511, 0.00000, 270.00000);
  2531. CreateObject(3598, 9505.44434, -8795.73926, 31.81323,   0.00000, 0.00000, 0.00010);
  2532. CreateObject(3989, 9480.62012, -8757.48145, 21.17091,   0.00000, 0.00000, 270.00000);
  2533. CreateObject(3598, 9505.19922, -8772.34277, 32.50722,   0.00000, 0.00000, 0.00030);
  2534. CreateObject(3598, 9533.79980, -8801.84863, 30.07809,   0.00000, 0.00000, 0.00060);
  2535. CreateObject(13603, 9505.34082, -8816.74219, 17.29359,   0.00000, 0.00000, 180.00031);
  2536. CreateObject(3598, 9544.15234, -8794.99121, 29.79592,   0.00000, 0.00000, 0.00060);
  2537. CreateObject(3989, 9599.41895, -8757.36816, 13.15890,   352.26511, 0.00000, 270.00000);
  2538. CreateObject(3989, 9598.65039, -8723.71289, 13.35515,   352.26511, 0.00000, 270.00000);
  2539. CreateObject(3598, 9513.48730, -8754.81250, 32.36574,   0.00000, 0.00000, 270.00031);
  2540. CreateObject(3598, 9513.50293, -8732.42090, 32.34279,   0.00000, 0.00000, 270.00031);
  2541. CreateObject(3598, 9530.39063, -8737.15723, 32.34592,   0.00000, 0.00000, 0.00030);
  2542. CreateObject(3598, 9532.31348, -8764.03711, 31.52094,   0.00000, 0.00000, 270.00031);
  2543. CreateObject(3598, 9541.57227, -8764.04395, 30.24638,   0.00000, 0.00000, 270.00031);
  2544. CreateObject(3614, 9511.00293, -8799.37891, 21.98295,   0.00000, 0.00000, 270.00000);
  2545. CreateObject(3989, 9471.54102, -8867.62207, 24.76160,   0.00000, 0.00000, 90.00050);
  2546. CreateObject(3598, 9550.90039, -8764.04395, 29.07736,   0.00000, 0.00000, 270.00031);
  2547. CreateObject(3598, 9566.88379, -8737.05371, 28.46697,   0.00000, 0.00000, 0.00030);
  2548. CreateObject(3614, 9549.23730, -8730.84863, 23.07867,   0.00000, 0.00000, 90.00030);
  2549. CreateObject(3989, 9533.77539, -8759.24512, 19.34886,   0.00000, 0.00000, 0.00000);
  2550. CreateObject(3989, 9458.65039, -8823.80859, 24.73903,   0.00000, 0.00000, 0.00010);
  2551. CreateObject(3598, 9448.37988, -8854.82910, 33.97267,   0.00000, 0.00000, 0.00000);
  2552. CreateObject(3598, 9473.59375, -8830.07617, 33.98404,   0.00000, 0.00000, 0.00000);
  2553. CreateObject(3598, 9495.98633, -8830.06055, 33.99430,   0.00000, 0.00000, 0.00000);
  2554. CreateObject(3598, 9474.40527, -8861.94922, 33.97556,   0.00000, 0.00000, 360.00000);
  2555. CreateObject(3598, 9500.37305, -8861.95117, 33.98005,   0.00000, 0.00000, 360.00000);
  2556. CreateObject(3598, 9526.40234, -8854.85449, 33.98866,   0.00000, 0.00000, 360.00000);
  2557. CreateObject(3598, 9571.52930, -8764.08008, 28.47390,   0.00000, 0.00000, 270.00031);
  2558. CreateObject(3598, 9579.97949, -8794.94141, 28.45054,   0.00000, 0.00000, 0.00010);
  2559. CreateObject(3598, 9571.55273, -8770.22852, 28.44863,   0.00000, 0.00000, 270.00031);
  2560. CreateObject(3614, 9579.81836, -8789.15527, 28.00069,   0.00000, 0.00000, 0.00010);
  2561. CreateObject(3598, 9569.04297, -8812.84180, 28.47390,   0.00000, 0.00000, 64.06240);
  2562. CreateObject(3598, 9547.58887, -8804.64160, 29.82313,   0.00000, 0.00000, 60.62480);
  2563. CreateObject(3598, 9535.71387, -8821.30371, 31.42675,   0.00000, 0.00000, 45.07780);
  2564. CreateObject(3598, 9526.29785, -8821.56445, 33.86163,   0.00000, 0.00000, 270.00000);
  2565. CreateObject(3989, 9556.16016, -8862.52246, 20.26896,   0.00000, 0.00000, 160.07870);
  2566. CreateObject(3989, 9546.16992, -8871.39551, 21.03810,   0.00000, 0.00000, 150.62531);
  2567. CreateObject(3989, 9529.62598, -8878.92188, 21.95667,   0.00000, 0.00000, 138.59370);
  2568. CreateObject(3989, 9517.02539, -8884.72754, 22.98136,   0.00000, 0.00000, 129.99969);
  2569. CreateObject(3989, 9500.58594, -8882.16113, 23.93496,   0.00000, 0.00000, 120.54630);
  2570. CreateObject(3598, 9555.37793, -8834.63086, 30.85448,   0.00000, 0.00000, 51.09360);
  2571. CreateObject(3598, 9535.21387, -8850.97070, 35.40450,   0.00000, 0.00000, 26.87470);
  2572. CreateObject(8661, 9576.99414, -8786.02539, 22.00011,   349.68680, 0.00000, 270.00000);
  2573. CreateObject(8661, 9583.23340, -8771.32617, 22.04098,   0.00000, 0.00000, 90.00000);
  2574. CreateObject(8661, 9583.22266, -8743.44434, 22.03909,   0.00000, 0.00000, 90.00000);
  2575. CreateObject(8661, 9577.03027, -8731.46191, 22.03721,   349.68680, 0.00000, 270.00000);
  2576. CreateObject(3614, 9585.22461, -8784.00391, 28.01060,   0.00000, 0.00000, 90.00010);
  2577. CreateObject(3614, 9585.78125, -8776.42676, 28.01060,   0.00000, 0.00000, 90.00010);
  2578. CreateObject(3614, 9584.86719, -8769.55371, 28.01061,   0.00000, 0.00000, 90.00010);
  2579. CreateObject(3614, 9585.97363, -8762.23926, 28.01061,   0.00000, 0.00000, 90.00010);
  2580. CreateObject(3614, 9585.80664, -8754.70313, 28.01062,   0.00000, 0.00000, 90.00010);
  2581. CreateObject(3614, 9574.31445, -8748.70996, 28.79208,   0.00000, 0.00000, 0.00020);
  2582. CreateObject(3614, 9584.62109, -8747.47070, 28.00872,   0.00000, 0.00000, 90.00010);
  2583. CreateObject(3614, 9584.63379, -8740.02051, 28.00872,   0.00000, 0.00000, 90.00010);
  2584. CreateObject(3598, 9588.60840, -8746.48242, 29.08600,   0.00000, 0.00000, 90.00010);
  2585. CreateObject(3598, 9580.23535, -8728.59668, 29.08600,   0.00000, 0.00000, 90.00000);
  2586. CreateObject(3598, 9590.72266, -8770.73828, 29.08788,   0.00000, 0.00000, 90.00010);
  2587. CreateObject(3598, 9587.74805, -8784.79395, 29.08788,   0.00000, 0.00000, 90.00010);
  2588. CreateObject(1437, 9566.31250, -8788.91602, 25.01421,   4.29720, 0.00000, 270.00000);
  2589. CreateObject(1437, 9566.49316, -8788.90625, 26.86919,   4.29720, 0.00000, 270.00000);
  2590. CreateObject(16370, 9497.50781, -8860.86328, 30.49004,   0.00000, 0.00000, 90.00000);
  2591. CreateObject(16370, 9473.98438, -8859.96094, 30.52524,   0.00000, 0.00000, 90.00000);
  2592. CreateObject(12913, 9481.41992, -8853.33594, 31.84204,   0.00000, 0.00000, 0.00000);
  2593. CreateObject(12913, 9504.53906, -8853.33496, 31.81926,   0.00000, 0.00000, 90.00000);
  2594. CreateObject(3273, 9468.28223, -8854.38379, 29.24844,   0.00000, 0.00000, 0.00000);
  2595. CreateObject(3273, 9492.92480, -8853.06641, 29.21473,   0.00000, 0.00000, 0.00000);
  2596. CreateObject(3675, 9474.32520, -8856.06250, 30.48196,   0.00000, 0.00000, 180.00000);
  2597. CreateObject(14578, 9473.54297, -8852.62988, 29.37591,   179.62260, 0.00000, 90.00010);
  2598. CreateObject(14578, 9496.96973, -8853.44043, 29.47272,   179.62260, 0.00000, 90.00010);
  2599. CreateObject(8661, 9516.00098, -8814.26758, 26.51285,   0.00000, 7.73490, 90.00000);
  2600. CreateObject(3598, 9504.66797, -8821.22070, 32.68016,   0.00000, 0.00000, 90.00000);
  2601. CreateObject(3598, 9519.12988, -8815.02930, 29.15276,   0.00000, 0.00000, 0.00000);
  2602. CreateObject(4199, 9523.31738, -8818.84961, 27.20304,   0.00000, 0.00000, 0.00000);
  2603. CreateObject(4199, 9492.39453, -8834.54492, 27.97721,   0.00000, 0.00000, 90.00000);
  2604. CreateObject(4199, 9477.77832, -8834.53418, 27.97138,   0.00000, 0.00000, 90.00000);
  2605. CreateObject(11472, 9540.92676, -8739.06738, 24.16025,   0.00000, 0.00000, 270.00000);
  2606. CreateObject(8614, 9547.69238, -8739.21289, 26.10196,   0.00000, 0.00000, 0.00000);
  2607. CreateObject(3799, 9490.33398, -8753.21191, 29.32240,   0.00000, 0.00000, 0.00000);
  2608. CreateObject(3798, 9490.24023, -8753.40918, 31.66874,   0.00000, 0.00000, 11.25000);
  2609. CreateObject(3798, 9487.73438, -8752.53027, 29.43714,   0.00000, 0.00000, 0.00000);
  2610. CreateObject(3798, 9490.82715, -8755.71094, 29.43714,   0.00000, 0.00000, 0.00000);
  2611. CreateObject(3798, 9480.01563, -8773.98340, 29.18936,   0.00000, 0.00000, 11.25000);
  2612. CreateObject(3798, 9429.20801, -8815.28613, 29.28200,   0.00000, 0.00000, 0.00000);
  2613. CreateObject(3798, 9428.78809, -8815.32324, 31.28200,   0.00000, 0.00000, 0.00000);
  2614. CreateObject(3798, 9431.29883, -8815.35254, 29.27332,   0.00000, 0.00000, 0.00000);
  2615. CreateObject(3798, 9428.90039, -8813.23633, 29.26054,   0.00000, 0.00000, 0.00000);
  2616. CreateObject(3798, 9465.41699, -8824.19141, 29.24605,   0.00000, 0.00000, 0.00000);
  2617. CreateObject(3798, 9465.33008, -8821.78418, 29.24609,   0.00000, 0.00000, 11.25000);
  2618. CreateObject(3798, 9463.23242, -8824.14551, 29.24712,   0.00000, 0.00000, 11.25000);
  2619. CreateObject(3798, 9465.33398, -8823.88086, 31.24605,   0.00000, 0.00000, 0.00000);
  2620. CreateObject(3798, 9477.48438, -8807.69824, 29.18841,   0.00000, 0.00000, 0.00000);
  2621. CreateObject(3798, 9519.64941, -8790.26855, 25.62058,   0.00000, 0.00000, 0.00000);
  2622. CreateObject(3798, 9519.37500, -8776.00586, 25.65412,   0.00000, 0.00000, 0.00000);
  2623. CreateObject(3798, 9568.84766, -8789.14746, 23.20402,   0.00000, 0.00000, 0.00000);
  2624. CreateObject(3798, 9568.87305, -8789.15039, 25.20402,   0.00000, 0.00000, 0.00000);
  2625. CreateObject(3798, 9571.60547, -8788.77539, 22.97727,   0.00000, 0.00000, 22.50000);
  2626. CreateObject(3798, 9581.79004, -8789.13477, 22.03752,   0.00000, 0.00000, 0.00000);
  2627. CreateObject(3798, 9577.28418, -8775.64063, 22.03752,   0.00000, 0.00000, 0.00000);
  2628. CreateObject(3798, 9584.69727, -8761.20898, 22.03752,   0.00000, 0.00000, 0.00000);
  2629. CreateObject(3798, 9584.85254, -8770.68066, 22.03752,   0.00000, 0.00000, 0.00000);
  2630. CreateObject(3798, 9582.83594, -8743.08887, 22.03564,   0.00000, 0.00000, 0.00000);
  2631. CreateObject(3798, 9582.88379, -8742.93848, 24.03564,   0.00000, 0.00000, 0.00000);
  2632. CreateObject(3798, 9580.72852, -8743.07129, 22.03564,   0.00000, 0.00000, 11.25000);
  2633. CreateObject(3798, 9568.87305, -8749.91309, 23.26810,   0.00000, 0.00000, 0.00000);
  2634. CreateObject(3798, 9572.37500, -8749.58496, 22.70589,   0.00000, 0.00000, 0.00000);
  2635. CreateObject(3798, 9565.42090, -8742.72656, 23.79197,   0.00000, 0.00000, 0.00000);
  2636. CreateObject(3798, 9544.67383, -8741.20215, 25.17140,   0.00000, 0.00000, 0.00000);
  2637. CreateObject(3798, 9530.66602, -8749.86914, 25.72948,   0.00000, 0.00000, 0.00000);
  2638. CreateObject(3798, 9530.81543, -8749.90137, 27.72948,   0.00000, 0.00000, 11.25000);
  2639. CreateObject(3798, 9528.58594, -8749.83887, 25.73574,   0.00000, 0.00000, 0.00000);
  2640. CreateObject(3798, 9519.43262, -8743.28906, 25.78577,   0.00000, 0.00000, 0.00000);
  2641. CreateObject(3798, 9519.38672, -8743.32617, 27.78577,   0.00000, 0.00000, 11.25000);
  2642. CreateObject(3798, 9519.24707, -8745.24512, 25.77613,   0.00000, 0.00000, 0.00000);
  2643. CreateObject(3798, 9521.42676, -8743.09473, 25.78577,   0.00000, 0.00000, 0.00000);
  2644. CreateObject(3798, 9526.77734, -8764.03809, 25.66236,   0.00000, 0.00000, 0.00000);
  2645. CreateObject(3798, 9540.23730, -8789.47852, 25.62058,   0.00000, 0.00000, 0.00000);
  2646. CreateObject(3798, 9556.57031, -8768.70703, 23.79629,   0.00000, 0.00000, 0.00000);
  2647. CreateObject(3798, 9556.50098, -8770.81348, 23.79633,   0.00000, 0.00000, 0.00000);
  2648. CreateObject(3798, 9556.49902, -8769.70508, 25.78414,   0.00000, 0.00000, 11.25000);
  2649. CreateObject(3799, 9567.40430, -8801.10254, 23.58754,   0.00000, 0.00000, 0.00000);
  2650. CreateObject(3798, 9567.22754, -8803.79004, 24.70711,   0.00000, 0.00000, 337.50000);
  2651. CreateObject(3798, 9568.42480, -8800.78516, 25.93388,   0.00000, 0.00000, 22.50000);
  2652. CreateObject(3798, 9556.83691, -8800.85840, 24.71863,   0.00000, 0.00000, 0.00000);
  2653. CreateObject(3799, 9539.98242, -8778.58105, 25.50584,   0.00000, 0.00000, 0.00000);
  2654. CreateObject(3798, 9571.23730, -8784.57324, 30.37038,   0.00000, 0.00000, 0.00000);
  2655. CreateObject(3799, 9558.67480, -8819.05957, 25.35559,   0.00000, 0.00000, 326.25000);
  2656. CreateObject(3799, 9541.13281, -8824.84570, 27.31629,   0.00000, 0.00000, 315.00000);
  2657. CreateObject(3799, 9537.32617, -8843.07422, 28.25241,   0.00000, 0.00000, 292.50000);
  2658. CreateObject(3798, 9558.80566, -8819.31641, 27.70193,   0.00000, 0.00000, 0.00000);
  2659. CreateObject(3798, 9560.76367, -8816.51465, 25.47555,   0.00000, 0.00000, 326.25000);
  2660. CreateObject(3798, 9540.52930, -8827.87793, 27.43103,   0.00000, 0.00000, 0.00000);
  2661. CreateObject(3798, 9534.63281, -8843.40137, 28.36442,   0.00000, 0.00000, 11.25000);
  2662. CreateObject(3798, 9537.66113, -8842.80469, 30.59876,   0.00000, 0.00000, 0.00000);
  2663. CreateObject(3798, 9518.43750, -8821.84961, 29.31303,   0.00000, 0.00000, 0.00000);
  2664. CreateObject(3798, 9522.31836, -8835.64648, 29.21127,   0.00000, 0.00000, 0.00000);
  2665. CreateObject(3798, 9514.12793, -8849.16406, 29.18620,   0.00000, 0.00000, 0.00000);
  2666. CreateObject(3799, 9475.76172, -8836.56348, 29.96663,   0.00000, 0.00000, 0.00000);
  2667. CreateObject(3799, 9491.88379, -8836.36523, 29.97246,   0.00000, 0.00000, 0.00000);
  2668. CreateObject(3798, 9472.66406, -8836.40039, 30.08137,   0.00000, 0.00000, 11.25000);
  2669. CreateObject(3798, 9489.11328, -8836.03906, 30.08720,   0.00000, 0.00000, 11.25000);
  2670. CreateObject(3798, 9494.96484, -8836.06641, 30.08720,   0.00000, 0.00000, 0.00000);
  2671. CreateObject(3798, 9475.82910, -8836.21387, 32.31297,   0.00000, 0.00000, 11.25000);
  2672. CreateObject(3798, 9492.94824, -8836.25000, 32.31881,   0.00000, 0.00000, 348.75000);
  2673. CreateObject(3798, 9464.46875, -8849.45996, 29.25031,   0.00000, 0.00000, 22.50000);
  2674. CreateObject(3798, 9462.52441, -8850.98047, 29.24469,   0.00000, 0.00000, 0.00000);
  2675. CreateObject(3799, 9463.73145, -8854.43848, 29.12228,   0.00000, 0.00000, 0.00000);
  2676. CreateObject(3799, 9463.71191, -8854.34277, 31.35388,   0.00000, 0.00000, 22.50000);
  2677. CreateObject(3798, 9450.88770, -8826.92578, 29.25315,   0.00000, 0.00000, 0.00000);
  2678. CreateObject(3798, 9450.88574, -8826.77539, 31.25315,   0.00000, 0.00000, 11.25000);
  2679. CreateObject(3798, 9457.10742, -8807.43848, 29.26070,   0.00000, 0.00000, 0.00000);
  2680. CreateObject(3798, 9457.06348, -8807.50879, 31.26070,   0.00000, 0.00000, 11.25000);
  2681. CreateObject(3799, 9490.53711, -8814.51758, 29.06729,   0.00000, 0.00000, 0.00000);
  2682. CreateObject(3798, 9490.36523, -8814.28516, 31.41364,   0.00000, 0.00000, 11.25000);
  2683. CreateObject(1491, 9521.63965, -8822.54395, 29.30460,   0.00000, 0.00000, 270.00000);
  2684. CreateObject(1231, 9465.80859, -8820.36719, 31.98015,   0.00000, 0.00000, 0.00000);
  2685. CreateObject(1231, 9490.62402, -8812.20215, 31.91600,   0.00000, 0.00000, 0.00000);
  2686. CreateObject(1231, 9479.44824, -8786.80762, 31.95777,   0.00000, 0.00000, 270.00000);
  2687. CreateObject(1231, 9491.55957, -8756.99414, 32.04743,   0.00000, 0.00000, 270.00000);
  2688. CreateObject(1231, 9505.16113, -8777.47852, 30.05589,   0.00000, 0.00000, 0.00000);
  2689. CreateObject(1231, 9530.22949, -8790.78027, 28.35443,   0.00000, 0.00000, 90.00000);
  2690. CreateObject(1231, 9542.05273, -8777.62891, 28.11013,   0.00000, 0.00000, 0.00000);
  2691. CreateObject(1231, 9566.48340, -8792.88086, 26.53237,   0.00000, 0.00000, 90.00000);
  2692. CreateObject(1231, 9548.92090, -8814.37305, 28.22162,   0.00000, 0.00000, 90.00000);
  2693. CreateObject(1231, 9541.38477, -8841.88379, 31.11175,   0.00000, 0.00000, 191.25000);
  2694. CreateObject(1231, 9517.86230, -8834.36328, 31.94512,   0.00000, 0.00000, 123.74990);
  2695. CreateObject(1231, 9507.47363, -8840.05664, 32.82105,   0.00000, 0.00000, 123.74990);
  2696. CreateObject(1231, 9462.37402, -8839.92285, 32.81522,   0.00000, 0.00000, 123.74990);
  2697. CreateObject(1231, 9518.76563, -8746.78906, 28.47611,   0.00000, 0.00000, 90.00000);
  2698. CreateObject(1231, 9553.27930, -8740.84082, 26.75158,   0.00000, 0.00000, 90.00000);
  2699. CreateObject(1231, 9566.49609, -8751.80469, 26.52581,   0.00000, 0.00000, 90.00000);
  2700. CreateObject(1231, 9584.21191, -8773.33887, 25.42136,   269.75919, 0.00000, 0.00000);
  2701. CreateObject(16501, 9569.11523, -8786.31348, 30.29181,   0.00000, 91.10020, 0.00000);
  2702. CreateObject(1460, 9566.90820, -8786.07910, 30.94953,   0.00000, 0.00000, 270.00000);
  2703. CreateObject(16501, 9571.77539, -8786.53223, 30.25733,   0.00000, 91.10020, 0.00000);
  2704. //==================================== Mapa 4 ==========================================================================
  2705. return 1;
  2706. }
  2707. public OnPlayerGiveDamage(playerid,damagedid,Float:amount,weaponid)
  2708. {
  2709. printf("Inicio : Equipa do jogador %d (damagedid)= %d e %d (playerid)= %d : ",damagedid, GetPlayerTeam(damagedid), playerid, GetPlayerTeam(playerid));
  2710.             new Float:Vida;
  2711.             new Float:Colete;
  2712.             new Float:Dano;
  2713.             new Fala[20], Fala1[20];
  2714.  
  2715.             if(weaponid == 16 || weaponid == 35 || weaponid == 38)
  2716.             {
  2717.                 ApplyAnimation(damagedid,"PED","DAM_STOMACH_FRMFT",4.1,0,1,1,0,0,1);
  2718.                 Tiros[damagedid] = 0;
  2719.             }
  2720.             if(weaponid == 24 || weaponid == 25 || weaponid == 27)
  2721.             {
  2722.                 Tiros[damagedid]++;
  2723.  
  2724.                 if(Tiros[damagedid] > 4)
  2725.                 {
  2726.                     ApplyAnimation(damagedid,"PED","DAM_STOMACH_FRMFT",4.1,0,1,1,0,0,1);
  2727.                     Tiros[damagedid] = 0;
  2728.                 }
  2729.             }
  2730.             if(weaponid == 29 || weaponid == 30 || weaponid == 31 || weaponid == 34)
  2731.             {
  2732.                 Tiros[damagedid]++;
  2733.  
  2734.                 if(Tiros[damagedid] > 9)
  2735.                 {
  2736.                     ApplyAnimation(damagedid,"PED","DAM_STOMACH_FRMFT",4.1,0,1,1,0,0,1);
  2737.                     Tiros[damagedid] = 0;
  2738.                 }
  2739.             }
  2740.             GetPlayerArmour(damagedid,Colete);
  2741.             GetPlayerHealth(damagedid,Vida);
  2742.  
  2743.             PlayerPlaySound(playerid,1131,0.0,0.0,0.0);
  2744.             PlayerPlaySound(damagedid,17802,0.0,0.0,0.0);
  2745.  
  2746.             format(Fala,sizeof(Fala),"~r~-%0.0f",amount/2);
  2747.             GameTextForPlayer(damagedid,Fala,1000,3);
  2748.             format(Fala1,sizeof(Fala1),"~b~%0.0f",amount/2);
  2749.             GameTextForPlayer(playerid,Fala1,1000,3);
  2750.  
  2751.             if(Colete > 0)
  2752.             {
  2753.                 if(amount/2 > Colete)
  2754.                 {
  2755.                     Dano = amount/2 - Colete;
  2756.                     Vida = Vida - Dano;
  2757.  
  2758.                     SetPlayerArmour(damagedid,0.0);
  2759.                     SetPlayerHealth(damagedid,Vida);
  2760.  
  2761.                     return 1;
  2762.                 }
  2763.                 Colete = Colete - amount/2;
  2764.                 SetPlayerArmour(damagedid,Colete);
  2765.             }
  2766.             if(Colete < 1)
  2767.             {
  2768.                 Vida = Vida - amount/2;
  2769.                 SetPlayerHealth(damagedid,Vida);
  2770.  
  2771.                 if(Vida < amount/2)
  2772.                 {
  2773.                         ChamarDeath(damagedid,playerid,weaponid);
  2774.  
  2775.                         Faleceu[damagedid] = 1;
  2776.                         SetTimerEx("SairFalecer",1000,0,"i",damagedid);
  2777.                 }
  2778.             }
  2779. if(IsPlayerConnected(playerid))
  2780. {
  2781. new Float:health;
  2782. GetPlayerHealth(damagedid,health);
  2783.  if(weaponid == 4)//Faca
  2784.   {
  2785.         switch(GetPlayerAimedBodyPart(playerid,damagedid))
  2786.         {
  2787.             case BP_HEAD:
  2788.             {
  2789.             SetPlayerHealth(damagedid, health - 101);// O que faz quando o tiro é na cabeça
  2790.             GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
  2791.             GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
  2792.             }
  2793.             case BP_LEG:
  2794.             {
  2795.             SetPlayerHealth(damagedid, health - 101);   // O que faz quando o tiro é na perna
  2796.             }
  2797.             case BP_ARM:
  2798.             {
  2799.             SetPlayerHealth(damagedid, health - 101);   // o que faz quando o tiro é no braço
  2800.             }
  2801.             default :
  2802.             {
  2803.             SetPlayerHealth(damagedid, health - 101);
  2804.             }
  2805.         }
  2806.   }//Termina a weapon
  2807.  if(weaponid == 16)//Granada fogo
  2808.   {
  2809.         switch(GetPlayerAimedBodyPart(playerid,damagedid))
  2810.         {
  2811.             case BP_HEAD:
  2812.             {
  2813.             SetPlayerHealth(damagedid, health - 20);// O que faz quando o tiro é na cabeça
  2814.             }
  2815.             case BP_LEG:
  2816.             {
  2817.             SetPlayerHealth(damagedid, health - 20);    // O que faz quando o tiro é na perna
  2818.             }
  2819.             case BP_ARM:
  2820.             {
  2821.             SetPlayerHealth(damagedid, health - 20);    // o que faz quando o tiro é no braço
  2822.             }
  2823.             default :
  2824.             {
  2825.             SetPlayerHealth(damagedid, health - 20);
  2826.             }
  2827.         }
  2828.   }//Termina a weapon
  2829.  if(weaponid == 22)// 9mm
  2830.   {
  2831.         switch(GetPlayerAimedBodyPart(playerid,damagedid))
  2832.         {
  2833.             case BP_HEAD:
  2834.             {
  2835.             SetPlayerHealth(damagedid, health - 65);// O que faz quando o tiro é na cabeça
  2836.             GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
  2837.             GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
  2838.             }
  2839.             case BP_LEG:
  2840.             {
  2841.             SetPlayerHealth(damagedid, health - 15);    // O que faz quando o tiro é na perna
  2842.             }
  2843.             case BP_ARM:
  2844.             {
  2845.             SetPlayerHealth(damagedid, health - 20);    // o que faz quando o tiro é no braço
  2846.             }
  2847.             default :
  2848.             {
  2849.             SetPlayerHealth(damagedid, health - 21);
  2850.             }
  2851.         }
  2852.   }//Termina a weapon
  2853.  if(weaponid == 23)// 9mm com silenciador
  2854.   {
  2855.         switch(GetPlayerAimedBodyPart(playerid,damagedid))
  2856.         {
  2857.             case BP_HEAD:
  2858.             {
  2859.             SetPlayerHealth(damagedid, health - 65);// O que faz quando o tiro é na cabeça
  2860.             GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
  2861.             GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
  2862.             }
  2863.             case BP_LEG:
  2864.             {
  2865.             SetPlayerHealth(damagedid, health - 15);    // O que faz quando o tiro é na perna
  2866.             }
  2867.             case BP_ARM:
  2868.             {
  2869.             SetPlayerHealth(damagedid, health - 20);    // o que faz quando o tiro é no braço
  2870.             }
  2871.             default :
  2872.             {
  2873.             SetPlayerHealth(damagedid, health - 21);
  2874.             }
  2875.         }
  2876.   }//Termina a weapon
  2877.  if(weaponid == 24)// Deagle
  2878.   {
  2879.         switch(GetPlayerAimedBodyPart(playerid,damagedid))
  2880.         {
  2881.             case BP_HEAD:
  2882.             {
  2883.             SetPlayerHealth(damagedid, health - 200);// O que faz quando o tiro é na cabeça
  2884.             GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
  2885.             GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
  2886.             }
  2887.             case BP_LEG:
  2888.             {
  2889.             SetPlayerHealth(damagedid, health - 20);    // O que faz quando o tiro é na perna
  2890.             }
  2891.             case BP_ARM:
  2892.             {
  2893.             SetPlayerHealth(damagedid, health - 23);    // o que faz quando o tiro é no braço
  2894.             }
  2895.             default :
  2896.             {
  2897.             SetPlayerHealth(damagedid, health - 25);
  2898.             }
  2899.         }
  2900.   }//Termina a weapon
  2901.  if(weaponid == 25)//Shotgun
  2902.   {
  2903.         switch(GetPlayerAimedBodyPart(playerid,damagedid))
  2904.         {
  2905.             case BP_HEAD:
  2906.             {
  2907.             SetPlayerHealth(damagedid, health - 100);// O que faz quando o tiro é na cabeça
  2908.             GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
  2909.             GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
  2910.             }
  2911.             case BP_LEG:
  2912.             {
  2913.             SetPlayerHealth(damagedid, health - 20);    // O que faz quando o tiro é na perna
  2914.             }
  2915.             case BP_ARM:
  2916.             {
  2917.             SetPlayerHealth(damagedid, health - 20);    // o que faz quando o tiro é no braço
  2918.             }
  2919.             default :
  2920.             {
  2921.             SetPlayerHealth(damagedid, health - 22);
  2922.             }
  2923.         }
  2924.   }//Termina a weapon
  2925.  if(weaponid == 29)//MP5
  2926.   {
  2927.         switch(GetPlayerAimedBodyPart(playerid,damagedid))
  2928.         {
  2929.             case BP_HEAD:
  2930.             {
  2931.             SetPlayerHealth(damagedid, health - 100);// O que faz quando o tiro é na cabeça
  2932.             GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
  2933.             GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
  2934.             }
  2935.             case BP_LEG:
  2936.             {
  2937.             SetPlayerHealth(damagedid, health - 10);    // O que faz quando o tiro é na perna
  2938.             }
  2939.             case BP_ARM:
  2940.             {
  2941.             SetPlayerHealth(damagedid, health - 15);    // o que faz quando o tiro é no braço
  2942.             }
  2943.             default :
  2944.             {
  2945.             SetPlayerHealth(damagedid, health - 16);
  2946.             }
  2947.         }
  2948.   }//Termina a weapon
  2949.  if(weaponid == 30)//AK
  2950.   {
  2951.         switch(GetPlayerAimedBodyPart(playerid,damagedid))
  2952.         {
  2953.             case BP_HEAD:
  2954.             {
  2955.             SetPlayerHealth(damagedid, health - 100);// O que faz quando o tiro é na cabeça
  2956.             GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
  2957.             GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
  2958.             }
  2959.             case BP_LEG:
  2960.             {
  2961.             SetPlayerHealth(damagedid, health - 20);    // O que faz quando o tiro é na perna
  2962.             }
  2963.             case BP_ARM:
  2964.             {
  2965.             SetPlayerHealth(damagedid, health - 23);    // o que faz quando o tiro é no braço
  2966.             }
  2967.             default :
  2968.             {
  2969.             SetPlayerHealth(damagedid, health - 25);
  2970.             }
  2971.         }
  2972.   }//Termina a weapon
  2973.  if(weaponid == 31)// m4a1
  2974.   {
  2975.         switch(GetPlayerAimedBodyPart(playerid,damagedid))
  2976.         {
  2977.             case BP_HEAD:
  2978.             {
  2979.             SetPlayerHealth(damagedid, health - 100);// O que faz quando o tiro é na cabeça
  2980.             GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
  2981.             GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
  2982.             }
  2983.             case BP_LEG:
  2984.             {
  2985.             SetPlayerHealth(damagedid, health - 20);    // O que faz quando o tiro é na perna
  2986.             }
  2987.             case BP_ARM:
  2988.             {
  2989.             SetPlayerHealth(damagedid, health - 23);    // o que faz quando o tiro é no braço
  2990.             }
  2991.             default :
  2992.             {
  2993.             SetPlayerHealth(damagedid, health - 25);
  2994.             }
  2995.         }
  2996.   }//Termina a weapon
  2997.  if(weaponid == 34)// Sniper
  2998.   {
  2999.         switch(GetPlayerAimedBodyPart(playerid,damagedid))
  3000.         {
  3001.             case BP_HEAD:
  3002.             {
  3003.             SetPlayerHealth(damagedid, health - 300);// O que faz quando o tiro é na cabeça
  3004.             GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
  3005.             GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
  3006.             }
  3007.             case BP_LEG:
  3008.             {
  3009.             SetPlayerHealth(damagedid, health - 65);    // O que faz quando o tiro é na perna
  3010.             }
  3011.             case BP_ARM:
  3012.             {
  3013.             SetPlayerHealth(damagedid, health - 80);    // o que faz quando o tiro é no braço
  3014.             }
  3015.             default :
  3016.             {
  3017.             SetPlayerHealth(damagedid, health - 85);
  3018.             }
  3019.         }
  3020.   }//Termina a weapon
  3021. printf("Fim : Equipa do jogador %d (damagedid)= %d e %d (playerid)= %d : ",damagedid, GetPlayerTeam(damagedid), playerid, GetPlayerTeam(playerid));
  3022. }
  3023. return 1;
  3024. }
  3025. SairFalecer(playerid);
  3026.  
  3027. public SairFalecer(playerid)
  3028. {
  3029.     Faleceu[playerid] = 0;
  3030. }
  3031. ChamarDeath(playerid,killerid,reason)
  3032. {
  3033.     CallRemoteFunction("OnPlayerDeath","iii",playerid,killerid,reason);
  3034.     SetPlayerHealth(playerid,0.0);
  3035. }
  3036.  
  3037. public OnPlayerCommandPerformed(playerid, cmdtext[], success)
  3038. {
  3039.     if(!success)
  3040.     {
  3041.         new string[148];
  3042.         format(string, sizeof(string), "{FF0000}[ERRO]Esse comando,{F0FF0F}%s {FF0000}, não existe no BSL CS Server!", cmdtext);
  3043.         SendClientMessage(playerid, 0x33AA33AA, string);
  3044.         return true;
  3045.     }
  3046.     return true;
  3047. }
  3048. public OnPlayerCommandReceived(playerid, cmdtext[])
  3049. {
  3050. return true;
  3051. }
  3052. //3k e 45 linhas :D
Advertisement
Add Comment
Please, Sign In to add comment