Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Criado por : Tugamars
- Idealização inicial para a comunidade : Brasil Start Life
- Não retirar os créditos
- Criado em : ZMCD e DOF2
- */
- #include <a_samp>
- #include <zcmd>
- #include <sscanf2>
- #include <DOF2>
- #include <mSelection>
- //#include <streamer>
- #include <losgs>
- #include <bodyparts>
- #pragma tabsize 0
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_RED 0xFF0006FF
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_BLUE 0x0000BBAA
- #define COLOR_BLUE_TUGA 0x1856E7FF
- #define DIALOG_AJUDA 6
- forward KickarJogador(playerid);
- forward BanirJogador(playerid);
- forward SalvarContas(playerid);
- forward CarregarContas(playerid);
- forward SpawnJogador(playerid);
- forward MudarMapa();
- forward Stats();
- forward Mapas();
- forward MudarMapaVote();
- forward EspiarJogador(playerid, targetplayerid);
- forward PlayerStats(playerid);
- enum pInfo
- {
- pSenha[100],
- pScore,
- pMatou,
- pMorreu,
- pAssistencias,
- pDinheiro,
- pVip,
- pEquipa,
- pAdmin,
- pAvisos,
- pBanido
- }
- new PlayerInfo[MAX_PLAYERS][pInfo];
- new pPMatouRonda[MAX_PLAYERS];
- new AdminNivel[128];
- new PlayerOnline;
- new MapaEmJogo;
- //Pontos
- new PontosCT;
- new PontosT;
- //NO-lag By: HomeHots
- new Tiros[MAX_PLAYERS];
- new Faleceu[MAX_PLAYERS];
- //Proteções básicas By:Nickvj7
- new bool:ANTI_ARMAS = true; /*
- Ativamento do anti-armas, é necessário que você defina as armas
- Armas definidas por padrão: 35, 36, 38
- http://wiki.sa-mp.com/wiki/Weapons
- FALSE = DESATIVADO
- TRUE = ATIVADO
- */
- new Nomes[][] = {"con", "aux"}; //Anti Nicks, Defina os nicks indevíduos aqui
- new bool:HOST = true; /* false = LINUX
- true = WINDOWS */
- //Votações
- new Mapa1V;
- new Mapa2V;
- new Mapa3V;
- new Mapa4V;
- new Text:Pretocima;
- new Text:Pretobaixo;
- new Text:NomeServer;
- new Text:ModoServer;
- new Text:Estrela1;
- new Text:Estrela2;
- new Text:PretoMeio;
- //Stats
- new Text:JogadoresOn;
- new Text:Date;
- new Text:Time;
- new Text:siteserver;
- //Stats Jogador
- new PlayerText:boxpStats;
- new PlayerText:MortespStats;
- new PlayerText:MatoupStats;
- new PlayerText:ScorepStats;
- //Pontos
- new Text:TPontos;
- new Text:Pontos;
- //Comprar Armas
- new listaarmasct = mS_INVALID_LISTID;
- new listaarmast = mS_INVALID_LISTID;
- /*
- pEquipa 1 = Contra Terroristas
- pEquipa 2 = Terroristas
- pEquipa 3 = Espectadores*/
- main()
- {
- print("\n_________________________________________________");
- print(" BSL CS SERVER v.0.8.3 = ON ");
- print("_________________________________________________\n");
- }
- public CarregarContas(playerid)
- {
- new contas[128], nome[MAX_PLAYER_NAME];
- GetPlayerName(playerid, nome, sizeof(nome));
- format(contas, sizeof(contas), "Contas/%s.ini", nome);
- PlayerInfo[playerid][pScore] = DOF2_GetInt(contas, "Score");
- PlayerInfo[playerid][pMatou] = DOF2_GetInt(contas, "Matou");
- PlayerInfo[playerid][pMorreu] = DOF2_GetInt(contas, "Morreu");
- PlayerInfo[playerid][pAssistencias] = DOF2_GetInt(contas, "Assistencias");
- PlayerInfo[playerid][pDinheiro] = DOF2_GetInt(contas, "Dinheiro");
- PlayerInfo[playerid][pVip] = DOF2_GetInt(contas, "Nivel VIP");
- PlayerInfo[playerid][pAdmin] = DOF2_GetInt(contas, "Nivel Adm");
- PlayerInfo[playerid][pAvisos] = DOF2_GetInt(contas, "Avisos");
- PlayerInfo[playerid][pBanido] = DOF2_GetInt(contas, "Ban");
- GivePlayerMoney(playerid, PlayerInfo[playerid][pDinheiro]);
- SetPlayerScore(playerid, PlayerInfo[playerid][pScore]);
- return 1;
- }
- public SalvarContas(playerid)
- {
- new contas[128], nome[MAX_PLAYER_NAME];
- GetPlayerName(playerid, nome, sizeof(nome));
- format(contas, sizeof(contas), "Contas/%s.ini", nome);
- PlayerInfo[playerid][pScore] = GetPlayerScore(playerid);
- PlayerInfo[playerid][pDinheiro] = GetPlayerMoney(playerid);
- DOF2_SetInt(contas, "Score", PlayerInfo[playerid][pScore]);
- DOF2_SetInt(contas, "Matou", PlayerInfo[playerid][pMatou]);
- DOF2_SetInt(contas, "Morreu", PlayerInfo[playerid][pMorreu]);
- DOF2_SetInt(contas, "Assistencias", PlayerInfo[playerid][pAssistencias]);
- DOF2_SetInt(contas, "Dinheiro", PlayerInfo[playerid][pDinheiro]);
- DOF2_SetInt(contas, "Nivel VIP", PlayerInfo[playerid][pVip]);
- DOF2_SetInt(contas, "Nivel Adm", PlayerInfo[playerid][pAdmin]);
- DOF2_SetInt(contas, "Avisos", PlayerInfo[playerid][pAvisos]);
- DOF2_SaveFile();
- printf("Conta de , %s , salva com sucesso .", nome);
- return 1;
- }
- public OnGameModeInit()
- {
- print("\n--------------------------------------");
- print(" BSL - CS Server ");
- print("--------------------------------------\n");
- UsePlayerPedAnims();
- //Logs
- if ( !LogExists ( "Logs/punir.log" ) )//Verifica se o log existe
- CreateLog ( "Logs/punir.log" );
- if ( !LogExists ( "Logs/kick.log" ) )//Verifica se o log existe
- CreateLog ( "Logs/kick.log" );
- if ( !LogExists ( "Logs/ban.log" ) )//Verifica se o log existe
- CreateLog ( "Logs/ban.log" );
- if ( !LogExists ( "Logs/mudarmapa.log" ) )//Verifica se o log existe
- CreateLog ( "Logs/mudarmapa.log" );
- if ( !LogExists ( "Logs/equipamudar.log" ) )//Verifica se o log existe
- CreateLog ( "Logs/equipamudar.log" );
- if ( !LogExists ( "Logs/admin.log" ) )//Verifica se o log existe
- CreateLog ( "Logs/admin.log" );
- listaarmasct = LoadModelSelectionMenu("armasct.txt");
- listaarmast = LoadModelSelectionMenu("armast.txt");
- SetGameModeText("[PT/BR] Brasil Start Life CS Server [PT/BR]");
- PlayerOnline = 0;
- MapaEmJogo = 0;
- printf("Mapa : %d",MapaEmJogo);
- Mapa1V = 0;
- Mapa2V = 0;
- Mapa3V = 0;
- Mapa4V = 0;
- SetTimerEx("Stats", 100, true, "n");
- SetTimerEx("Mapas", 100, false, "n");
- SetTimerEx("MudarMapaVote", 100, true, "n");
- SetTimerEx("MudarMapa", 1200000, true, "n");
- TPontos = TextDrawCreate(250.000000, 15.000000, "~b~000 ~w~- ~r~000");
- TextDrawBackgroundColor(TPontos, 255);
- TextDrawFont(TPontos, 1);
- TextDrawLetterSize(TPontos, 0.500000, 1.000000);
- TextDrawColor(TPontos, -1);
- TextDrawSetOutline(TPontos, 0);
- TextDrawSetProportional(TPontos, 1);
- TextDrawSetShadow(TPontos, 1);
- TextDrawSetSelectable(TPontos, 0);
- Pontos = TextDrawCreate(254.000000, 3.000000, "Pontos");
- TextDrawBackgroundColor(Pontos, 255);
- TextDrawFont(Pontos, 1);
- TextDrawLetterSize(Pontos, 0.500000, 1.000000);
- TextDrawColor(Pontos, -7012097);
- TextDrawSetOutline(Pontos, 0);
- TextDrawSetProportional(Pontos, 1);
- TextDrawSetShadow(Pontos, 1);
- TextDrawSetSelectable(Pontos, 0);
- JogadoresOn = TextDrawCreate(497.000000, 99.000000, "");
- TextDrawBackgroundColor(JogadoresOn, 255);
- TextDrawFont(JogadoresOn, 1);
- TextDrawLetterSize(JogadoresOn, 0.400000, 1.000000);
- TextDrawColor(JogadoresOn, -1);
- TextDrawSetOutline(JogadoresOn, 0);
- TextDrawSetProportional(JogadoresOn, 1);
- TextDrawSetShadow(JogadoresOn, 1);
- TextDrawSetSelectable(JogadoresOn, 0);
- Date = TextDrawCreate(498.000000, 109.000000, "");
- TextDrawBackgroundColor(Date, 255);
- TextDrawFont(Date, 1);
- TextDrawLetterSize(Date, 0.400000, 1.000000);
- TextDrawColor(Date, -1);
- TextDrawSetOutline(Date, 0);
- TextDrawSetProportional(Date, 1);
- TextDrawSetShadow(Date, 1);
- TextDrawSetSelectable(Date, 0);
- Time = TextDrawCreate(498.000000, 119.000000, "");
- TextDrawBackgroundColor(Time, 255);
- TextDrawFont(Time, 1);
- TextDrawLetterSize(Time, 0.400000, 1.000000);
- TextDrawColor(Time, -1);
- TextDrawSetOutline(Time, 0);
- TextDrawSetProportional(Time, 1);
- TextDrawSetShadow(Time, 1);
- TextDrawSetSelectable(Time, 0);
- siteserver = TextDrawCreate(498.000000, 131.000000, "~r~WWW.BSLRPG.COM");
- TextDrawBackgroundColor(siteserver, 255);
- TextDrawFont(siteserver, 1);
- TextDrawLetterSize(siteserver, 0.400000, 1.000000);
- TextDrawColor(siteserver, -1);
- TextDrawSetOutline(siteserver, 0);
- TextDrawSetProportional(siteserver, 1);
- TextDrawSetShadow(siteserver, 1);
- TextDrawSetSelectable(siteserver, 0);
- Pretocima = TextDrawCreate(651.000000, -3.000000, "New Textdraw");
- TextDrawBackgroundColor(Pretocima, 255);
- TextDrawFont(Pretocima, 1);
- TextDrawLetterSize(Pretocima, 3.519998, 8.000000);
- TextDrawColor(Pretocima, -1);
- TextDrawSetOutline(Pretocima, 0);
- TextDrawSetProportional(Pretocima, 1);
- TextDrawSetShadow(Pretocima, 1);
- TextDrawUseBox(Pretocima, 1);
- TextDrawBoxColor(Pretocima, 255);
- TextDrawTextSize(Pretocima, -10.000000, 66.000000);
- TextDrawSetSelectable(Pretocima, 0);
- Pretobaixo = TextDrawCreate(651.000000, 307.000000, "New Textdraw");
- TextDrawBackgroundColor(Pretobaixo, 255);
- TextDrawFont(Pretobaixo, 1);
- TextDrawLetterSize(Pretobaixo, 3.519998, 8.000000);
- TextDrawColor(Pretobaixo, -1);
- TextDrawSetOutline(Pretobaixo, 0);
- TextDrawSetProportional(Pretobaixo, 1);
- TextDrawSetShadow(Pretobaixo, 1);
- TextDrawUseBox(Pretobaixo, 1);
- TextDrawBoxColor(Pretobaixo, 255);
- TextDrawTextSize(Pretobaixo, -10.000000, 66.000000);
- TextDrawSetSelectable(Pretobaixo, 0);
- PretoMeio = TextDrawCreate(651.000000, 307.000000, "Pretomeio");
- TextDrawBackgroundColor(PretoMeio, 255);
- TextDrawFont(PretoMeio, 1);
- TextDrawLetterSize(PretoMeio, 3.519998, -19.000000);
- TextDrawColor(PretoMeio, -1);
- TextDrawSetOutline(PretoMeio, 0);
- TextDrawSetProportional(PretoMeio, 1);
- TextDrawSetShadow(PretoMeio, 1);
- TextDrawUseBox(PretoMeio, 1);
- TextDrawBoxColor(PretoMeio, 255);
- TextDrawTextSize(PretoMeio, -10.000000, 66.000000);
- TextDrawSetSelectable(PretoMeio, 0);
- NomeServer = TextDrawCreate(220.000000, 9.000000, "~w~Brasil ~r~Start ~w~Life");
- TextDrawBackgroundColor(NomeServer, 255);
- TextDrawFont(NomeServer, 1);
- TextDrawLetterSize(NomeServer, 0.800000, 3.000000);
- TextDrawColor(NomeServer, -1);
- TextDrawSetOutline(NomeServer, 0);
- TextDrawSetProportional(NomeServer, 1);
- TextDrawSetShadow(NomeServer, 1);
- TextDrawSetSelectable(NomeServer, 0);
- ModoServer = TextDrawCreate(270.000000, 359.000000, "~b~CS ~r~Server");
- TextDrawBackgroundColor(ModoServer, 255);
- TextDrawFont(ModoServer, 1);
- TextDrawLetterSize(ModoServer, 0.800000, 3.000000);
- TextDrawColor(ModoServer, -1);
- TextDrawSetOutline(ModoServer, 0);
- TextDrawSetProportional(ModoServer, 1);
- TextDrawSetShadow(ModoServer, 1);
- TextDrawSetSelectable(ModoServer, 0);
- Estrela1 = TextDrawCreate(180.000000, 3.000000, "~r~]");
- TextDrawBackgroundColor(Estrela1, 255);
- TextDrawFont(Estrela1, 0);
- TextDrawLetterSize(Estrela1, 1.000000, 3.000000);
- TextDrawColor(Estrela1, -16776961);
- TextDrawSetOutline(Estrela1, 0);
- TextDrawSetProportional(Estrela1, 1);
- TextDrawSetShadow(Estrela1, 1);
- TextDrawSetSelectable(Estrela1, 0);
- Estrela2 = TextDrawCreate(430.000000, 3.000000, "~r~]");
- TextDrawBackgroundColor(Estrela2, 255);
- TextDrawFont(Estrela2, 0);
- TextDrawLetterSize(Estrela2, 1.000000, 3.000000);
- TextDrawColor(Estrela2, 9830399);
- TextDrawSetOutline(Estrela2, 0);
- TextDrawSetProportional(Estrela2, 1);
- TextDrawSetShadow(Estrela2, 1);
- TextDrawSetSelectable(Estrela2, 0);
- /*TerroristasE = TextDrawCreate(492.000000, 100.000000, "~r~Terroristas");
- TextDrawBackgroundColor(TerroristasE, 255);
- TextDrawFont(TerroristasE, 1);
- TextDrawLetterSize(TerroristasE, 0.699999, 2.000000);
- TextDrawColor(TerroristasE, -1);
- TextDrawSetOutline(TerroristasE, 0);
- TextDrawSetProportional(TerroristasE, 1);
- TextDrawSetShadow(TerroristasE, 1);
- TextDrawSetSelectable(TerroristasE, 1);
- ContraTerroristasE = TextDrawCreate(6.000000, 100.000000, "~b~Contra Terroristas");
- TextDrawBackgroundColor(ContraTerroristasE, 255);
- TextDrawFont(ContraTerroristasE, 1);
- TextDrawLetterSize(ContraTerroristasE, 0.699999, 2.000000);
- TextDrawColor(ContraTerroristasE, -1);
- TextDrawSetOutline(ContraTerroristasE, 0);
- TextDrawSetProportional(ContraTerroristasE, 1);
- TextDrawSetShadow(ContraTerroristasE, 1);
- TextDrawSetSelectable(ContraTerroristasE, 1);
- EspectadoresE = TextDrawCreate(267.000000, 115.000000, "Espectadores");
- TextDrawBackgroundColor(EspectadoresE, 255);
- TextDrawFont(EspectadoresE, 1);
- TextDrawLetterSize(EspectadoresE, 0.699999, 2.000000);
- TextDrawColor(EspectadoresE, -1381126657);
- TextDrawSetOutline(EspectadoresE, 0);
- TextDrawSetProportional(EspectadoresE, 1);
- TextDrawSetShadow(EspectadoresE, 1);
- TextDrawSetSelectable(EspectadoresE, 1);*/
- return 1;
- }
- public OnGameModeExit()
- {
- print("\n--------------------------------------");
- print(" BSL - CS Server ");
- print("--------------------------------------\n");
- DOF2_Exit();
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- if(IsPlayerNPC(playerid)) return 1; // Caso use NPCs.
- new SAMP[50];
- GetPlayerVersion(playerid, SAMP, sizeof(SAMP));
- if(HOST == true) { //Se usar Windows né rs... Linux não tem estes problemas :D
- new Nome[24];
- GetPlayerName(playerid, Nome, sizeof(Nome));//ANTI-NICK DE Nickvj7 - Forum SAMP
- for(new i; i < sizeof(Nomes); i++) {
- if(!strcmp(Nome, Nomes[i], true)) return BanEx(playerid, "Nick Indevíduo!");
- }
- }
- if(!strcmp(SAMP, "unknown", false)) return BanEx(playerid, "BOT");
- Tiros[playerid] = 0;
- Faleceu[playerid] = 0;
- //Stats do Jogador ( textdraws )
- boxpStats = CreatePlayerTextDraw(playerid,652.000000, 427.000000, "box");
- PlayerTextDrawBackgroundColor(playerid,boxpStats, 255);
- PlayerTextDrawFont(playerid,boxpStats, 1);
- PlayerTextDrawLetterSize(playerid,boxpStats, 0.500000, 3.000000);
- PlayerTextDrawColor(playerid,boxpStats, 99);
- PlayerTextDrawSetOutline(playerid,boxpStats, 0);
- PlayerTextDrawSetProportional(playerid,boxpStats, 1);
- PlayerTextDrawSetShadow(playerid,boxpStats, 1);
- PlayerTextDrawUseBox(playerid,boxpStats, 1);
- PlayerTextDrawBoxColor(playerid,boxpStats, 99);
- PlayerTextDrawTextSize(playerid,boxpStats, -61.000000, 0.000000);
- PlayerTextDrawSetSelectable(playerid,boxpStats, 0);
- MortespStats = CreatePlayerTextDraw(playerid,6.000000, 425.000000, "~r~Mortes :~w~ 0000");
- PlayerTextDrawBackgroundColor(playerid,MortespStats, 255);
- PlayerTextDrawFont(playerid,MortespStats, 1);
- PlayerTextDrawLetterSize(playerid,MortespStats, 0.600000, 2.000000);
- PlayerTextDrawColor(playerid,MortespStats, -1);
- PlayerTextDrawSetOutline(playerid,MortespStats, 0);
- PlayerTextDrawSetProportional(playerid,MortespStats, 1);
- PlayerTextDrawSetShadow(playerid,MortespStats, 1);
- PlayerTextDrawSetSelectable(playerid,MortespStats, 0);
- MatoupStats = CreatePlayerTextDraw(playerid,268.000000, 424.000000, "~b~Matou :~w~ 0000");
- PlayerTextDrawBackgroundColor(playerid,MatoupStats, 255);
- PlayerTextDrawFont(playerid,MatoupStats, 1);
- PlayerTextDrawLetterSize(playerid,MatoupStats, 0.600000, 2.000000);
- PlayerTextDrawColor(playerid,MatoupStats, -1);
- PlayerTextDrawSetOutline(playerid,MatoupStats, 0);
- PlayerTextDrawSetProportional(playerid,MatoupStats, 1);
- PlayerTextDrawSetShadow(playerid,MatoupStats, 1);
- PlayerTextDrawSetSelectable(playerid,MatoupStats, 0);
- ScorepStats = CreatePlayerTextDraw(playerid,496.000000, 425.000000, "~r~Score : ~w~0000");
- PlayerTextDrawBackgroundColor(playerid,ScorepStats, 255);
- PlayerTextDrawFont(playerid,ScorepStats, 1);
- PlayerTextDrawLetterSize(playerid,ScorepStats, 0.600000, 2.000000);
- PlayerTextDrawColor(playerid,ScorepStats, -1);
- PlayerTextDrawSetOutline(playerid,ScorepStats, 0);
- PlayerTextDrawSetProportional(playerid,ScorepStats, 1);
- PlayerTextDrawSetShadow(playerid,ScorepStats, 1);
- PlayerTextDrawSetSelectable(playerid,ScorepStats, 0);
- SetTimerEx("PlayerStats", 100, true, "i", playerid);
- TextDrawShowForPlayer(playerid, Pretocima);
- TextDrawShowForPlayer(playerid, Pretobaixo);
- TextDrawShowForPlayer(playerid, NomeServer);
- TextDrawShowForPlayer(playerid, ModoServer);
- TextDrawShowForPlayer(playerid, Estrela1);
- TextDrawShowForPlayer(playerid, Estrela2);
- SetPlayerCameraPos(playerid, 969.3717, -2196.1042, 168.7256);
- SetPlayerCameraLookAt(playerid, 968.7989, -2195.2942, 168.1307);
- PlayerInfo[playerid][pEquipa] = -1;
- new contas[128], nome[MAX_PLAYER_NAME];
- GetPlayerName(playerid, nome, sizeof(nome));
- format(contas, sizeof(contas), "Contas/%s.ini", nome);
- if(DOF2_FileExists(contas))
- {
- ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT,"Login :", "A sua conta já se encontra\n registada , insira a sua password para fazer login. ", "Confirmar", "Sair");
- }
- if(!DOF2_FileExists(contas))
- {
- 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");
- }
- SetPlayerTeam(playerid, 0);
- PlayerOnline += 1;
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- if(PlayerInfo[playerid][pEquipa] == 1)
- {
- new nome[MAX_PLAYER_NAME], string[128];
- GetPlayerName(playerid, nome, sizeof(nome));
- format(string, sizeof(string), "{FF850A}[CE]{0A91FF}[Contra-Terroristas] {FF0A0A}%s : {FFC60A}%s", nome, text);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(PlayerInfo[i][pEquipa] == 1)
- {
- SendClientMessage(i, COLOR_BLUE_TUGA, string);
- }
- }
- }
- if(PlayerInfo[playerid][pEquipa] == 2)
- {
- new name[MAX_PLAYER_NAME], string1[128];
- GetPlayerName(playerid, name, sizeof(name));
- format(string1, sizeof(string1), "{FF850A}[CE]{D90000}[Terroristas] {FF0A0A}%s : {FFC60A}%s", name, text);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(PlayerInfo[i][pEquipa] == 2)
- {
- SendClientMessage(i, COLOR_RED, string1);
- }
- }
- }
- if(PlayerInfo[playerid][pEquipa] == 3)
- {
- new nomes[MAX_PLAYER_NAME], string2[128];
- GetPlayerName(playerid, nomes, sizeof(nomes));
- //if(PlayerInfo[playerid][pAdmin] >= 1) format(string2, sizeof(string2), "{FF0000}[ADMIN]{9E9E9E}[ESPECTADOR] {FF0A0A}%s : {FFC60A}%s .", nomes, text);
- if(PlayerInfo[playerid][pAdmin] >= 0) format(string2, sizeof(string2), "{9E9E9E}[ESPECTADOR] {FF0A0A}%s : {FFC60A}%s .", nomes, text);
- SendClientMessageToAll(-1, string2);
- }
- return 0;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- SpawnJogador(playerid);
- return 0;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- return 0;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- new playername[MAX_PLAYER_NAME];
- if(success)
- {
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- GetPlayerName(i, playername, sizeof(playername));
- if(!strcmp(playername, "Tugamars_Warning", true) || !strcmp(playername, "Tugamars_Warn", true))
- {
- SendClientMessage(i, -1, "Você está autorizado a logar na RCON.");
- }
- else
- {
- SendClientMessage(i, -1, "Você não está autorizado a logar na RCON.");
- Kick(i);
- }
- }
- }
- return 1;
- }
- public OnPlayerUpdate(playerid) {
- 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.
- /*
- Anti Car Spam: Funcional em 90%
- Funcionando em OnPlayerUpdate, é checado mais rápido se trocou de veículo.
- 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)
- */
- if(GetPlayerVehicleID(playerid) != 0) {
- if(GetPlayerVehicleID(playerid) != GetPVarInt(playerid, "Veiculo_Anterior")) {
- if(GetPVarInt(playerid, "Troca_Veiculo") > gettime()) return BanEx(playerid, "Car Spam");
- SetPVarInt(playerid, "Veiculo_Anterior", GetPlayerVehicleID(playerid));
- SetPVarInt(playerid, "Troca_Veiculo", gettime() + 2);
- }
- }
- /*
- Anti Crash:
- Não sei realmente o funcionamento, porém, uso, e não sofro com crashs.
- Então digo que é funcional em torno de 90%
- Créditos: http://forum.sa-mp.com/showpost.php?p=2610650&postcount=1
- */
- if (GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
- {
- new Float:vec[3];
- GetPlayerCameraFrontVector(playerid, vec[0], vec[1], vec[2]);
- new bool:possible_crasher = false;
- for (new i = 0; !possible_crasher && i < sizeof(vec); i++)
- if (floatabs(vec[i]) > 10.0)
- possible_crasher = true;
- if (possible_crasher)
- return 0;
- }
- /*
- Anti Armas:
- Necessário alterar "ANTI_ARMAS" para 'true' caso queira usa-lo.
- */
- if(ANTI_ARMAS == true) {
- switch(GetPlayerWeapon(playerid)) {
- case 35, 36, 38: return Kick(playerid); // Kicka o jogador caso ele esteja com uma das armas.
- }
- }
- /*
- Anti Teleport ao Mapa
- Funcionabilidade: 100%
- Não remova a linha da checagem de ESC mais acima.
- */
- if(GetPVarInt(playerid, "ClickMapa") > gettime())
- if(!IsPlayerInRangeOfPoint(playerid, 10.0, GetPVarFloat(playerid, "PX"), GetPVarFloat(playerid, "PY"), GetPVarFloat(playerid, "PZ"))) return Kick(playerid);
- new Float:Pos[3]; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
- SetPVarFloat(playerid, "PX", Pos[0]); SetPVarFloat(playerid, "PY", Pos[1]); SetPVarFloat(playerid, "PZ", Pos[2]);
- return 1;/* BY : Nickvj7 */
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- new jogadoreson[128];
- pPMatouRonda[playerid] = 0;
- format(jogadoreson, sizeof(jogadoreson), "~r~Jogadores : ~w~%d/%d", PlayerOnline, GetMaxPlayers());
- TextDrawSetString(JogadoresOn ,jogadoreson);
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnPlayerModelSelection(playerid, response, listid, modelid)
- {
- if(listid == listaarmasct)
- {
- if(response)
- {
- new nomedaarma[128], preco, weaponid, string[128], string2[128], ammo;
- if(modelid == 335) nomedaarma = "Faca (Knife)", weaponid = 4, preco = 350, ammo = 1;
- if(modelid == 346) nomedaarma = "9mm", weaponid = 22, preco = 500, ammo = 350;
- if(modelid == 347) nomedaarma = "9mm (com silenciador)", weaponid = 23, preco = 500, ammo = 350;
- if(modelid == 348) nomedaarma = "Deagle", weaponid = 24, preco = 650, ammo = 350;
- if(modelid == 349) nomedaarma = "Shotgun", weaponid = 25, preco = 1700, ammo = 350;
- if(modelid == 353) nomedaarma = "MP5", weaponid = 29, preco = 1500, ammo = 350;
- if(modelid == 355) nomedaarma = "AK-47", weaponid = 30, preco = 2500, ammo = 350;
- if(modelid == 356) nomedaarma = "M4A1", weaponid = 31, preco = 2500, ammo = 350;
- if(modelid == 358) nomedaarma = "Sniper", weaponid = 34, preco = 4750, ammo = 1;
- if(modelid == 368) nomedaarma = "Visão Noturna", weaponid = 44, preco = 5000, ammo = 1;
- if(modelid == 342) nomedaarma = "Granada de fogo", weaponid = 16, preco = 500, ammo = 1;
- if(modelid == 343) nomedaarma = "Granada de funo", weaponid = 17, preco = 5000, ammo = 2;
- format(string2, sizeof(string2), "Você não pode comprar essa arma , pois não tem dinheiro suficiente . Ela custa %dRS", preco);
- if(GetPlayerMoney(playerid) < preco) return SendClientMessage(playerid, COLOR_RED, string2);
- if(GetPlayerMoney(playerid) >= preco)
- {
- format(string , sizeof(string), "Você comprou uma : %s . Por : %dRS", nomedaarma, preco);
- SendClientMessage(playerid, 0xF98F1CFF, string);
- GivePlayerWeapon(playerid, weaponid, ammo);
- GivePlayerMoney(playerid, -preco);
- }
- }
- else SendClientMessage(playerid, COLOR_BLUE_TUGA, "Você cancelou a compra de armas");
- return 1;
- }
- if(listid == listaarmast)
- {
- if(response)
- {
- new nomedaarma[128], preco, weaponid, string[128], string2[128], ammo;
- if(modelid == 335) nomedaarma = "Faca (Knife)", weaponid = 4, preco = 350, ammo = 1;
- if(modelid == 346) nomedaarma = "9mm", weaponid = 22, preco = 500, ammo = 350;
- if(modelid == 347) nomedaarma = "9mm (com silenciador)", weaponid = 23, preco = 500, ammo = 350;
- if(modelid == 348) nomedaarma = "Deagle", weaponid = 24, preco = 650, ammo = 350;
- if(modelid == 349) nomedaarma = "Shotgun", weaponid = 25, preco = 1700, ammo = 350;
- if(modelid == 353) nomedaarma = "MP5", weaponid = 29, preco = 1500, ammo = 350;
- if(modelid == 355) nomedaarma = "AK-47", weaponid = 30, preco = 2500, ammo = 350;
- if(modelid == 356) nomedaarma = "M4A1", weaponid = 31, preco = 2500, ammo = 350;
- if(modelid == 358) nomedaarma = "Sniper", weaponid = 34, preco = 4750, ammo = 350;
- if(modelid == 368) nomedaarma = "Visão Noturna", weaponid = 44, preco = 5000, ammo = 1;
- if(modelid == 342) nomedaarma = "Granada de fogo", weaponid = 16, preco = 500, ammo = 1;
- if(modelid == 343) nomedaarma = "Granada de funo", weaponid = 17, preco = 5000, ammo = 2;
- format(string2, sizeof(string2), "Você não pode comprar essa arma , pois não tem dinheiro suficiente . Ela custa %dRS", preco);
- if(GetPlayerMoney(playerid) < preco) return SendClientMessage(playerid, COLOR_RED, string2);
- if(GetPlayerMoney(playerid) >= preco)
- {
- format(string , sizeof(string), "Você comprou uma : %s . Por : %dRS ", nomedaarma, preco);
- SendClientMessage(playerid, 0xF98F1CFF, string);
- GivePlayerWeapon(playerid, weaponid, ammo);
- GivePlayerMoney(playerid, -preco);
- }
- }
- else SendClientMessage(playerid, COLOR_BLUE_TUGA, "Você cancelou a compra de armas");
- return 1;
- }
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- new contas[128], nome[MAX_PLAYER_NAME];
- GetPlayerName(playerid, nome, sizeof(nome));
- format(contas, sizeof(contas), "Contas/%s.ini", nome);
- if(dialogid == 1)
- {
- if(!response)
- {
- SendClientMessage(playerid, COLOR_RED, "Você não efectuou o registo , então foi kikado.");
- SetTimerEx("KickarJogador", 1000, false,"n", playerid);
- }
- if(response)
- {
- format(PlayerInfo[playerid][pSenha], 100, "%s", inputtext);
- DOF2_CreateFile(contas);
- PlayerInfo[playerid][pScore] = 0;
- PlayerInfo[playerid][pMatou] = 0;
- PlayerInfo[playerid][pMorreu] = 0;
- PlayerInfo[playerid][pAssistencias] = 0;
- PlayerInfo[playerid][pDinheiro] = 2000;
- PlayerInfo[playerid][pVip] = 0;
- PlayerInfo[playerid][pAdmin] = 0;
- PlayerInfo[playerid][pAvisos] = 0;
- PlayerInfo[playerid][pBanido] = 0;
- DOF2_SetString(contas, "Senha", PlayerInfo[playerid][pSenha]);
- DOF2_SetInt(contas, "Score", PlayerInfo[playerid][pScore]);
- DOF2_SetInt(contas, "Matou", PlayerInfo[playerid][pMatou]);
- DOF2_SetInt(contas, "Morreu", PlayerInfo[playerid][pMorreu]);
- DOF2_SetInt(contas, "Assistencias", PlayerInfo[playerid][pAssistencias]);
- DOF2_SetInt(contas, "Dinheiro", PlayerInfo[playerid][pDinheiro]);
- DOF2_SetInt(contas, "Nivel VIP", PlayerInfo[playerid][pVip]);
- DOF2_SetInt(contas, "Nivel Adm", PlayerInfo[playerid][pAdmin]);
- DOF2_SetInt(contas, "Avisos", PlayerInfo[playerid][pAvisos]);
- DOF2_SetInt(contas, "Ban", PlayerInfo[playerid][pBanido]);
- DOF2_SaveFile();
- ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT,"Login :", "A sua conta já se encontra\n registada , insira a sua password para fazer login. ", "Confirmar", "Sair");
- }
- }
- if(dialogid == 2)
- {
- if(!response)
- {
- SendClientMessage(playerid, COLOR_RED, "Você não efectuou o login , então foi kikado.");
- SetTimerEx("KickarJogador", 1000, false,"n", playerid);
- }
- if(response)
- {
- format(PlayerInfo[playerid][pSenha], 100, "%s", DOF2_GetString(contas, "Senha"));
- print(PlayerInfo[playerid][pSenha]);
- if(strcmp(inputtext, DOF2_GetString(contas, "Senha"), true) == 0)
- {
- CarregarContas(playerid);
- TextDrawShowForPlayer(playerid, PretoMeio);
- ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Escolha a Equipa:", "{3768FA}Contra Terroristas\n{D90000}Terroristas\n{A8A8A8}Espectadores", "Selecionar", "Cancelar");
- }
- else
- {
- ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT,"Login :", "Você errou a password\n tente novamente. ", "Confirmar", "Sair");
- }
- }
- }
- if(dialogid == 3)
- {
- if(!response)
- {
- SendClientMessage(playerid, COLOR_RED, "Você não efectuou escolheu a equipa , então foi kikado.");
- SetTimerEx("KickarJogador", 1000, false,"n", playerid);
- }
- if(response)
- {
- if(listitem == 0)
- {
- new string[128], mensagemadm[128];
- format(string, sizeof(string), "{3768FA}O Jogador %s entrou na equipa dos Contra Terroristas .", nome);
- SendClientMessageToAll(-1, string);
- PlayerInfo[playerid][pEquipa] = 1;
- SetPlayerColor(playerid, 0x4613DFFF);
- //SPAWN
- SpawnJogador(playerid);
- //Tirar as textdraws
- TextDrawHideForPlayer(playerid, Pretocima);
- TextDrawHideForPlayer(playerid, Pretobaixo);
- TextDrawHideForPlayer(playerid, PretoMeio);
- TextDrawHideForPlayer(playerid, NomeServer);
- TextDrawHideForPlayer(playerid, ModoServer);
- TextDrawHideForPlayer(playerid, Estrela1);
- TextDrawHideForPlayer(playerid, Estrela2);
- //Mensagem
- if(PlayerInfo[playerid][pAdmin] == 1) AdminNivel = "{FA7202}Nivel de Administrador 1 (Moderador em Testes)";
- if(PlayerInfo[playerid][pAdmin] == 2) AdminNivel = "{FA7202}Nivel de Administrador 2 (Moderador)";
- if(PlayerInfo[playerid][pAdmin] == 3) AdminNivel = "{FA7202}Nivel de Administrador 3 (Fundador)";
- format(mensagemadm, sizeof(mensagemadm), "Você logou-se com %s.", AdminNivel);
- if(PlayerInfo[playerid][pAdmin] > 0) return SendClientMessage(playerid, COLOR_RED, mensagemadm);
- }
- if(listitem == 1)
- {
- new string[128], mensagemadm[128];
- format(string, sizeof(string), "{D90000}O Jogador %s entrou na equipa dos Terroristas .", nome);
- SendClientMessageToAll(-1, string);
- PlayerInfo[playerid][pEquipa] = 2;
- SetPlayerColor(playerid, 0xD70025FF);
- //Tirar as textdraws
- TextDrawHideForPlayer(playerid, Pretocima);
- TextDrawHideForPlayer(playerid, Pretobaixo);
- TextDrawHideForPlayer(playerid, PretoMeio);
- TextDrawHideForPlayer(playerid, NomeServer);
- TextDrawHideForPlayer(playerid, ModoServer);
- TextDrawHideForPlayer(playerid, Estrela1);
- TextDrawHideForPlayer(playerid, Estrela2);
- //SPAWN
- SpawnJogador(playerid);
- //Mensagem
- if(PlayerInfo[playerid][pAdmin] == 1) AdminNivel = "{FA7202}Nivel de Administrador 1 (Moderador em Testes)";
- if(PlayerInfo[playerid][pAdmin] == 2) AdminNivel = "{FA7202}Nivel de Administrador 2 (Moderador)";
- if(PlayerInfo[playerid][pAdmin] == 3) AdminNivel = "{FA7202}Nivel de Administrador 3 (Fundador)";
- format(mensagemadm, sizeof(mensagemadm), "Você logou-se com %s.", AdminNivel);
- if(PlayerInfo[playerid][pAdmin] > 0) return SendClientMessage(playerid, COLOR_RED, mensagemadm);
- }
- if(listitem == 2)
- {
- new string[128], mensagemadm[128];
- format(string, sizeof(string), "{A8A8A8}O Jogador %s entrou para Espectador .", nome);
- SendClientMessageToAll(-1, string);
- PlayerInfo[playerid][pEquipa] = 3;
- SetPlayerColor(playerid, 0xC0C0C0FF);
- //Tirar as textdraws
- TextDrawHideForPlayer(playerid, Pretocima);
- TextDrawHideForPlayer(playerid, Pretobaixo);
- TextDrawHideForPlayer(playerid, PretoMeio);
- TextDrawHideForPlayer(playerid, NomeServer);
- TextDrawHideForPlayer(playerid, ModoServer);
- TextDrawHideForPlayer(playerid, Estrela1);
- TextDrawHideForPlayer(playerid, Estrela2);
- //Mensagem
- if(PlayerInfo[playerid][pAdmin] == 1) AdminNivel = "{FA7202}Nivel de Administrador 1 (Moderador em Testes)";
- if(PlayerInfo[playerid][pAdmin] == 2) AdminNivel = "{FA7202}Nivel de Administrador 2 (Moderador)";
- if(PlayerInfo[playerid][pAdmin] == 3) AdminNivel = "{FA7202}Nivel de Administrador 3 (Fundador)";
- format(mensagemadm, sizeof(mensagemadm), "Você logou-se com %s.", AdminNivel);
- if(PlayerInfo[playerid][pAdmin] > 0) return SendClientMessage(playerid, COLOR_RED, mensagemadm);
- TogglePlayerSpectating(playerid, 1);
- if(MapaEmJogo == 0)
- {
- SetPlayerCameraPos(playerid, 7733.3760, -2699.6416, 98.4472);
- SetPlayerCameraLookAt(playerid, 7733.5469, -2698.6560, 97.3573);
- }
- if(MapaEmJogo == 1)
- {
- SetPlayerCameraPos(playerid, -4324.5400, -6740.3286, 53.0205);
- SetPlayerCameraLookAt(playerid, -4323.6470, -6740.7681, 52.2354);
- }
- if(MapaEmJogo == 2)
- {
- SetPlayerCameraPos(playerid, 8175.5132, -7519.4873, 53.4598);
- SetPlayerCameraLookAt(playerid, 8174.6895, -7520.0503, 52.6098);
- }
- if(MapaEmJogo == 3)
- {
- SetPlayerCameraPos(playerid, 9443.5762, -8867.4717, 81.4879);
- SetPlayerCameraLookAt(playerid, 9444.1074, -8866.6338, 80.7630);
- }
- }
- }
- }
- if(dialogid == 4)
- {
- if(!response)
- {
- SendClientMessage(playerid, COLOR_BLUE_TUGA, "Você cancelou a votação de mapas .");
- }
- if(response)
- {
- if(listitem == 0)
- {
- new string[128], name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- format(string, sizeof(string), "O jogador %s , votou no mapa de_dust para ser jogado agora . Vota tu também /votarmapas.", name);
- SendClientMessageToAll(0xF99B1CFF, string);
- Mapa1V += 1;
- }
- if(listitem == 1)
- {
- new string[128], name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- format(string, sizeof(string), "O jogador %s , votou no mapa de_train para ser jogado agora . Vota tu também /votarmapas.", name);
- SendClientMessageToAll(0xF99B1CFF, string);
- Mapa2V += 1;
- }
- if(listitem == 2)
- {
- new string[128], name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- format(string, sizeof(string), "O jogador %s , votou no mapa de_assault para ser jogado agora . Vota tu também /votarmapas.", name);
- SendClientMessageToAll(0xF99B1CFF, string);
- Mapa3V += 1;
- }
- if(listitem == 3)
- {
- new string[128], name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- format(string, sizeof(string), "O jogador %s , votou no mapa de_inferno para ser jogado agora . Vota tu também /votarmapas.", name);
- SendClientMessageToAll(0xF99B1CFF, string);
- Mapa4V += 1;
- }
- }
- }
- if(dialogid == DIALOG_AJUDA)
- {
- if(!response)
- {
- }
- if(response)
- {
- if(listitem == 0)
- {
- 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", "");
- }
- if(listitem == 1)
- {
- new string[690];
- strcat(string, " /admins ~> Comando usado para ver os administradores que se encontram onlines no servidor.\n");
- strcat(string, " /relato ~> Permite enviar um relato para os administradores online , use apenas quando necessitar .\n");
- strcat(string, " /mp ~> Permite enviar uma Mensagem Privada para qualquer jogador , desde que o mesmo esteja online .\n");
- 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");
- 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");
- strcat(string, " /comprararmas ~> Comando usado para comprar armas , só pode ser usado estando na base ( local de spawn ).");
- ShowPlayerDialog(playerid, DIALOG_AJUDA+2, DIALOG_STYLE_MSGBOX, "Comandos :", string, "Ok","");
- }
- }
- }
- return 0;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
- public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
- {
- SetPVarInt(playerid, "ClickMapa", gettime() + 15);
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- SalvarContas(playerid);
- PlayerOnline -= 1;
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- if(IsPlayerConnected(killerid)&&IsPlayerConnected(playerid))
- {
- pPMatouRonda[killerid] ++;
- if(PlayerInfo[killerid][pEquipa] == 1) PontosCT += 1;
- if(PlayerInfo[killerid][pEquipa] == 2) PontosT += 1;
- PlayerInfo[killerid][pMatou] += 1;
- PlayerInfo[playerid][pMorreu] += 1;
- GivePlayerMoney(playerid, 300);
- GivePlayerMoney(killerid, 1700);
- SetPlayerScore(killerid, GetPlayerScore(killerid) + 4);
- SetPlayerScore(playerid, GetPlayerScore(playerid) - 2);
- new nome[MAX_PLAYER_NAME], string[128];
- GetPlayerName(killerid, nome, MAX_PLAYER_NAME);
- if(pPMatouRonda[killerid] == 2)
- {
- format(string, sizeof(string), "~r~%s ~y~ esta dominando.", nome);
- GameTextForAll(string, 4000, 3);
- for(new i = 0;i < MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- PlayAudioStreamForPlayer(i, "http://bslrpg.freeiz.com/sons/dominating.mp3");
- }
- }
- }
- if(pPMatouRonda[killerid] == 3)
- {
- format(string, sizeof(string), "~r~%s ~y~ MonsterKill.", nome);
- GameTextForAll(string, 4000, 1);
- for(new i = 0;i < MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- PlayAudioStreamForPlayer(i, "http://bslrpg.freeiz.com/sons/monsterkill.mp3");
- }
- }
- }
- if(pPMatouRonda[killerid] == 4)
- {
- format(string, sizeof(string), "~r~%s ~y~ UltraKill.", nome);
- GameTextForAll(string, 4000, 1);
- for(new i = 0;i < MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- PlayAudioStreamForPlayer(i, "http://bslrpg.freeiz.com/sons/ultrakill.mp3");
- }
- }
- }
- if(pPMatouRonda[killerid] == 5)
- {
- format(string, sizeof(string), "~r~%s ~y~ Godlike.", nome);
- GameTextForAll(string, 4000, 1);
- for(new i = 0;i < MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- PlayAudioStreamForPlayer(i, "http://bslrpg.freeiz.com/sons/godlike.mp3");
- }
- }
- }
- if(pPMatouRonda[killerid] == 6)
- {
- format(string, sizeof(string), "~r~%s ~y~ está imparável.", nome);
- GameTextForAll(string, 4000, 1);
- for(new i = 0;i < MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- PlayAudioStreamForPlayer(i, "http://bslrpg.freeiz.com/sons/unstoppable.mp3");
- }
- }
- }
- }
- return 1;
- }
- public KickarJogador(playerid)
- {
- Kick(playerid);
- return 1;
- }
- public BanirJogador(playerid)
- {
- Ban(playerid);
- return 1;
- }
- //--------- Comandos ------//
- //Comandos Admin nivel 1
- CMD:ajudaadmin(playerid)
- {
- 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 .");
- new comandosadm[500];
- 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 ";
- 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";
- 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";
- ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "Comandos de Admin :", comandosadm, "Fechar","");
- return 1;
- }
- CMD:aa(playerid)
- {
- return cmd_ajudaadmin(playerid);
- }
- CMD:spawn(playerid, params[])
- {
- 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 .");
- new id;
- if(sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_GREY, "Use /spawn [ID].");
- SpawnJogador(id);
- return 1;
- }
- CMD:punir(playerid, params[])
- {
- /* flood , relato indevido , cheater*/
- new id, motivo[128], nome1[MAX_PLAYER_NAME], nome2[MAX_PLAYER_NAME], string[128], string1[128];
- 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 .");
- if(sscanf(params, "us", id, motivo)) return SendClientMessage(playerid, COLOR_GREY, "Use /punir [ID] [MOTIVO].|| Motivos aceites : flood; reind(relato indevido); cheater.");
- GetPlayerName(playerid, nome1, sizeof(nome1));
- GetPlayerName(id, nome2, sizeof(nome2));
- if(strcmp(motivo,"flood", true) == 0)
- {
- PlayerInfo[playerid][pAvisos] += 1;
- format(string, sizeof(string), "O Administrador %s puniu o jogador %s . Motivo : Flood. Avisos : %d ", nome1, nome2, PlayerInfo[id][pAvisos]);
- SendClientMessageToAll(COLOR_RED, string);
- SetTimerEx("KickarJogador", 1000, false, "n", id);
- WriteLog ( "Logs/punir.log" , string);
- }
- if(strcmp(motivo,"reind", true) == 0)
- {
- PlayerInfo[playerid][pAvisos] += 1;
- format(string, sizeof(string), "O Administrador %s puniu o jogador %s . Motivo : Relato Indevido. Avisos : %d ", nome1, nome2, PlayerInfo[id][pAvisos]);
- SendClientMessageToAll(COLOR_RED, string);
- SetTimerEx("KickarJogador", 1000, false, "n", id);
- WriteLog ( "Logs/punir.log" , string);
- }
- if(strcmp(motivo,"cheater", true) == 0)
- {
- PlayerInfo[playerid][pAvisos] += 1;
- format(string, sizeof(string), "O Administrador %s puniu o jogador %s . Motivo : Cheater. Avisos : %d ", nome1, nome2, PlayerInfo[id][pAvisos]);
- SendClientMessageToAll(COLOR_RED, string);
- SetTimerEx("BanirJogador", 1000, false, "n", id);
- WriteLog ( "Logs/punir.log" , string);
- }
- if(PlayerInfo[id][pAvisos] == 3)
- {
- 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);
- SetTimerEx("BanirJogador", 1000, false, "n", id);
- }
- return 1;
- }
- CMD:kick(playerid, params[])
- {
- new id, motivo, string[128], nome1[MAX_PLAYER_NAME], nome2[MAX_PLAYER_NAME];
- 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 .");
- if(sscanf(params, "us", id, motivo)) return SendClientMessage(playerid, COLOR_GREY, "Use /kick [ID] [MOTIVO].");
- GetPlayerName(playerid, nome1, sizeof(nome1));
- GetPlayerName(id, nome2, sizeof(nome2));
- format(string, sizeof(string), "O Administrador %s , kickou o jogador %s . Motivo : %s ", nome1, nome2, motivo);
- SendClientMessageToAll(COLOR_RED, string);
- SetTimerEx("KickarJogador", 1000, false, "n", id);
- WriteLog ( "Logs/kick.log" , string);
- return 1;
- }
- CMD:espiar(playerid, params[])
- {
- 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 .");
- new id;
- if(sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_GREY, "Use /espiar [ID].");
- TogglePlayerSpectating(playerid, 1);
- PlayerSpectatePlayer(playerid, id);
- return 1;
- }
- CMD:espiaroff(playerid)
- {
- 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 .");
- TogglePlayerSpectating(playerid, 0);
- return 1;
- }
- CMD:cv(playerid, params[])
- {
- new nome[MAX_PLAYER_NAME], string[128], niveladm[22], texto[128];
- 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 .");
- if(sscanf(params, "s[128]", texto))
- return SendClientMessage(playerid, COLOR_GREY, "Use : /cv [texto].");
- GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
- switch(PlayerInfo[playerid][pAdmin])
- {
- case 1: niveladm = "Moderador em Teste";
- case 2: niveladm = "Moderador";
- case 3: niveladm = "Fundador";
- }
- format(string, sizeof(string), "{FF0000}[%s] {FFFFFF}%s : {066363}%s", niveladm, nome, texto);
- SendClientMessageToAll(COLOR_RED, string);
- return 1;
- }
- CMD:adminchat(playerid, params[])
- {
- new nome[MAX_PLAYER_NAME], string[128], texto[128];
- 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 .");
- if(sscanf(params, "s[128]", texto))
- return SendClientMessage(playerid, COLOR_GREY, "Use : /(a)dmin(c)hat [texto].");
- GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
- format(string, sizeof(string), "[Admin-Chat] %s : %s ", nome, texto);
- for(new i = 0; i < MAX_PLAYERS;i++)
- {
- if(PlayerInfo[i][pAdmin] > 1)
- {
- SendClientMessage(i, COLOR_YELLOW, string);
- }
- }
- return 1;
- }
- CMD:ac(playerid, params[])
- {
- return cmd_adminchat(playerid, params);
- }
- CMD:limparchat(playerid, params[])
- {
- 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 .");
- for(new a = 0; a < 30; a++)
- {
- SendClientMessageToAll(-1," ");
- }
- new nome[MAX_PLAYER_NAME+1];
- GetPlayerName(playerid, nome, sizeof(nome));
- printf("O administrador %s limpou o chat", nome);
- return 1;
- }
- CMD:descongelar(playerid, params[])
- {
- 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 .");
- new id, nome[MAX_PLAYER_NAME], string[128];
- if(sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_GREY, "Use /descongelar [ID]");
- GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
- format(string, sizeof(string), "Você foi descongelado pelo administrador %s. ", nome);
- SendClientMessage(id, COLOR_YELLOW, string);
- TogglePlayerControllable(id, 1);
- return 1;
- }
- CMD:congelar(playerid, params[])
- {
- 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 .");
- new id, nome[MAX_PLAYER_NAME], string[128];
- if(sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_GREY, "Use /congelar [ID]");
- GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
- format(string, sizeof(string), "Você foi congelado pelo administrador %s. ", nome);
- SendClientMessage(id, COLOR_YELLOW, string);
- TogglePlayerControllable(id, 0);
- return 1;
- }
- //Comandos Admin Nivel 2
- CMD:mapa(playerid, params[])
- {
- new mapa, nome[MAX_PLAYER_NAME], string[128];
- 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 .");
- if(sscanf(params, "d", mapa)) return SendClientMessage(playerid, COLOR_GREY, "Use /mapa [mapaid].");
- if(mapa > 9 || mapa < 0) return SendClientMessage(playerid, COLOR_RED, "O mapaid deve estar entre 0 e 9 .");
- GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
- format(string, sizeof(string), "O Administrador %s mudou o mapa .", nome);
- WriteLog ( "Logs/mudarmapa.log" , string);
- MapaEmJogo = mapa;
- PontosT = 0;
- PontosCT = 0;
- Mapa1V = 0;
- Mapa2V = 0;
- Mapa3V = 0;
- Mapa4V = 0;
- for(new all = 0; all < MAX_PLAYERS; all++)
- {
- if(IsPlayerConnected(all)&& PlayerInfo[all][pEquipa] >= 1)
- {
- SpawnJogador(all);
- }
- }
- return 1;
- }
- CMD:ban(playerid, params[])
- {
- new id, nome[MAX_PLAYER_NAME], nome2[MAX_PLAYER_NAME], motivo[128], string[128];
- 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 .");
- if(sscanf(params, "us[128]", id, motivo)) return SendClientMessage(playerid, COLOR_GREY, "Use /ban [ID] [MOTIVO].");
- GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
- GetPlayerName(id, nome2, MAX_PLAYER_NAME);
- format(string , sizeof(string), "O jogador %s foi banido por %s . Motivo : %s .", nome2, nome, motivo);
- SendClientMessageToAll(COLOR_RED, string);
- print(string);
- SetTimerEx("BanirJogador", 1000, false, "i", id);
- WriteLog ( "Logs/ban.log" , string);
- return 1;
- }
- /*CMD:bantemp(playerid, params)
- {
- 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 .");
- new id, nome[MAX_PLAYER_NAME], nome2[MAX_PLAYER_NAME], mtivo[128], string[128];
- if(sscanf(params, "udd*/
- CMD:darvida(playerid, params[])
- {
- 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 .");
- new id, nome[MAX_PLAYER_NAME+1], nome2[MAX_PLAYER_NAME+1], vida, string[128], string2[128];
- if(sscanf(params, "ud", id, vida)) return SendClientMessage(playerid, COLOR_GREY, "Use /darvida [ID] [VIDA]");
- SetPlayerHealth(id, vida);
- GetPlayerName(playerid, nome, sizeof(nome));
- GetPlayerName(id, nome2, sizeof(nome2));
- format(string, sizeof(string), "O administradro %s setou-lhe %d de HP", nome, vida);
- SendClientMessage(id, COLOR_BLUE, string);
- format(string2, sizeof(string2), "Você setou a HP de %s para %d", nome2, vida);
- SendClientMessage(playerid, COLOR_BLUE, string2);
- return 1;
- }
- CMD:darcolete(playerid, params[])
- {
- 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 .");
- new id, nome[MAX_PLAYER_NAME+1], nome2[MAX_PLAYER_NAME+1], colete, string[128], string2[128];
- if(sscanf(params, "ud", id, colete)) return SendClientMessage(playerid, COLOR_GREY, "Use /darvida [ID] [COLETE]");
- SetPlayerArmour(id, colete);
- GetPlayerName(playerid, nome, sizeof(nome));
- GetPlayerName(id, nome2, sizeof(nome2));
- format(string, sizeof(string), "O administradro %s setou-lhe %d de HP", nome, colete);
- SendClientMessage(id, COLOR_BLUE, string);
- format(string2, sizeof(string2), "Você setou a HP de %s para %d", nome2, colete);
- SendClientMessage(playerid, COLOR_BLUE, string2);
- return 1;
- }
- CMD:armaall(playerid, params[])
- {
- 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 .");
- new id, string[128], armaid,ammo, nome[MAX_PLAYER_NAME+1];
- if(sscanf(params, "udd", id, armaid, ammo)) return SendClientMessage(playerid, COLOR_GREY, "{BABABA}Use /dararma [ID] [ARMAID] [AMMO]");
- GetPlayerName(playerid, nome, sizeof(nome));
- format(string, sizeof(string), "{FFBB00}O administrador {0FB3FA}%s deu-lhe a arma{FFBB00} %d com %d munições.", nome,armaid,ammo);
- for(new all = 0; all < MAX_PLAYERS; all++)
- {
- if(IsPlayerConnected(all)&& PlayerInfo[all][pEquipa] >= 1)
- {
- GivePlayerWeapon(all, armaid, ammo);
- SendClientMessage(all, COLOR_RED, string);
- }
- }
- print(string);
- return 1;
- }
- CMD:mudarequipa(playerid, params[])
- {
- new id, equipa, string[128], nome[MAX_PLAYER_NAME], nome2[MAX_PLAYER_NAME];
- 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 .");
- if(sscanf(params, "ud", id, equipa)) return SendClientMessage(playerid, COLOR_GREY, "Use /mudarequipa [ID] [NOVAEQUIPA].");
- if(equipa > 3 || equipa < 1) return SendClientMessage(playerid, COLOR_RED, "O mapaid deve estar entre 0 e 9 .");
- GetPlayerName(playerid, nome, sizeof(nome));
- GetPlayerName(id, nome2, sizeof(nome2));
- PlayerInfo[id][pEquipa] = equipa;
- if(equipa == 1) format(string, sizeof(string), "{3768FA}O Administrador %s mudou o jogador %s para a equipa dos Contra Terroristas.", nome, nome2);
- if(equipa == 2) format(string, sizeof(string), "{D90000}O Administrador %s mudou o jogador %s para a equipa dos Terroristas.", nome, nome2);
- if(equipa == 3) format(string, sizeof(string), "{A8A8A8}O Administrador %s mudou o jogador %s para a equipa dos Espectadores.", nome, nome2);
- SendClientMessageToAll(-1, string);
- WriteLog ( "Logs/equipamudar.log" , string);
- return 1;
- }
- //Comandos Nivel 3
- CMD:dardinheiro(playerid, params[])
- {
- 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 .");
- new id, string[128], quantia, nome[MAX_PLAYER_NAME+1];
- if(sscanf(params, "ud", id, quantia)) return SendClientMessage(playerid, COLOR_GREY, "{BABABA}Use /dardinheiro [ID] [QUANTIA]");
- GivePlayerMoney(id, quantia);
- GetPlayerName(playerid, nome, sizeof(nome));
- format(string, sizeof(string), "{FFBB00}O administrador {0FB3FA}%s deu-lhe {FFBB00}%i de dinheiro", nome, quantia);
- SendClientMessage(id, COLOR_BLUE, string);
- print(string);
- return 1;
- }
- CMD:dararma(playerid, params[])
- {
- 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 .");
- new id, string[128], armaid,ammo, nome[MAX_PLAYER_NAME+1];
- if(sscanf(params, "udd", id, armaid, ammo)) return SendClientMessage(playerid, COLOR_GREY, "{BABABA}Use /dararma [ID] [ARMAID] [AMMO]");
- GivePlayerWeapon(id,armaid,ammo);
- GetPlayerName(playerid, nome, sizeof(nome));
- format(string, sizeof(string), "{FFBB00}O administrador {0FB3FA}%s deu-lhe a arma{FFBB00} %d com %d munições.", nome,armaid,ammo);
- SendClientMessage(id, COLOR_BLUE, string);
- print(string);
- return 1;
- }
- CMD:daradmin(playerid, params[])
- {
- new sendername[MAX_PLAYER_NAME], nome2[MAX_PLAYER_NAME], id, nivel,log[128], string[128];
- GetPlayerName(playerid, sendername, 256);
- 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 .");
- if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED, "Você necessita de estar logado no RCON para usar esse comando .");
- if(sscanf(params, "ud", id, nivel)) return SendClientMessage(playerid, COLOR_GREY, "Uso /daradmin [ID] [NIVEL].");
- if(nivel < 0 || nivel > 3) return SendClientMessage(playerid, COLOR_RED, "{FF0000} O nivel deve estar entre 1 e 3.");
- PlayerInfo[id][pAdmin] = nivel;
- GetPlayerName(id, nome2, sizeof(nome2));
- format(string, sizeof(string), "{006AF5}O Administrador %s promoveu-o a Moderador no nivel %d.", sendername, nivel);
- SendClientMessage(id, COLOR_BLUE_TUGA, string);
- format(log, sizeof(log), "[DARADMIN] O administrador %s deu administrador no nivel %d para %s", sendername, nivel, nome2);
- WriteLog ( "Logs/admin.log" , log);
- return 1;
- }
- CMD:gmx(playerid, params[])
- {
- 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 .");
- new nome[MAX_PLAYER_NAME];
- GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- SalvarContas(i);
- }
- }
- printf("O administrador %s executou o GMX. ", nome);
- SendRconCommand("gmx");
- return 1;
- }
- //Comandos Jogadores
- CMD:admins(playerid)
- {
- new string[128], nome[MAX_PLAYER_NAME], niveladmin[128];
- SendClientMessage(playerid, COLOR_YELLOW, "|__________|Administradores Online|__________|");
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(PlayerInfo[i][pAdmin] > 0)
- {
- if(PlayerInfo[i][pAdmin] == 3) niveladmin = "{FF8317}(Fundador)";
- if(PlayerInfo[i][pAdmin] == 2) niveladmin = "{4271FF}(Moderador)";
- if(PlayerInfo[i][pAdmin] == 1) niveladmin = "{E60B0B}(Moderador em Testes)";
- GetPlayerName(i, nome, MAX_PLAYER_NAME);
- format(string, sizeof(string), "%s || %s ||", niveladmin, nome);
- SendClientMessage(playerid, COLOR_RED, string);
- }
- }
- return 1;
- }
- CMD:mp(playerid, params[])
- {
- new id, nome[MAX_PLAYER_NAME+1], nome2[MAX_PLAYER_NAME+1], string[128], string2[128], texto[128];
- if(sscanf(params, "us", id, texto)) return SendClientMessage(playerid, COLOR_GREY, "Use : /mp [ID] [TEXTO]");
- GetPlayerName(playerid, nome, sizeof(nome));
- GetPlayerName(id, nome2, sizeof(nome2));
- format(string, sizeof(string), "[MP Recebida] %s[%d]: %s ", nome, id, texto);
- SendClientMessage(id,COLOR_YELLOW, string);
- format(string2, sizeof(string2), "[MP Enviada] Para: %s . %s", nome2, texto);
- SendClientMessage(playerid, COLOR_YELLOW, string2);
- return 1;
- }
- CMD:relato(playerid, params[])
- {
- new nome[MAX_PLAYER_NAME+1], string[128], texto[128];
- if(sscanf(params, "s[128]", texto)) return SendClientMessage(playerid, COLOR_GREY, "Use : /relato [TEXTO]");
- GetPlayerName(playerid, nome, sizeof(nome));
- format(string, sizeof(string), "[RELATO] %s : %s ", nome, texto);
- for(new all = 0; all < MAX_PLAYERS; all++)
- {
- if(PlayerInfo[all][pAdmin] >= 1)
- {
- SendClientMessage(all, COLOR_RED, string);
- }
- }
- return 1;
- }
- CMD:votarmapa(playerid, params[])
- {
- if(PlayerInfo[playerid][pEquipa] < 1) return SendClientMessage(playerid, COLOR_BLUE_TUGA, "Você ainda não escolheu a equipa.");
- 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");
- return 1;
- }
- CMD:ajuda(playerid)
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, COLOR_RED, "Você não está conectado.");
- ShowPlayerDialog(playerid, DIALOG_AJUDA, DIALOG_STYLE_LIST, "Ajuda BSL :", " Modos de Jogo\n Comandos", "Selecionar", "Cancelar");
- return 1;
- }
- CMD:g(playerid, params[])
- {
- new nome[MAX_PLAYER_NAME], string[128], texto[128];
- GetPlayerName(playerid, nome, sizeof(nome));
- if(sscanf(params, "s[128]", texto)) return SendClientMessage(playerid, COLOR_GREY, "Use : /(g)lobal [texto].");
- if(PlayerInfo[playerid][pAdmin] <= 3) format(string, sizeof(string), "{008CFF}[Jogador] {FF0A0A}%s : {FFC60A}%s.", nome, texto);
- SendClientMessageToAll(-1, string);
- return 1;
- }
- CMD:global(playerid, params[])
- {
- return cmd_g(playerid, params);
- }
- CMD:comprararmas(playerid)
- {
- if(PlayerInfo[playerid][pEquipa] == 1)
- {
- 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))
- {
- SendClientMessage(playerid, COLOR_RED, "Você não está no local de compra !!");
- return 1;
- }
- else
- {
- ShowModelSelectionMenu(playerid, listaarmasct, "Comprar arma :", 0x4A5A6BBB, 0x88888899 , 0xFFFF00AA);
- return 1;
- }
- }
- if(PlayerInfo[playerid][pEquipa] == 2)
- {
- 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))
- {
- SendClientMessage(playerid, COLOR_RED, "Você não está no local de compra !!");
- return 1;
- }
- else
- {
- ShowModelSelectionMenu(playerid, listaarmast, "~r~Comprar arma :", 0xCE0005FF, 0xDE5C60FF , 0xFFFF00AA);
- }
- }
- return 1;
- }
- //Comandos de controle
- public SpawnJogador(playerid)
- {
- if(IsPlayerConnected(playerid))
- {
- TextDrawShowForPlayer(playerid, JogadoresOn);
- TextDrawShowForPlayer(playerid, Time);
- TextDrawShowForPlayer(playerid, Date);
- TextDrawShowForPlayer(playerid, Pontos);
- TextDrawShowForPlayer(playerid, TPontos);
- TextDrawShowForPlayer(playerid, siteserver);
- PlayerTextDrawShow(playerid, boxpStats);
- PlayerTextDrawShow(playerid, MortespStats);
- PlayerTextDrawShow(playerid, MatoupStats);
- PlayerTextDrawShow(playerid, ScorepStats);
- printf("O jogador %d foi spawnando .", playerid);
- pPMatouRonda[playerid] = 0;
- SetPlayerTeam(playerid, 0);
- if(PlayerInfo[playerid][pEquipa] == 1)// Skin id 285 Equipa CTs
- {
- SetPlayerTeam(playerid, 0);
- SetPlayerColor(playerid, 0x4613DFFF);
- //Mapa 1 = de_dust | By VinicioS
- if(MapaEmJogo == 0)
- {
- SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_dust . Criado por : jackob & editado por : VinicioS.");
- 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);
- SpawnPlayer(playerid);
- SetPlayerHealth(playerid, 100);
- }
- //Mapa 2 = de_train | By:VinicioS
- if(MapaEmJogo == 1)
- {
- SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_train . Criado por : jackob & editado por : VinicioS.");
- 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);
- SpawnPlayer(playerid);
- SetPlayerHealth(playerid, 100);
- }
- //Mapa 3 = de_assault
- if(MapaEmJogo == 2)
- {
- SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_assault . Criado por : jackob & editado por : VinicioS.");
- 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);
- SpawnPlayer(playerid);
- SetPlayerHealth(playerid, 100);
- }
- //Mapa 4 = de_inferno | By:VinicioS
- if(MapaEmJogo == 3)
- {
- SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_inferno . Criado por : jackob & editado por : VinicioS.");
- 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);
- SpawnPlayer(playerid);
- SetPlayerHealth(playerid, 100);
- }
- }
- if(PlayerInfo[playerid][pEquipa] == 2)// Skin id 21 Equipa Ts
- {
- SetPlayerTeam(playerid, 0);
- SetPlayerColor(playerid, 0xD70025FF);
- //Mapa 1 = de_dust | By VinicioS
- if(MapaEmJogo == 0)
- {
- SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_dust . Criado por : jackob & editado por : VinicioS.");
- 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);
- SpawnPlayer(playerid);
- SetPlayerHealth(playerid, 100);
- }
- //Mapa 2 = de_train | By:VinicioS
- if(MapaEmJogo == 1)
- {
- SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_train . Criado por : jackob & editado por : VinicioS.");
- 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);
- SpawnPlayer(playerid);
- SetPlayerHealth(playerid, 100);
- }
- //Mapa 3 = de_assault
- if(MapaEmJogo == 2)
- {
- SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_assault . Criado por : jackob & editado por : VinicioS.");
- 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);
- SpawnPlayer(playerid);
- SetPlayerHealth(playerid, 100);
- }
- //Mapa 2 = de_inferno | By:VinicioS
- if(MapaEmJogo == 3)
- {
- SendClientMessage(playerid, COLOR_BLUE, "{DEA426} Você juntou-se ao jogo . O Mapa atual é : de_inferno . Criado por : jackob & editado por : VinicioS.");
- 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);
- SpawnPlayer(playerid);
- SetPlayerHealth(playerid, 100);
- }
- }
- }
- return 1;
- }
- public MudarMapaVote()
- {
- new Maioria;
- if(PlayerOnline > 2)
- {
- Maioria = PlayerOnline /= 2;
- printf("Maioria = %d", Maioria);
- }
- if(PlayerOnline < 2)
- {
- }
- if(Mapa1V == Maioria+2)
- {
- MapaEmJogo = 0;
- SendClientMessageToAll(COLOR_BLUE_TUGA, "O mapa irá mudar , escolhido por votação .");
- PontosT = 0;
- PontosCT = 0;
- Mapa1V = 0;
- Mapa2V = 0;
- Mapa3V = 0;
- Mapa4V = 0;
- for(new all = 0; all < MAX_PLAYERS; all++)
- {
- if(IsPlayerConnected(all)&& PlayerInfo[all][pEquipa] >= 1)
- {
- SpawnJogador(all);
- }
- }
- }
- if(Mapa2V == Maioria+2)
- {
- MapaEmJogo = 1;
- SendClientMessageToAll(COLOR_BLUE_TUGA, "O mapa irá mudar , escolhido por votação .");
- PontosT = 0;
- PontosCT = 0;
- Mapa1V = 0;
- Mapa2V = 0;
- Mapa3V = 0;
- Mapa4V = 0;
- for(new all = 0; all < MAX_PLAYERS; all++)
- {
- if(IsPlayerConnected(all)&& PlayerInfo[all][pEquipa] >= 1)
- {
- SpawnJogador(all);
- }
- }
- }
- if(Mapa3V == Maioria+2)
- {
- MapaEmJogo = 2;
- SendClientMessageToAll(COLOR_BLUE_TUGA, "O mapa irá mudar , escolhido por votação .");
- PontosT = 0;
- PontosCT = 0;
- Mapa1V = 0;
- Mapa2V = 0;
- Mapa3V = 0;
- Mapa4V = 0;
- for(new all = 0; all < MAX_PLAYERS; all++)
- {
- if(IsPlayerConnected(all)&& PlayerInfo[all][pEquipa] >= 1)
- {
- SpawnJogador(all);
- }
- }
- }
- if(Mapa4V == Maioria+2)
- {
- MapaEmJogo = 3;
- SendClientMessageToAll(COLOR_BLUE_TUGA, "O mapa irá mudar , escolhido por votação .");
- PontosT = 0;
- PontosCT = 0;
- Mapa1V = 0;
- Mapa2V = 0;
- Mapa3V = 0;
- Mapa4V = 0;
- for(new all = 0; all < MAX_PLAYERS; all++)
- {
- if(IsPlayerConnected(all)&& PlayerInfo[all][pEquipa] >= 1)
- {
- SpawnJogador(all);
- }
- }
- }
- return 1;
- }
- public MudarMapa()
- {
- PontosT = 0;
- PontosCT = 0;
- Mapa1V = 0;
- Mapa2V = 0;
- Mapa3V = 0;
- Mapa4V = 0;
- if(MapaEmJogo < 2)
- {
- MapaEmJogo = MapaEmJogo +1;
- }
- if(MapaEmJogo >= 3)
- {
- MapaEmJogo = 0;
- }
- printf("%d", MapaEmJogo);
- for(new all = 0; all < MAX_PLAYERS; all++)
- {
- if(IsPlayerConnected(all)&& PlayerInfo[all][pEquipa] >= 0)
- {
- SpawnJogador(all);
- }
- }
- }
- public Stats()
- {
- new Hour, Minute, Second, Year, Month, Day, data[128], time[128], Points[128];
- gettime(Hour, Minute, Second);
- getdate(Year, Month, Day);
- format(data, sizeof(data), "~r~Data : ~w~%d/%d/%d", Day, Month, Year);
- format(time, sizeof(time), "~r~Hora : ~w~%d:%d:%d", Hour, Minute, Second);
- format(Points, sizeof(Points), "~b~%d ~w~-~w~ ~r~%d", PontosCT, PontosT);
- TextDrawSetString(Date ,data);
- TextDrawSetString(Time ,time);
- TextDrawSetString(TPontos ,Points);
- return 1;
- }
- public PlayerStats(playerid)
- {
- new stringscore[128], stringmatou[128], stringmorreu[128];
- format(stringscore, sizeof(stringscore), "~r~Score : ~w~%d", GetPlayerScore(playerid));
- format(stringmatou, sizeof(stringmatou), "~b~Matou : ~w~%d", PlayerInfo[playerid][pMatou]);
- format(stringmorreu, sizeof(stringmorreu), "~r~Morreu : ~w~%d", PlayerInfo[playerid][pMorreu]);
- PlayerTextDrawSetString(playerid, MortespStats, stringmorreu);
- PlayerTextDrawSetString(playerid, MatoupStats, stringmatou);
- PlayerTextDrawSetString(playerid, ScorepStats, stringscore);
- return 1;
- }
- public Mapas()
- {
- //==================================== Mapa 1 ==========================================================================
- CreateObject(4199, 7738.204590, -2628.768555, 19.488087, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7706.895996, -2628.757568, 19.488087, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7700.973145, -2628.751709, 19.488087, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7738.191895, -2640.327881, 19.488087, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7701.299805, -2628.743164, 23.564011, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7727.197754, -2628.742920, 23.614010, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7762.916016, -2628.753662, 19.488087, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7762.936523, -2628.773682, 23.714008, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7769.796875, -2640.340576, 19.488087, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7779.837891, -2618.802490, 19.514919, 0.0000, 0.0000, 180.0000);
- CreateObject(4199, 7779.381348, -2618.800293, 19.489008, 0.0000, 0.0000, 0.0000);
- CreateObject(4199, 7758.191895, -2617.741943, 21.014904, 0.0000, 0.0000, 270.0000);
- CreateObject(4199, 7762.925781, -2628.742432, 27.739925, 0.0000, 0.0000, 270.0000);
- CreateObject(4199, 7727.187988, -2628.722656, 24.964933, 0.0000, 0.0000, 270.0000);
- CreateObject(4199, 7727.190918, -2617.194824, 25.015829, 0.0000, 0.0000, 270.0001);
- CreateObject(4199, 7789.320313, -2610.955811, 23.564934, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7780.645508, -2610.965332, 25.065828, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7740.856934, -2610.976318, 25.065828, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7769.804199, -2644.505127, 15.263121, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7769.808105, -2672.876953, 15.238102, 0.0000, 0.0000, 270.0000);
- CreateObject(4199, 7782.778809, -2655.969238, 11.789022, 347.1084, 0.0000, 270.0000);
- CreateObject(4199, 7782.788574, -2661.827637, 11.780273, 12.8916, 0.0000, 90.0000);
- CreateObject(5107, 7783.395020, -2685.856201, 18.580303, 0.0000, 0.0000, 270.0000);
- CreateObject(4199, 7787.094238, -2634.491211, 13.689656, 0.0000, 0.0000, 180.0000);
- CreateObject(4199, 7787.097168, -2634.464355, 15.265619, 0.0000, 0.0000, 180.0000);
- CreateObject(4199, 7787.080078, -2603.027344, 15.290585, 0.0000, 0.0000, 180.0000);
- CreateObject(4199, 7787.105957, -2602.965576, 13.739655, 0.0000, 0.0000, 180.0000);
- CreateObject(4199, 7769.821777, -2672.918457, 13.739655, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7812.527344, -2623.026611, 13.714656, 0.0000, 0.0000, 0.0000);
- CreateObject(4199, 7812.543945, -2623.022217, 15.240582, 0.0000, 0.0000, 0.0000);
- CreateObject(4199, 7791.279297, -2610.959229, 19.441509, 180.4820, 0.0000, 90.0000);
- CreateObject(4199, 7797.470215, -2602.418945, 19.347794, 179.6226, 0.0000, 270.0000);
- CreateObject(4199, 7820.546387, -2610.955811, 19.466503, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7820.312012, -2610.979736, 23.567427, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7812.089355, -2610.977783, 25.065851, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7812.537109, -2591.778320, 13.739655, 0.0000, 0.0000, 0.0000);
- CreateObject(4199, 7812.555176, -2591.755615, 17.815588, 0.0000, 0.0000, 0.0000);
- CreateObject(4199, 7762.251953, -2606.273926, 21.015833, 0.0000, 0.0000, 270.0000);
- CreateObject(4199, 7762.285645, -2595.166016, 20.991756, 0.0000, 0.0000, 270.0000);
- CreateObject(4199, 7797.476563, -2602.415527, 20.987165, 0.0000, 0.0000, 270.0000);
- CreateObject(4199, 7824.837891, -2602.415039, 19.466511, 0.0000, 0.0000, 270.0000);
- CreateObject(4199, 7822.850098, -2602.425049, 23.517424, 0.0000, 0.0000, 270.0000);
- CreateObject(4199, 7775.802734, -2603.024414, 13.739655, 0.0000, 0.0000, 0.0001);
- CreateObject(4199, 7775.807129, -2603.032715, 15.290592, 0.0000, 0.0000, 0.0001);
- CreateObject(4199, 7762.296387, -2595.156738, 19.366516, 0.0000, 0.0000, 270.0000);
- CreateObject(4199, 7822.533691, -2602.424316, 27.568354, 0.0000, 0.0000, 270.0000);
- CreateObject(4199, 7817.982910, -2571.032471, 13.742012, 0.0000, 0.0000, 0.0000);
- CreateObject(4199, 7818.006836, -2571.122314, 17.842936, 0.0000, 0.0000, 0.0000);
- CreateObject(4199, 7777.079102, -2581.605225, 13.742011, 0.0000, 0.0000, 270.0000);
- CreateObject(4199, 7777.062500, -2581.615967, 15.267941, 0.0000, 0.0000, 270.0000);
- CreateObject(4199, 7777.098633, -2553.675781, 13.742011, 0.0000, 0.0000, 90.0001);
- CreateObject(4199, 7777.093750, -2553.635254, 15.267975, 0.0000, 0.0000, 90.0001);
- CreateObject(4199, 7808.512207, -2549.810791, 13.742012, 0.0000, 0.0000, 90.0001);
- CreateObject(4199, 7808.526367, -2549.808838, 15.267944, 0.0000, 0.0000, 90.0001);
- CreateObject(4199, 7818.024414, -2558.269531, 19.493866, 0.0000, 0.0000, 0.0003);
- CreateObject(4199, 7798.779785, -2545.010498, 19.493866, 0.0000, 0.0000, 90.0001);
- CreateObject(4199, 7812.552734, -2591.756104, 19.466532, 0.0000, 0.0000, 0.0002);
- CreateObject(4199, 7818.012695, -2589.829102, 19.493856, 0.0000, 0.0000, 0.0002);
- CreateObject(4199, 7791.452148, -2610.925781, 25.063091, 0.0000, 0.0000, 270.0003);
- CreateObject(4199, 7780.507324, -2610.930664, 25.241756, 0.0000, 0.0000, 270.0003);
- CreateObject(4199, 7740.827148, -2610.937744, 25.091759, 0.0000, 0.0000, 270.0003);
- CreateObject(4199, 7762.296387, -2591.870850, 25.217678, 0.0000, 0.0000, 270.0003);
- CreateObject(4199, 7727.544434, -2591.879883, 25.217678, 0.0000, 0.0000, 270.0003);
- CreateObject(4199, 7730.964355, -2599.472168, 20.991749, 0.0000, 0.0000, 270.0003);
- CreateObject(4199, 7727.191406, -2610.946289, 25.067673, 0.0000, 0.0000, 270.0002);
- CreateObject(4199, 7699.547852, -2599.485107, 20.992662, 0.0000, 0.0000, 270.0002);
- CreateObject(4199, 7704.149902, -2610.912109, 25.068588, 0.0000, 0.0000, 270.0002);
- CreateObject(4199, 7696.514160, -2596.284180, 25.218586, 0.0000, 0.0000, 180.0004);
- CreateObject(4199, 7782.516602, -2570.257813, 11.867017, 12.8916, 0.0000, 90.0000);
- CreateObject(4199, 7782.519043, -2564.379395, 11.867032, 12.8916, 0.0000, 90.0000);
- CreateObject(4199, 7717.644531, -2588.070557, 19.452366, 0.0000, 0.0000, 270.0002);
- CreateObject(4199, 7717.583984, -2580.659180, 19.426512, 0.0000, 0.0000, 270.0002);
- CreateObject(4199, 7696.513184, -2590.638428, 25.152420, 0.0000, 0.0000, 180.0002);
- CreateObject(4199, 7696.542969, -2578.369629, 21.028313, 0.0000, 0.0000, 180.0002);
- CreateObject(4199, 7717.562988, -2569.186523, 19.546246, 0.0000, 0.0000, 270.0001);
- CreateObject(4199, 7717.580078, -2569.192871, 23.722168, 0.0000, 0.0000, 90.0000);
- CreateObject(4199, 7717.564941, -2569.182617, 27.548100, 0.0000, 0.0000, 89.9999);
- CreateObject(4199, 7727.541016, -2591.870117, 23.678288, 0.0000, 0.0000, 269.9994);
- CreateObject(4199, 7735.438965, -2580.699463, 19.546246, 0.0000, 0.0000, 269.9994);
- CreateObject(4199, 7762.289551, -2591.867676, 22.321215, 0.0000, 0.0000, 269.9994);
- CreateObject(4199, 7758.379395, -2591.851563, 19.546246, 0.0000, 0.0000, 269.9994);
- CreateObject(4199, 7762.301758, -2591.875488, 19.516514, 0.0000, 0.0000, 269.9994);
- CreateObject(4199, 7729.433105, -2547.961182, 19.546246, 0.0000, 0.0000, 179.9995);
- CreateObject(4199, 7729.461914, -2547.913086, 23.722168, 0.0000, 0.0000, 179.9995);
- CreateObject(4199, 7767.589355, -2544.998535, 19.493896, 0.0000, 0.0000, 89.9994);
- CreateObject(4199, 7743.437988, -2545.011230, 19.521246, 0.0000, 0.0000, 89.9994);
- CreateObject(4199, 7817.520508, -2653.336670, 13.742011, 0.0000, 0.0000, 359.9994);
- CreateObject(4199, 7817.485352, -2671.649170, 13.739655, 0.0000, 0.0000, 359.9994);
- CreateObject(4199, 7797.713379, -2684.095703, 13.739655, 0.0000, 0.0000, 269.9992);
- CreateObject(4199, 7797.801270, -2684.066162, 17.890579, 0.0000, 0.0000, 269.9992);
- CreateObject(4199, 7817.483398, -2663.097412, 17.940578, 0.0000, 0.0000, 359.9984);
- CreateObject(4199, 7817.459961, -2631.914795, 17.917934, 0.0000, 0.0000, 359.9984);
- CreateObject(4199, 7684.346680, -2649.946289, 19.488087, 0.0000, 0.0000, 179.9980);
- CreateObject(4199, 7684.395508, -2666.107910, 19.488087, 0.0000, 0.0000, 179.9980);
- CreateObject(4199, 7700.020996, -2668.486572, 23.514011, 0.0000, 0.0000, 269.9982);
- CreateObject(4199, 7731.494629, -2668.497314, 23.489012, 0.0000, 0.0000, 269.9982);
- CreateObject(4199, 7752.204102, -2679.576904, 19.488087, 0.0000, 0.0000, 269.9982);
- CreateObject(4199, 7774.559082, -2684.107666, 19.464024, 0.0000, 0.0000, 269.9982);
- CreateObject(4199, 7765.215332, -2682.753418, 19.488087, 0.0000, 0.0000, 359.9984);
- CreateObject(4199, 7765.215332, -2634.524170, 19.488087, 0.0000, 0.0000, 359.9984);
- CreateObject(14407, 7779.738770, -2602.827881, 19.896671, 0.0000, 0.0000, 0.0000);
- CreateObject(14407, 7753.469238, -2576.898682, 18.426394, 0.0000, 0.0000, 270.0000);
- CreateObject(14407, 7753.462891, -2580.777344, 18.426405, 0.0000, 0.0000, 270.0000);
- CreateObject(14407, 7753.484375, -2584.578613, 18.426394, 0.0000, 0.0000, 270.0000);
- CreateObject(14407, 7744.997070, -2591.136963, 19.877321, 0.0000, 0.0000, 0.0000);
- CreateObject(14407, 7776.516602, -2621.512695, 19.921005, 0.0000, 0.0000, 270.0000);
- CreateObject(14407, 7776.495117, -2618.496582, 19.902021, 0.0000, 0.0000, 270.0000);
- CreateObject(14407, 7745.086914, -2625.909424, 19.919168, 0.0000, 0.0000, 180.0000);
- CreateObject(14407, 7720.489258, -2644.140381, 18.413727, 0.0000, 0.0000, 90.0000);
- CreateObject(14407, 7720.491211, -2640.221680, 18.423878, 0.0000, 0.0000, 90.0000);
- CreateObject(14407, 7720.458008, -2636.334229, 18.418236, 0.0000, 0.0000, 90.0000);
- CreateObject(8653, 7737.130371, -2645.799316, 21.599627, 0.0000, 0.0000, 90.0000);
- CreateObject(8653, 7766.286133, -2645.788818, 21.549623, 0.0000, 0.0000, 90.0001);
- CreateObject(8653, 7785.260254, -2631.253906, 21.601460, 0.0000, 0.0000, 180.0000);
- CreateObject(8653, 7807.513184, -2555.266357, 17.354496, 0.0000, 0.0000, 90.0000);
- CreateObject(8653, 7777.736328, -2559.000732, 17.354515, 0.0000, 0.0000, 90.0001);
- CreateObject(8653, 7736.484375, -2575.273438, 21.682789, 0.0000, 0.0000, 270.0000);
- CreateObject(8653, 7796.860840, -2597.040771, 23.073717, 0.0000, 0.0000, 270.0000);
- CreateObject(3799, 7751.944336, -2647.586182, 17.257416, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7751.978516, -2647.490234, 19.489021, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7748.608398, -2647.760254, 17.257416, 0.0000, 0.0000, 11.2500);
- CreateObject(3799, 7754.254883, -2635.990967, 21.483337, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7810.122559, -2676.751709, 11.508983, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7806.779785, -2676.746094, 11.508983, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7810.123047, -2673.647949, 11.508983, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7809.886230, -2676.638916, 13.740588, 0.0000, 0.0000, 11.2500);
- CreateObject(3799, 7772.632324, -2676.634033, 17.233353, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7772.581055, -2647.698242, 17.258369, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7744.144531, -2618.124268, 23.124893, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7746.269043, -2617.831787, 23.124893, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7744.161621, -2618.007324, 25.124893, 0.0000, 0.0000, 22.5000);
- CreateObject(3798, 7743.970703, -2620.194092, 23.124893, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7786.790527, -2618.220947, 18.450565, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7786.610840, -2620.245361, 18.475603, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7788.837402, -2618.316406, 18.400578, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7786.706543, -2618.008545, 20.150570, 0.0000, 0.0000, 11.2500);
- CreateObject(3798, 7784.098633, -2617.867188, 21.624908, 0.0000, 0.0000, 0.0000);
- CreateObject(3800, 7757.278320, -2611.905029, 23.125822, 0.0000, 0.0000, 0.0000);
- CreateObject(3800, 7764.113281, -2611.327637, 23.125822, 0.0000, 0.0000, 0.0000);
- CreateObject(3800, 7757.418945, -2606.992920, 23.125822, 0.0000, 0.0000, 0.0000);
- CreateObject(3800, 7757.433594, -2606.982422, 24.206085, 0.0000, 0.0000, 0.0000);
- CreateObject(3800, 7758.608398, -2606.965576, 23.125822, 0.0000, 0.0000, 0.0000);
- CreateObject(3800, 7756.058105, -2604.576660, 23.125822, 0.0000, 0.0000, 0.0000);
- CreateObject(3800, 7754.889648, -2604.510986, 23.125822, 0.0000, 0.0000, 0.0000);
- CreateObject(3800, 7765.758301, -2604.347656, 23.125822, 0.0000, 0.0000, 0.0000);
- CreateObject(3800, 7765.693848, -2604.437256, 24.206085, 0.0000, 0.0000, 0.0000);
- CreateObject(3800, 7745.418945, -2604.401123, 23.101738, 0.0000, 0.0000, 0.0000);
- CreateObject(3800, 7745.286133, -2604.478027, 24.182001, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7747.533203, -2603.937500, 23.125822, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7763.595215, -2606.299561, 23.161955, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7794.520996, -2606.427246, 11.511338, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7794.545410, -2609.479980, 11.511338, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7794.534668, -2606.614258, 13.742944, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7803.811035, -2606.986328, 11.511338, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7794.560059, -2602.524902, 11.511338, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7810.653320, -2557.175293, 11.511338, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7807.496094, -2557.155029, 11.511338, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7810.730957, -2560.309082, 11.511338, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7810.648438, -2557.062012, 13.742944, 0.0000, 0.0000, 11.2500);
- CreateObject(3800, 7793.920898, -2612.117188, 11.626078, 0.0000, 0.0000, 11.2500);
- CreateObject(3800, 7804.777832, -2606.965576, 13.857683, 0.0000, 0.0000, 11.2500);
- CreateObject(3799, 7737.642578, -2553.019775, 17.315571, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7737.464355, -2552.827148, 19.547176, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7737.297363, -2556.152832, 17.315571, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7740.557129, -2552.603516, 17.430311, 0.0000, 0.0000, 11.2500);
- CreateObject(3798, 7790.952637, -2577.614990, 17.377930, 0.0000, 0.0000, 0.0000);
- CreateObject(8653, 7792.448730, -2590.972412, 17.279493, 0.0000, 0.0000, 180.0001);
- CreateObject(3798, 7703.606934, -2576.133545, 21.536501, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7703.614258, -2578.169189, 21.536501, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7705.674805, -2576.041016, 21.536501, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7704.182129, -2576.243896, 23.536501, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7712.839844, -2585.014404, 21.562355, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7703.292480, -2602.476318, 23.102652, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7712.707031, -2598.736328, 23.102652, 0.0000, 0.0000, 0.0000);
- CreateObject(14407, 7709.869141, -2591.551758, 19.858448, 0.0000, 0.0000, 0.0000);
- CreateObject(14407, 7705.948730, -2591.540527, 19.858440, 0.0000, 0.0000, 0.0000);
- CreateObject(14407, 7702.062012, -2591.554199, 19.858440, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7803.862793, -2614.028564, 11.511338, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7805.245117, -2618.281738, 11.508983, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7805.279785, -2618.301514, 13.740588, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7805.316406, -2621.365234, 11.508983, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7802.419922, -2617.878418, 11.623722, 0.0000, 0.0000, 11.2500);
- CreateObject(3799, 7767.138184, -2647.508301, 21.483337, 0.0000, 0.0000, 0.0000);
- CreateObject(8653, 7710.657715, -2645.759766, 13.098713, 325.6225, 0.0000, 90.0000);
- CreateObject(8653, 7712.767090, -2645.656982, 12.098705, 325.6225, 0.0000, 90.0000);
- CreateObject(8653, 7762.971191, -2575.265381, 13.150787, 325.6225, 0.8594, 270.0000);
- CreateObject(8653, 7760.956543, -2575.355469, 12.075758, 325.6225, 0.8594, 270.0000);
- CreateObject(3798, 7762.035645, -2558.491699, 17.351082, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7791.895508, -2557.887695, 17.377964, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7791.928223, -2555.924072, 17.377964, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7722.083984, -2575.978027, 21.656235, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7781.345215, -2647.436768, 17.260868, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7781.358887, -2647.439941, 19.492474, 0.0000, 0.0000, 0.0000);
- CreateObject(8653, 7770.454102, -2645.791992, 21.549635, 0.0000, 0.0000, 90.0001);
- CreateObject(3799, 7722.443359, -2647.550049, 17.257416, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7722.409668, -2647.548584, 19.489021, 0.0000, 0.0000, 0.0000);
- CreateObject(3800, 7792.036133, -2556.948975, 19.377964, 0.0000, 0.0000, 33.7500);
- CreateObject(3798, 7804.333984, -2604.144531, 23.097155, 0.0000, 0.0000, 0.0000);
- CreateObject(3798, 7793.865723, -2580.638428, 11.626078, 0.0000, 0.0000, 0.0000);
- CreateObject(4199, 7759.627930, -2610.990479, 29.017685, 179.6226, 0.0000, 90.0000);
- CreateObject(4199, 7759.655273, -2599.837891, 29.043606, 180.4820, 0.0000, 270.0000);
- CreateObject(4199, 7734.984375, -2596.442871, 28.868608, 180.4820, 0.0000, 270.0000);
- CreateObject(4199, 7734.956543, -2607.879639, 28.892687, 179.6226, 0.0000, 90.0001);
- CreateObject(4199, 7731.424805, -2668.510010, 19.488087, 0.0000, 0.0000, 269.9982);
- CreateObject(4199, 7705.209473, -2668.472412, 19.488087, 0.0000, 0.0000, 269.9982);
- CreateObject(4199, 7684.463379, -2648.364990, 23.564011, 0.0000, 0.0000, 179.9980);
- CreateObject(4199, 7751.781738, -2679.520996, 23.539011, 0.0000, 0.0000, 269.9972);
- CreateObject(4199, 7777.790527, -2684.073730, 23.539948, 0.0000, 0.0000, 269.9972);
- CreateObject(4199, 7801.775391, -2684.073242, 22.091503, 0.0000, 0.0000, 269.9972);
- CreateObject(4199, 7817.385254, -2663.048096, 22.091503, 0.0000, 0.0000, 359.9974);
- CreateObject(4199, 7817.445313, -2631.801758, 22.043858, 0.0000, 0.0000, 359.9974);
- CreateObject(4199, 7817.977539, -2560.070313, 23.619789, 0.0000, 0.0000, 359.9974);
- CreateObject(4199, 7796.811035, -2545.024414, 23.694788, 0.0000, 0.0000, 89.9977);
- CreateObject(4199, 7765.349121, -2545.027100, 23.694818, 0.0000, 0.0000, 89.9977);
- CreateObject(4199, 7742.666016, -2545.020508, 23.697170, 0.0000, 0.0000, 89.9977);
- CreateObject(4199, 7729.493164, -2547.865234, 27.873091, 0.0000, 0.0000, 179.9995);
- CreateObject(4199, 7750.860352, -2545.052490, 27.873093, 0.0000, 0.0000, 89.9994);
- CreateObject(4199, 7812.503418, -2591.716064, 23.619781, 0.0000, 0.0000, 359.9995);
- CreateObject(4199, 7790.944824, -2610.931152, 29.241776, 0.0000, 0.0000, 270.0000);
- CreateObject(4199, 7791.308105, -2610.999023, 29.217709, 0.0000, 0.0000, 90.0001);
- CreateObject(4199, 7737.208496, -2618.696045, 29.117683, 0.0000, 0.0000, 179.9969);
- CreateObject(4199, 7742.796387, -2610.920166, 29.111509, 0.0000, 0.0000, 89.9967);
- CreateObject(4199, 7727.196289, -2628.723389, 29.115858, 0.0000, 0.0000, 89.9967);
- CreateObject(4199, 7812.076660, -2610.936035, 29.291775, 0.0000, 0.0000, 89.9967);
- CreateObject(4199, 7696.539551, -2590.734863, 29.319510, 0.0000, 0.0000, 179.9967);
- CreateObject(4199, 7711.958984, -2610.902588, 29.244511, 0.0000, 0.0000, 269.9970);
- CreateObject(4199, 7727.541016, -2591.847656, 29.393600, 0.0000, 0.0000, 269.9970);
- CreateObject(4199, 7762.304199, -2591.869141, 29.418600, 0.0000, 0.0000, 269.9970);
- CreateObject(3799, 7751.273438, -2573.504395, 17.234459, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7751.312012, -2573.536133, 19.466064, 0.0000, 0.0000, 0.0000);
- CreateObject(4199, 7765.228516, -2682.724121, 23.514940, 0.0000, 0.0000, 179.9969);
- CreateObject(4199, 7765.246094, -2682.740723, 19.464024, 0.0000, 0.0000, 179.9969);
- CreateObject(4199, 7762.956055, -2628.770264, 27.740850, 0.0000, 0.0000, 90.0000);
- CreateObject(1223, 7782.034180, -2596.093994, 17.391815, 0.0000, 0.0000, 90.0000);
- CreateObject(1223, 7810.963867, -2562.573486, 11.617319, 0.0000, 0.0000, 180.0000);
- CreateObject(1223, 7793.587891, -2556.520020, 11.617319, 0.0000, 0.0000, 315.0000);
- CreateObject(1223, 7736.264160, -2558.143066, 17.342323, 0.0000, 0.0000, 0.0000);
- CreateObject(1223, 7702.784180, -2579.601807, 21.527742, 0.0000, 0.0000, 0.0000);
- CreateObject(1223, 7714.233887, -2597.941406, 23.093893, 0.0000, 0.0000, 270.0000);
- CreateObject(1223, 7720.267090, -2646.569336, 17.363396, 0.0000, 0.0000, 270.0000);
- CreateObject(1223, 7771.737793, -2674.361084, 17.339333, 0.0000, 0.0000, 0.0000);
- CreateObject(1223, 7782.657227, -2617.293457, 21.616150, 0.0000, 0.0000, 270.0000);
- CreateObject(1223, 7806.041016, -2623.871338, 11.614964, 0.0000, 0.0000, 180.0000);
- CreateObject(1223, 7756.495117, -2635.043213, 21.545542, 0.0000, 0.0000, 270.0000);
- CreateObject(1223, 7755.140137, -2672.307129, 17.363396, 0.0000, 0.0000, 135.0000);
- CreateObject(8653, 7770.460938, -2667.331299, 17.274654, 0.0000, 0.0000, 90.0001);
- CreateObject(8653, 7785.186523, -2682.272949, 17.249643, 0.0000, 0.0000, 180.0001);
- CreateObject(4199, 7761.492188, -2682.780273, 19.488087, 0.0000, 0.0000, 359.9984);
- CreateObject(4199, 7761.470215, -2682.753662, 23.514011, 0.0000, 0.0000, 359.9984);
- CreateObject(3799, 7748.799316, -2672.220459, 17.257416, 0.0000, 0.0000, 0.0000);
- CreateObject(1223, 7747.531250, -2617.442139, 23.116135, 0.0000, 0.0000, 270.0000);
- CreateObject(1223, 7804.776855, -2602.242188, 11.641146, 0.0000, 0.0000, 180.0000);
- CreateObject(2988, 7690.196289, -2648.758301, 17.367802, 0.0000, 0.0000, 0.0000);
- CreateObject(2988, 7690.223633, -2657.135010, 17.367802, 0.0000, 0.0000, 180.0000);
- CreateObject(2988, 7811.680664, -2654.363770, 11.619369, 0.0000, 0.0000, 0.0000);
- CreateObject(2988, 7811.708984, -2662.741455, 11.619369, 0.0000, 0.0000, 180.0000);
- CreateObject(2988, 7715.086914, -2662.771240, 17.367802, 0.0000, 0.0000, 90.0000);
- CreateObject(2988, 7781.227051, -2550.831055, 17.373611, 0.0000, 0.0000, 90.0000);
- CreateObject(2988, 7733.309082, -2564.722900, 17.346729, 0.0000, 0.0000, 0.0000);
- CreateObject(2988, 7723.476074, -2662.741943, 17.367802, 0.0000, 0.0000, 270.0000);
- CreateObject(2988, 7785.546875, -2639.450439, 17.371256, 0.0000, 0.0000, 180.0000);
- CreateObject(2988, 7733.325684, -2573.049072, 17.344847, 0.0000, 0.0000, 180.0000);
- CreateObject(2988, 7790.657715, -2678.397705, 11.619369, 0.0000, 0.0000, 90.0000);
- CreateObject(2988, 7798.984863, -2678.404297, 11.619369, 0.0000, 0.0000, 270.0000);
- CreateObject(2988, 7785.533203, -2631.077637, 17.371256, 0.0000, 0.0000, 0.0000);
- CreateObject(2988, 7812.201172, -2565.076172, 11.621724, 0.0000, 0.0000, 0.0000);
- CreateObject(2988, 7812.221191, -2573.460449, 11.621724, 0.0000, 0.0000, 180.0000);
- CreateObject(2988, 7789.562012, -2550.802246, 17.373611, 0.0000, 0.0000, 270.0000);
- CreateObject(3799, 7691.695801, -2639.259033, 17.157417, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7713.420410, -2661.235352, 17.257416, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7691.745117, -2636.154541, 19.089027, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7691.651855, -2659.567627, 17.257416, 0.0000, 0.0000, 0.0000);
- CreateObject(3799, 7695.111328, -2636.232666, 17.157417, 0.0000, 0.0000, 11.2500);
- CreateObject(3799, 7691.758789, -2636.173828, 17.257416, 0.0000, 0.0000, 0.0000);
- CreateObject(5403, 7687.428223, -2672.578857, -5.860776, 0.0000, 0.0000, 270.0000);
- CreateObject(5403, 7692.524902, -2571.866211, -2.132384, 0.0000, 0.0000, 180.0000);
- CreateObject(5403, 7821.411133, -2681.405518, -7.485781, 0.0000, 0.0000, 360.0000);
- CreateObject(5403, 7699.510254, -2615.000000, -0.331191, 0.0000, 0.0000, 270.0000);
- CreateObject(5403, 7680.436523, -2631.696045, -5.935771, 0.0000, 0.0000, 180.0000);
- CreateObject(5403, 7816.845703, -2607.942871, -2.058003, 0.0000, 0.0000, 360.0000);
- CreateObject(5403, 7725.520996, -2547.697998, -1.744084, 0.0000, 0.0000, 180.0001);
- CreateObject(5403, 7815.289551, -2541.026855, -5.879995, 0.0000, 0.0000, 90.0002);
- CreateObject(4199, 7810.982910, -2603.297363, 15.217934, 0.0000, 0.0000, 0.0000);
- CreateObject(4199, 7810.970215, -2603.279053, 13.367017, 0.0000, 0.0000, 0.0000);
- CreateObject(16685, 7794.886719, -2618.622559, 11.676799, 0.0000, 0.0000, 270.0000);
- CreateObject(16685, 7653.641113, -2654.906982, 17.400232, 0.0000, 0.0000, 0.0000);
- CreateObject(16685, 7653.469238, -2561.135498, 17.429159, 0.0000, 0.0000, 0.0000);
- CreateObject(16685, 7636.521973, -2600.942627, 17.505342, 0.8594, 0.0000, 180.0000);
- CreateObject(16685, 7772.878418, -2530.270508, 17.430344, 0.0000, 0.0000, 0.0000);
- CreateObject(16685, 7805.103516, -1964.048584, 0.042185, 1.7189, 0.0000, 180.0000);
- CreateObject(16685, 7637.151367, -2532.006348, 17.431528, 0.0000, 0.0000, 180.0001);
- CreateObject(4199, 7812.524902, -2591.719727, 27.595707, 0.0000, 0.0000, 0.0000);
- CreateObject(4199, 7787.090332, -2612.390137, 16.541550, 0.0000, 0.0000, 180.0000);
- CreateObject(4199, 7727.550293, -2591.917725, 25.217670, 0.0000, 0.0000, 90.0001);
- CreateObject(4199, 7762.911133, -2628.736328, 23.596611, 0.0000, 0.0000, 270.0004);
- CreateObject(4199, 7762.292969, -2591.935059, 25.201918, 0.0000, 0.0000, 90.0001);
- CreateObject(8653, 7822.013672, -2638.550293, 17.277134, 0.0000, 0.0000, 270.0000);
- CreateObject(8653, 7792.610352, -2635.132324, 17.252165, 0.0000, 0.0000, 0.0000);
- CreateObject(8653, 7807.173828, -2623.679199, 17.277130, 0.0000, 0.0000, 0.0000);
- CreateObject(8653, 7777.730957, -2649.816895, 17.274670, 0.0000, 0.0000, 90.0001);
- CreateObject(16685, 7636.866211, -2622.671631, 17.453686, 0.0000, 0.0000, 180.0000);
- CreateObject(16685, 7629.500000, -2692.279053, 17.426168, 0.8594, 0.0000, 180.0000);
- //==================================== Mapa 1 ==========================================================================
- //==================================== Mapa 2 ==========================================================================
- CreateObject(5118, -4289.91357, -6765.54443, 15.20202, 0.00000, 0.00000, 180.00000);
- CreateObject(5118, -4261.40527, -6755.49365, 15.19558, 0.00000, 0.00000, 0.00000);
- CreateObject(3997, -4308.21484, -6766.95166, 15.07859, 0.00000, 0.00000, 0.00000);
- CreateObject(4058, -4279.32080, -6725.77783, 30.00073, 0.00000, 0.00000, 0.00000);
- CreateObject(4058, -4175.39404, -6777.30566, 34.92513, 0.00000, 0.00000, 0.00000);
- CreateObject(4058, -4303.20947, -6793.80615, 30.12577, 0.00000, 0.00000, 180.00000);
- CreateObject(4682, -4337.85693, -6789.88525, 24.53660, 0.00000, 0.00000, 0.00000);
- CreateObject(9910, -4301.16162, -6772.67871, 16.16963, 0.00000, 0.00000, 225.00000);
- CreateObject(9910, -4253.29785, -6746.43115, 16.11963, 0.00000, 0.00000, 45.00000);
- CreateObject(9910, -4235.83643, -6733.73389, 16.11962, 0.00000, 0.00000, 135.00000);
- CreateObject(5127, -4415.41992, -6726.46533, 20.28381, 0.00000, 0.00000, 0.00000);
- CreateObject(5399, -4239.98389, -6752.54834, 20.60156, 0.00000, 0.00000, 270.00000);
- CreateObject(5398, -4221.87646, -6752.53857, 19.40250, 0.00000, 0.00000, 270.00000);
- CreateObject(5398, -4206.08789, -6752.49805, 19.37814, 0.00000, 0.00000, 90.00000);
- CreateObject(5399, -4322.34375, -6768.49023, 20.63301, 0.00000, 0.00000, 90.00000);
- CreateObject(5398, -4340.43555, -6768.47363, 19.45314, 0.00000, 0.00000, 90.00000);
- CreateObject(9131, -4356.07031, -6762.55029, 16.20156, 0.00000, 0.00000, 0.00000);
- CreateObject(9131, -4356.07666, -6762.54102, 18.34956, 0.00000, 0.00000, 0.00000);
- CreateObject(9910, -4317.04639, -6748.11328, 20.26966, 0.00000, 0.00000, 135.00000);
- CreateObject(8661, -4375.94287, -6767.80566, 15.11292, 0.00000, 0.00000, 0.00000);
- CreateObject(8661, -4415.19971, -6769.06885, 15.11104, 0.00000, 0.00000, 0.00000);
- CreateObject(8661, -4454.86475, -6770.97217, 15.10915, 0.00000, 0.00000, 0.00000);
- CreateObject(8634, -4277.17529, -6754.98877, 15.73274, 0.00000, 0.00000, 270.00000);
- CreateObject(8634, -4277.19922, -6750.97217, 15.73274, 0.00000, 0.00000, 270.00000);
- CreateObject(8634, -4274.20313, -6770.08008, 15.73918, 0.00000, 0.00000, 90.00000);
- CreateObject(8634, -4274.24561, -6766.06738, 15.73918, 0.00000, 0.00000, 90.00000);
- CreateObject(8624, -4386.34717, -6768.47607, 15.23757, 0.00000, 0.00000, 90.00030);
- CreateObject(8624, -4414.16064, -6768.48193, 15.23567, 0.00000, 0.00000, 90.00020);
- CreateObject(8634, -4421.80615, -6766.89258, 15.77282, 0.00000, 0.00000, 270.00000);
- CreateObject(8634, -4421.78467, -6770.89844, 15.77282, 0.00000, 0.00000, 270.00000);
- CreateObject(8624, -4160.32373, -6752.46680, 15.17357, 0.00000, 0.00000, 270.00049);
- CreateObject(8661, -4170.71631, -6746.90869, 15.07201, 90.24080, 0.00000, 0.00000);
- CreateObject(8661, -4163.64990, -6752.39795, 15.07013, 90.24080, 0.00000, 270.00000);
- CreateObject(8661, -4177.43262, -6748.41553, 15.04701, 0.00000, 0.00000, 0.00000);
- CreateObject(8661, -4177.34961, -6751.12402, 22.72014, 179.62260, 0.00000, 0.00000);
- CreateObject(8661, -4171.73242, -6745.43115, 19.80656, 134.07220, 0.00000, 0.00000);
- CreateObject(8661, -4183.60400, -6746.46240, 21.54412, 149.54221, 0.00000, 0.00000);
- CreateObject(9910, -4198.59570, -6738.99414, 35.65907, 0.00000, 0.00000, 315.00000);
- CreateObject(9910, -4436.15137, -6779.38818, 28.84389, 0.00000, 0.00000, 225.00000);
- CreateObject(9910, -4450.61230, -6767.63477, 27.63115, 0.00000, 0.00000, 135.00000);
- CreateObject(8661, -4461.06689, -6751.17578, 16.57002, 0.00000, 0.00000, 0.00000);
- CreateObject(9910, -4437.40430, -6754.83594, 29.21891, 0.00000, 0.00000, 45.00000);
- CreateObject(9910, -4446.30371, -6754.86621, 29.21702, 0.00000, 0.00000, 45.00000);
- CreateObject(5398, -4429.82764, -6768.48535, 19.43959, 0.00000, 0.00000, 90.00000);
- CreateObject(5398, -4429.72852, -6779.56592, 19.50243, 0.00000, 0.00000, 90.00000);
- CreateObject(5398, -4429.78125, -6757.42627, 19.45242, 0.00000, 0.00000, 90.00000);
- CreateObject(3570, -4417.77930, -6773.76416, 16.49600, 0.00000, 0.00000, 0.00000);
- CreateObject(3570, -4417.79150, -6773.76904, 19.16832, 0.00000, 0.00000, 0.00000);
- CreateObject(3570, -4417.78955, -6773.78467, 21.86565, 0.00000, 0.00000, 0.00000);
- CreateObject(3570, -4417.78467, -6762.71533, 16.50855, 0.00000, 0.00000, 0.00000);
- CreateObject(3570, -4417.77783, -6762.72119, 19.20588, 0.00000, 0.00000, 0.00000);
- CreateObject(3570, -4417.86328, -6762.71582, 21.90320, 0.00000, 0.00000, 0.00000);
- CreateObject(3570, -4417.83740, -6751.85742, 17.91986, 0.00000, 0.00000, 0.00000);
- CreateObject(3570, -4417.82813, -6751.85547, 20.61718, 0.00000, 0.00000, 0.00000);
- CreateObject(3570, -4417.86963, -6751.85889, 23.28951, 0.00000, 0.00000, 0.00000);
- CreateObject(3570, -4415.14258, -6768.02246, 23.37731, 268.89981, 0.00000, 270.00000);
- CreateObject(3570, -4415.04492, -6775.94434, 23.38501, 268.89981, 0.00000, 270.00000);
- CreateObject(3570, -4415.14160, -6782.38770, 23.37389, 268.89981, 0.00000, 270.00000);
- CreateObject(3570, -4415.11963, -6759.95947, 23.37217, 268.89981, 0.00000, 270.00000);
- CreateObject(3570, -4415.11963, -6752.39648, 23.37696, 268.89981, 0.00000, 270.00000);
- CreateObject(3570, -4441.98242, -6773.91846, 16.34568, 0.00000, 0.00000, 0.00000);
- CreateObject(3570, -4441.95459, -6773.93506, 19.04301, 0.00000, 0.00000, 0.00000);
- CreateObject(3570, -4441.93896, -6773.95361, 21.74033, 0.00000, 0.00000, 0.00000);
- CreateObject(3570, -4441.96680, -6762.89160, 16.45709, 0.00000, 0.00000, 0.00000);
- CreateObject(3570, -4441.95020, -6762.89844, 19.15442, 0.00000, 0.00000, 0.00000);
- CreateObject(3570, -4441.93213, -6762.89941, 21.85174, 0.00000, 0.00000, 0.00000);
- CreateObject(3675, -4451.45898, -6780.06104, 21.17811, 0.00000, 0.00000, 180.00000);
- CreateObject(3675, -4270.35938, -6779.35645, 21.90385, 0.00000, 0.00000, 270.00000);
- CreateObject(914, -4451.85449, -6755.37598, 19.19191, 0.00000, 0.00000, 270.00000);
- CreateObject(2653, -4445.86279, -6776.75391, 23.46036, 0.85940, 180.37740, 0.00000);
- CreateObject(2653, -4445.85010, -6768.94189, 23.57160, 0.85940, 180.37740, 0.00000);
- CreateObject(2653, -4445.86230, -6761.08643, 23.69305, 0.85940, 180.37740, 0.00000);
- CreateObject(2653, -4445.86914, -6753.41406, 23.80085, 0.85940, 180.37740, 0.00000);
- CreateObject(1689, -4321.38330, -6768.18213, 27.28559, 0.00000, 0.00000, 270.00000);
- CreateObject(1689, -4240.94434, -6752.38184, 27.34057, 0.00000, 0.00000, 90.00000);
- CreateObject(8634, -4187.03516, -6750.02393, 15.71073, 0.00000, 0.00000, 90.00000);
- CreateObject(8634, -4186.92188, -6754.04980, 15.71073, 0.00000, 0.00000, 90.00000);
- CreateObject(1691, -4263.86523, -6744.30273, 29.40189, 0.00000, 0.00000, 90.00000);
- CreateObject(1691, -4266.68750, -6775.81982, 37.61740, 0.00000, 0.00000, 270.00000);
- CreateObject(1691, -4305.91064, -6774.97510, 29.55189, 0.00000, 0.00000, 270.00000);
- CreateObject(1687, -4293.97949, -6777.38965, 29.94197, 0.00000, 0.00000, 0.00000);
- CreateObject(1687, -4264.88428, -6779.98291, 38.00748, 0.00000, 0.00000, 0.00000);
- CreateObject(1688, -4257.48193, -6777.48535, 38.21887, 0.00000, 0.00000, 90.00000);
- CreateObject(1688, -4255.97656, -6742.70020, 30.10335, 0.00000, 0.00000, 0.00000);
- CreateObject(1688, -4321.21729, -6754.87354, 34.25338, 0.00000, 0.00000, 270.00000);
- CreateObject(1691, -4316.74121, -6742.13770, 37.49237, 0.00000, 0.00000, 270.00000);
- CreateObject(1635, -4308.28955, -6773.37305, 19.30634, 0.00000, 0.00000, 270.00000);
- CreateObject(1635, -4294.75244, -6739.20850, 20.14355, 0.00000, 0.00000, 90.00000);
- CreateObject(1635, -4262.67041, -6745.71191, 19.15359, 0.00000, 0.00000, 90.00000);
- CreateObject(1635, -4257.90576, -6773.60205, 19.58142, 0.00000, 0.00000, 270.00000);
- CreateObject(1635, -4428.65479, -6774.57324, 18.74358, 0.00000, 0.00000, 90.00000);
- CreateObject(1635, -4428.06250, -6763.51611, 19.16133, 0.00000, 0.00000, 90.00000);
- CreateObject(1635, -4429.53613, -6762.39551, 19.16009, 0.00000, 0.00000, 270.00000);
- CreateObject(1635, -4317.79053, -6753.19482, 19.27208, 0.00000, 0.00000, 180.00000);
- CreateObject(1635, -4175.82129, -6747.46436, 18.01155, 0.00000, 0.00000, 90.00000);
- CreateObject(1635, -4180.68066, -6787.93115, 13.69664, 0.00000, 0.00000, 270.00000);
- CreateObject(3675, -4172.13770, -6747.57568, 17.47819, 0.00000, 0.00000, 0.00000);
- CreateObject(3585, -4401.30908, -6766.52490, 16.76590, 0.00000, 0.00000, 0.00000);
- CreateObject(3585, -4391.58887, -6766.45996, 16.76590, 0.00000, 0.00000, 0.00000);
- CreateObject(3585, -4428.28223, -6770.48145, 16.77231, 0.00000, 0.00000, 0.00000);
- CreateObject(3585, -4337.13916, -6770.47705, 16.78671, 0.00000, 0.00000, 0.00000);
- CreateObject(3585, -4267.28809, -6754.54639, 16.72391, 0.00000, 0.00000, 0.00000);
- CreateObject(3585, -4189.32910, -6750.41309, 16.70190, 0.00000, 0.00000, 0.00000);
- CreateObject(3585, -4205.12354, -6750.53516, 16.70334, 0.00000, 0.00000, 0.00000);
- CreateObject(3564, -4222.08545, -6750.48486, 16.73457, 0.00000, 0.00000, 0.00000);
- CreateObject(3564, -4380.79346, -6770.44678, 16.76590, 0.00000, 0.00000, 0.00000);
- CreateObject(3564, -4276.90723, -6754.53711, 16.72391, 0.00000, 0.00000, 0.00000);
- CreateObject(3564, -4287.99023, -6750.42432, 16.72391, 0.00000, 0.00000, 0.00000);
- CreateObject(3564, -4290.05957, -6766.42920, 16.73035, 0.00000, 0.00000, 0.00000);
- CreateObject(3564, -4270.52148, -6770.51563, 16.73814, 0.00000, 0.00000, 0.00000);
- CreateObject(3564, -4301.37500, -6766.39893, 16.73035, 0.00000, 0.00000, 0.00000);
- CreateObject(3564, -4370.97070, -6770.30859, 16.76590, 0.00000, 0.00000, 0.00000);
- CreateObject(1231, -4281.35156, -6741.59277, 17.80304, 0.00000, 0.00000, 180.00000);
- CreateObject(1231, -4384.52148, -6761.41748, 19.30231, 0.00000, 0.00000, 270.00000);
- CreateObject(1231, -4453.99707, -6768.18164, 21.18954, 272.33749, 0.00000, 270.00000);
- CreateObject(1231, -4230.87793, -6752.52148, 25.22818, 179.62260, 0.00000, 270.00000);
- CreateObject(1231, -4279.19238, -6775.58447, 17.80304, 0.00000, 0.00000, 270.00000);
- CreateObject(1231, -4214.87012, -6752.42188, 25.22104, 179.62260, 0.00000, 270.00000);
- CreateObject(1231, -4197.54932, -6752.38818, 25.28519, 179.62260, 0.00000, 270.00000);
- CreateObject(1231, -4182.84668, -6752.55566, 24.30931, 179.62260, 0.00000, 270.00000);
- CreateObject(1231, -4332.72070, -6768.34326, 25.29604, 179.62260, 0.00000, 270.00000);
- CreateObject(1231, -4352.51367, -6768.40967, 25.29605, 179.62260, 0.00000, 270.00000);
- CreateObject(1431, -4279.39600, -6762.78223, 15.62621, 0.00000, 0.00000, 337.50000);
- CreateObject(1431, -4287.78662, -6752.27979, 15.64163, 0.00000, 0.00000, 0.00000);
- CreateObject(1431, -4319.39941, -6762.25488, 15.62621, 0.00000, 0.00000, 22.50000);
- CreateObject(1431, -4240.70508, -6760.68848, 15.62621, 0.00000, 0.00000, 326.25000);
- CreateObject(1431, -4244.72217, -6745.98486, 15.62621, 0.00000, 0.00000, 315.00000);
- CreateObject(1431, -4286.87451, -6780.14600, 15.62621, 0.00000, 0.00000, 326.25000);
- CreateObject(1431, -4311.67676, -6739.98682, 15.62621, 0.00000, 0.00000, 33.75000);
- CreateObject(1431, -4317.17236, -6746.50098, 15.62621, 0.00000, 0.00000, 33.75000);
- CreateObject(2567, -4363.23975, -6752.40674, 18.49952, 0.00000, 0.00000, 0.00000);
- CreateObject(2567, -4422.62207, -6754.63330, 18.49952, 0.00000, 0.00000, 0.00000);
- CreateObject(2567, -4427.58154, -6779.56787, 18.49952, 0.00000, 0.00000, 0.00000);
- CreateObject(2567, -4166.22656, -6782.56445, 12.89960, 0.00000, 0.00000, 270.00000);
- CreateObject(12821, -4186.66309, -6777.68604, 11.89011, 0.00000, 0.00000, 0.00000);
- CreateObject(12821, -4268.59375, -6739.98291, 16.07170, 0.00000, 0.00000, 180.00000);
- CreateObject(12821, -4273.85400, -6778.94775, 16.07170, 0.00000, 0.00000, 90.00000);
- CreateObject(12821, -4242.63037, -6771.75879, 16.07170, 0.00000, 0.00000, 90.00000);
- CreateObject(18260, -4181.26611, -6765.60693, 12.54519, 0.00000, 0.00000, 180.00000);
- CreateObject(12821, -4189.64355, -6775.61572, 11.96511, 0.00000, 0.00000, 180.00000);
- CreateObject(12821, -4165.57080, -6748.41602, 16.06512, 0.00000, 0.00000, 180.00000);
- CreateObject(12821, -4164.08057, -6757.38379, 16.06512, 0.00000, 0.00000, 180.00020);
- CreateObject(925, -4255.31250, -6746.17383, 16.14050, 0.00000, 0.00000, 0.00000);
- CreateObject(925, -4286.89600, -6775.19482, 16.14050, 0.00000, 0.00000, 270.00000);
- CreateObject(925, -4376.16113, -6752.24072, 17.63382, 0.00000, 0.00000, 0.00000);
- CreateObject(925, -4386.33545, -6752.39893, 17.63382, 0.00000, 0.00000, 0.00000);
- CreateObject(925, -4397.18018, -6752.34180, 17.63382, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, -4299.49463, -6757.78271, 15.09056, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, -4301.49756, -6756.08301, 15.07514, 0.00000, 0.00000, 348.75000);
- CreateObject(3798, -4251.73193, -6763.24121, 15.07514, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, -4272.12061, -6758.60010, 15.09700, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, -4299.53857, -6747.88232, 15.07514, 0.00000, 0.00000, 0.00000);
- CreateObject(3800, -4272.06885, -6758.66797, 17.09700, 0.00000, 0.00000, 337.50000);
- CreateObject(3800, -4253.45996, -6763.01514, 15.09700, 0.00000, 0.00000, 0.00000);
- CreateObject(3800, -4299.37549, -6757.62842, 17.09056, 0.00000, 0.00000, 348.75000);
- CreateObject(3800, -4297.76563, -6747.14453, 15.09056, 0.00000, 0.00000, 11.25000);
- CreateObject(3800, -4201.94824, -6757.08643, 15.07878, 0.00000, 0.00000, 0.00000);
- CreateObject(3800, -4280.68018, -6742.68115, 15.07514, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, -4282.78223, -6741.44531, 15.07514, 0.00000, 0.00000, 337.50000);
- CreateObject(3798, -4251.29492, -6772.93115, 15.07514, 0.00000, 0.00000, 0.00000);
- CreateObject(3800, -4251.34619, -6773.55566, 17.07514, 0.00000, 0.00000, 0.00000);
- CreateObject(1328, -4280.01074, -6741.68945, 15.59373, 0.00000, 0.00000, 0.00000);
- CreateObject(1328, -4253.56689, -6745.65967, 15.59373, 0.00000, 0.00000, 0.00000);
- CreateObject(1328, -4241.15479, -6766.95410, 15.59373, 0.00000, 0.00000, 0.00000);
- CreateObject(1328, -4279.73779, -6775.51855, 15.59373, 0.00000, 0.00000, 0.00000);
- CreateObject(1328, -4315.69580, -6746.21777, 15.59373, 0.00000, 0.00000, 0.00000);
- CreateObject(1328, -4366.52344, -6752.25928, 17.08705, 0.00000, 0.00000, 0.00000);
- CreateObject(1328, -4419.50684, -6753.95850, 17.08705, 0.00000, 0.00000, 0.00000);
- CreateObject(1328, -4185.00049, -6778.72168, 11.48714, 0.00000, 0.00000, 0.00000);
- CreateObject(1265, -4172.66504, -6747.52930, 15.54105, 0.00000, 0.00000, 0.00000);
- CreateObject(1265, -4173.10986, -6747.14941, 15.54105, 0.00000, 0.00000, 292.50000);
- CreateObject(1327, -4179.39648, -6757.64453, 15.95964, 0.00000, 0.00000, 270.00000);
- CreateObject(1437, -4306.28906, -6766.42139, 13.53770, 0.00000, 0.00000, 270.00000);
- CreateObject(1437, -4262.33740, -6754.51416, 13.58125, 0.00000, 0.00000, 90.00000);
- CreateObject(1437, -4287.72705, -6778.10352, 16.26583, 9.45380, 0.00000, 90.00000);
- CreateObject(1437, -4287.81348, -6778.13135, 22.49978, 9.45380, 0.00000, 90.00000);
- CreateObject(1437, -4287.86328, -6778.12842, 24.32191, 10.31320, 0.00000, 90.00000);
- CreateObject(1437, -4266.68018, -6743.87744, 16.34082, 10.31320, 0.00000, 90.00000);
- CreateObject(1437, -4266.64600, -6743.86230, 22.46049, 10.31320, 0.00000, 90.00000);
- CreateObject(1437, -4266.62109, -6743.86328, 24.81160, 10.31320, 0.00000, 90.00000);
- CreateObject(14411, -4449.85205, -6773.16895, 13.34421, 0.00000, 0.00000, 180.00000);
- CreateObject(14411, -4447.42676, -6773.15820, 13.34421, 0.00000, 0.00000, 180.00000);
- CreateObject(14411, -4450.24756, -6764.04688, 13.36921, 0.00000, 0.00000, 360.00000);
- CreateObject(14411, -4447.87207, -6764.05225, 13.36922, 0.00000, 0.00000, 360.00000);
- CreateObject(10175, -4294.89307, -6780.62451, 40.16521, 0.00000, 0.00000, 0.00000);
- CreateObject(10175, -4291.38428, -6738.93750, 39.49519, 0.00000, 0.00000, 180.00000);
- CreateObject(5706, -4379.58594, -6790.58447, 15.31370, 0.00000, 0.00000, 270.00000);
- CreateObject(5706, -4393.69580, -6790.60791, 15.26370, 0.00000, 0.00000, 270.00000);
- CreateObject(14411, -4405.29688, -6776.08887, 15.80697, 0.00000, 0.00000, 270.00000);
- CreateObject(14411, -4405.30957, -6779.80371, 15.80697, 0.00000, 0.00000, 270.00000);
- CreateObject(14411, -4364.54443, -6779.74316, 15.93197, 0.00000, 0.00000, 90.00000);
- CreateObject(14411, -4364.57959, -6776.12256, 15.90697, 0.00000, 0.00000, 90.00000);
- CreateObject(5706, -4360.90430, -6790.58594, 10.48872, 325.62250, 0.00000, 270.00000);
- CreateObject(5706, -4408.91797, -6790.68652, 10.40354, 325.62250, 0.00000, 90.00010);
- CreateObject(970, -4368.52930, -6774.13184, 19.68567, 0.00000, 0.00000, 0.00000);
- CreateObject(970, -4372.77100, -6774.16064, 19.68567, 0.00000, 0.00000, 0.00000);
- CreateObject(970, -4376.99414, -6774.16357, 19.68567, 0.00000, 0.00000, 0.00000);
- CreateObject(970, -4381.23779, -6774.19238, 19.68567, 0.00000, 0.00000, 0.00000);
- CreateObject(970, -4385.46338, -6774.13770, 19.68567, 0.00000, 0.00000, 0.00000);
- CreateObject(970, -4389.75146, -6774.14307, 19.63566, 0.00000, 0.00000, 0.00000);
- CreateObject(970, -4394.05518, -6774.15527, 19.63566, 0.00000, 0.00000, 0.00000);
- CreateObject(970, -4398.28564, -6774.14258, 19.63566, 0.00000, 0.00000, 0.00000);
- CreateObject(970, -4400.87891, -6774.14355, 19.63566, 0.00000, 0.00000, 0.00000);
- CreateObject(970, -4405.27051, -6774.20215, 18.35298, 0.85940, 325.62250, 0.00000);
- CreateObject(970, -4364.37598, -6774.17285, 18.33509, 0.85940, 325.62250, 180.00000);
- //==================================== Mapa 2 ==========================================================================
- //==================================== Mapa 3 ==========================================================================
- CreateObject(5107, 8131.84424, -7557.77441, 21.31974, 0.00000, 0.00000, 0.00000);
- CreateObject(13190, 8092.79590, -7557.67969, 17.86357, 0.00000, 0.00000, 180.00000);
- CreateObject(13190, 8092.77637, -7557.67041, 21.69334, 0.00000, 0.00000, 180.00000);
- CreateObject(13190, 8092.77148, -7557.67383, 25.57404, 0.00000, 0.00000, 180.00000);
- CreateObject(13190, 8092.75781, -7557.68311, 29.43032, 0.00000, 0.00000, 180.00000);
- CreateObject(16287, 8085.43555, -7564.92334, 11.59161, 0.00000, 0.00000, 180.00000);
- CreateObject(16287, 8090.56982, -7569.92725, 11.61662, 0.00000, 0.00000, 270.00000);
- CreateObject(16287, 8085.42822, -7550.02686, 11.59772, 0.00000, 0.00000, 180.00000);
- CreateObject(16287, 8095.47949, -7569.92676, 11.61662, 0.00000, 0.00000, 270.00000);
- CreateObject(16287, 8090.53174, -7544.91895, 11.61663, 0.00000, 0.00000, 90.00000);
- CreateObject(16287, 8095.47852, -7544.91504, 11.61662, 0.00000, 0.00000, 90.00000);
- CreateObject(16287, 8100.60156, -7549.99854, 11.61662, 0.00000, 0.00000, 360.00000);
- CreateObject(16287, 8100.60010, -7564.91455, 11.61662, 0.00000, 0.00000, 360.00000);
- CreateObject(8947, 8093.10303, -7560.52051, 18.51939, 0.00000, 0.00000, 180.00000);
- CreateObject(8947, 8093.11426, -7560.53613, 24.52295, 0.00000, 0.00000, 180.00000);
- CreateObject(8947, 8093.10352, -7560.52686, 26.99291, 0.00000, 0.00000, 180.00000);
- CreateObject(8947, 8097.21094, -7561.63770, 12.04439, 0.00000, 0.00000, 180.00000);
- CreateObject(8947, 8097.22314, -7553.22217, 12.01940, 0.00000, 0.00000, 180.00000);
- CreateObject(8947, 8088.83398, -7561.64404, 12.05525, 0.00000, 0.00000, 0.00000);
- CreateObject(8947, 8088.81201, -7553.23730, 12.04439, 0.00000, 0.00000, 360.00000);
- CreateObject(4193, 8111.32910, -7498.31055, 31.44644, 0.00000, 0.00000, 270.00000);
- CreateObject(10041, 8032.82227, -7497.01855, 45.16753, 0.00000, 0.00000, 270.00000);
- CreateObject(4058, 8047.18066, -7595.05029, 33.55188, 0.00000, 0.00000, 270.00000);
- CreateObject(4058, 8108.80957, -7613.34033, 25.23701, 0.00000, 0.00000, 0.00000);
- CreateObject(4682, 8096.74316, -7600.93604, 18.03067, 0.00000, 0.00000, 90.00000);
- CreateObject(4682, 8186.39941, -7550.15967, 22.69571, 0.00000, 0.00000, 90.00030);
- CreateObject(4113, 8187.83398, -7481.91797, 36.29269, 0.00000, 0.00000, 101.25000);
- CreateObject(4570, 7992.76074, -7555.49707, 49.23763, 0.00000, 0.00000, 270.00000);
- CreateObject(4570, 8153.17090, -7617.53174, 48.53752, 0.00000, 0.00000, 0.00000);
- CreateObject(4571, 8236.04785, -7480.54053, 51.21596, 0.00000, 0.00000, 90.00000);
- CreateObject(3268, 8155.90918, -7553.35352, 14.36662, 0.00000, 0.00000, 270.00000);
- CreateObject(3268, 8155.92822, -7575.60303, 14.36662, 0.00000, 0.00000, 270.00000);
- CreateObject(3268, 8155.93018, -7573.09180, 18.19459, 0.00000, 0.00000, 270.00000);
- CreateObject(3268, 8155.92139, -7553.29834, 18.19116, 0.00000, 0.00000, 270.00000);
- CreateObject(4570, 8102.35938, -7624.73633, 57.35464, 0.00000, 0.00000, 0.00000);
- CreateObject(4682, 8177.00586, -7497.80664, 30.86975, 0.00000, 0.00000, 270.00031);
- CreateObject(9910, 8157.54199, -7589.48975, 25.39473, 0.00000, 0.00000, 225.00000);
- CreateObject(9910, 8124.82959, -7589.49951, 25.33860, 0.00000, 0.00000, 225.00000);
- CreateObject(9910, 8170.17480, -7575.63916, 22.18861, 0.00000, 0.00000, 315.00000);
- CreateObject(9910, 8182.58154, -7519.66357, 27.21359, 0.00000, 0.00000, 135.00000);
- CreateObject(9910, 8188.66504, -7538.39795, 47.74644, 0.00000, 0.00000, 135.00000);
- CreateObject(9910, 8094.52393, -7495.31982, 25.78859, 0.00000, 0.00000, 45.00000);
- CreateObject(9917, 8215.37402, -7585.08643, 34.32093, 0.00000, 0.00000, 0.00000);
- CreateObject(9917, 8081.14697, -7440.34424, 30.99039, 0.00000, 0.00000, 90.00000);
- CreateObject(18450, 8134.48389, -7523.63770, 19.93480, 0.00000, 0.00000, 180.00000);
- CreateObject(18450, 8060.39258, -7523.63232, -0.59019, 0.00000, 30.93970, 180.00000);
- CreateObject(8229, 8096.59375, -7534.57568, 16.94285, 0.00000, 0.00000, 180.00000);
- CreateObject(8229, 8108.25488, -7534.63477, 16.84285, 0.00000, 0.00000, 180.00000);
- CreateObject(8229, 8120.01416, -7534.65332, 16.86785, 0.00000, 0.00000, 180.00000);
- CreateObject(8229, 8172.48779, -7529.99268, 16.91785, 0.00000, 0.00000, 213.75000);
- CreateObject(3268, 8155.93701, -7553.31885, 15.28433, 0.00000, 0.00000, 270.00000);
- CreateObject(3268, 8155.91846, -7553.30127, 16.15442, 0.00000, 0.00000, 270.00000);
- CreateObject(3268, 8155.92578, -7553.29443, 17.02787, 0.00000, 0.00000, 270.00000);
- CreateObject(3268, 8155.92236, -7553.31152, 17.61886, 0.00000, 0.00000, 270.00000);
- CreateObject(975, 8167.36377, -7533.67383, 16.04131, 0.00000, 0.00000, 33.75000);
- CreateObject(975, 8155.01758, -7531.88770, 16.04131, 0.00000, 0.00000, 0.00000);
- CreateObject(975, 8146.13232, -7531.81982, 16.04131, 0.00000, 0.00000, 0.00000);
- CreateObject(975, 8141.76953, -7527.35010, 16.04131, 0.00000, 0.00000, 270.00000);
- CreateObject(8886, 8137.57275, -7544.12207, 17.79440, 0.00000, 0.00000, 270.00000);
- CreateObject(8886, 8137.58887, -7544.11523, 21.22811, 0.00000, 0.00000, 270.00000);
- CreateObject(8886, 8137.59082, -7543.86084, 21.21184, 179.62260, 0.00000, 90.00000);
- CreateObject(8886, 8112.26953, -7542.10889, 14.34441, 0.00000, 0.00000, 270.00000);
- CreateObject(8886, 8079.29980, -7586.33008, 14.34440, 0.00000, 0.00000, 90.00000);
- CreateObject(10773, 8105.36377, -7594.32227, 14.02387, 0.00000, 0.00000, 90.00000);
- CreateObject(8886, 8137.96680, -7520.91797, 14.34440, 0.00000, 0.00000, 270.00000);
- CreateObject(8886, 8158.07275, -7519.39404, 14.24440, 0.00000, 0.00000, 0.00000);
- CreateObject(8886, 8144.48389, -7548.29395, 17.79440, 0.00000, 0.00000, 270.00000);
- CreateObject(8886, 8166.40674, -7548.23535, 17.56940, 0.00000, 0.00000, 90.00000);
- CreateObject(8886, 8166.39990, -7553.76074, 17.59440, 0.00000, 0.00000, 90.00000);
- CreateObject(3268, 8155.93018, -7566.93262, 14.36662, 0.00000, 0.00000, 270.00000);
- CreateObject(8886, 8154.67920, -7556.83936, 14.26940, 0.00000, 0.00000, 90.00010);
- CreateObject(8886, 8155.95557, -7574.64160, 14.19440, 0.00000, 0.00000, 0.00000);
- CreateObject(8886, 8169.37842, -7570.28857, 14.19440, 0.00000, 0.00000, 90.00010);
- CreateObject(8886, 8142.33887, -7570.32471, 14.06940, 0.00000, 0.00000, 90.00010);
- CreateObject(8886, 8145.82861, -7581.98047, 17.54440, 0.00000, 0.00000, 0.00000);
- CreateObject(3268, 8155.93213, -7575.58691, 18.18340, 0.00000, 0.00000, 270.00000);
- CreateObject(8886, 8152.46289, -7582.12988, 14.21941, 0.00000, 0.00000, 0.00000);
- CreateObject(18260, 8154.32324, -7568.63037, 15.81481, 0.00000, 0.00000, 348.75000);
- CreateObject(18260, 8162.89551, -7581.72803, 15.81481, 0.00000, 0.00000, 180.00000);
- CreateObject(18260, 8157.46289, -7550.15869, 15.86481, 0.00000, 0.00000, 270.00000);
- CreateObject(5428, 8114.52100, -7494.75879, 15.39824, 359.14059, 0.00000, 180.00011);
- CreateObject(8229, 8131.81934, -7534.68506, 17.06784, 0.00000, 0.00000, 180.00000);
- CreateObject(8229, 8143.81348, -7523.75293, 17.01785, 0.00000, 0.00000, 270.00000);
- CreateObject(5107, 7986.95850, -7524.04150, 21.34902, 0.00000, 0.00000, 180.00000);
- CreateObject(1492, 8169.92188, -7585.58643, 14.35846, 0.00000, 0.00000, 180.00000);
- CreateObject(1497, 8142.04199, -7585.52441, 14.35465, 0.00000, 0.00000, 0.00000);
- CreateObject(1497, 8142.01172, -7563.33643, 14.35465, 0.00000, 0.00000, 0.00000);
- CreateObject(18260, 8146.63477, -7567.67969, 15.93981, 0.00000, 0.00000, 270.00000);
- CreateObject(1497, 8142.00781, -7576.94775, 14.35465, 0.00000, 0.00000, 0.00000);
- CreateObject(1437, 8135.71875, -7548.68555, 15.62885, 10.31320, 0.00000, 0.00000);
- CreateObject(1437, 8135.71680, -7548.73438, 20.07629, 10.31320, 0.00000, 0.00000);
- CreateObject(1437, 8145.01514, -7585.66992, 15.62885, 9.45380, 0.00000, 0.00000);
- CreateObject(1437, 8145.00586, -7585.61572, 20.79356, 9.45380, 0.00000, 0.00000);
- CreateObject(1437, 8172.58594, -7531.13623, 22.07913, 10.31320, 0.00000, 0.00000);
- CreateObject(1437, 8172.57861, -7531.14551, 28.25908, 10.31320, 0.00000, 0.00000);
- CreateObject(1437, 8172.46777, -7531.09863, 34.39047, 10.31320, 0.00000, 0.00000);
- CreateObject(1437, 8082.02832, -7568.90479, 16.55498, 10.31320, 0.00000, 270.00000);
- CreateObject(1437, 8081.99414, -7568.90918, 22.58348, 10.31320, 0.00000, 270.00000);
- CreateObject(1437, 8082.00537, -7568.91406, 25.83324, 10.31320, 0.00000, 270.00000);
- CreateObject(1437, 8077.97754, -7593.53369, 15.62885, 10.31320, 0.00000, 180.00000);
- CreateObject(1437, 8077.99121, -7593.52295, 21.74604, 10.31320, 0.00000, 180.00000);
- CreateObject(1437, 8077.99316, -7593.50000, 27.75269, 10.31320, 0.00000, 180.00000);
- CreateObject(1437, 8077.99023, -7593.45850, 32.17966, 10.31320, 0.00000, 180.00000);
- CreateObject(1635, 8071.80859, -7593.08936, 19.40563, 0.00000, 0.00000, 270.00000);
- CreateObject(1635, 8072.61182, -7519.09668, 18.12557, 0.00000, 0.00000, 90.00000);
- CreateObject(1635, 8067.36768, -7546.94043, 22.60154, 0.00000, 0.00000, 180.00000);
- CreateObject(1635, 8125.54248, -7590.24365, 18.56382, 0.00000, 0.00000, 270.00000);
- CreateObject(1635, 8150.25586, -7590.18408, 18.38124, 0.00000, 0.00000, 270.00000);
- CreateObject(1635, 8170.53369, -7536.85400, 20.93207, 0.00000, 0.00000, 0.00000);
- CreateObject(1635, 8173.98975, -7524.76025, 24.34968, 0.00000, 0.00000, 0.00000);
- CreateObject(1687, 8087.87109, -7585.62891, 38.60769, 0.00000, 0.00000, 0.00000);
- CreateObject(1687, 8096.48926, -7589.43408, 38.60769, 0.00000, 0.00000, 0.00000);
- CreateObject(1688, 8103.01904, -7585.02002, 38.81908, 0.00000, 0.00000, 90.00010);
- CreateObject(1688, 8114.15967, -7596.80127, 56.66604, 0.00000, 0.00000, 90.00010);
- CreateObject(1689, 8104.87305, -7589.12842, 39.00718, 0.00000, 0.00000, 0.00000);
- CreateObject(1689, 8095.14209, -7598.22705, 56.85414, 0.00000, 0.00000, 0.00000);
- CreateObject(1687, 8083.17236, -7596.31250, 56.45465, 0.00000, 0.00000, 270.00000);
- CreateObject(1687, 8132.16406, -7592.25244, 39.11093, 0.00000, 0.00000, 0.00000);
- CreateObject(1687, 8145.69727, -7592.23193, 39.16706, 0.00000, 0.00000, 0.00000);
- CreateObject(1687, 8173.56494, -7579.02344, 35.96095, 0.00000, 0.00000, 270.00000);
- CreateObject(1688, 8174.22949, -7588.15430, 36.17234, 0.00000, 0.00000, 0.00000);
- CreateObject(1687, 8161.72461, -7562.52148, 26.92328, 0.00000, 0.00000, 270.00000);
- CreateObject(1688, 8162.31934, -7571.24707, 26.91760, 0.00000, 0.00000, 0.00000);
- CreateObject(1688, 8177.56982, -7527.30762, 41.19732, 0.00000, 0.00000, 0.00000);
- CreateObject(1688, 8177.08105, -7516.06982, 41.19732, 0.00000, 0.00000, 90.00000);
- CreateObject(1687, 8175.26465, -7535.66211, 43.27273, 0.00000, 0.00000, 0.00000);
- CreateObject(1687, 8174.27246, -7557.85156, 43.27273, 0.00000, 0.00000, 90.00000);
- CreateObject(1689, 8175.43945, -7544.75244, 43.67221, 0.00000, 0.00000, 90.00000);
- CreateObject(1689, 8093.44141, -7492.05273, 39.96041, 0.00000, 0.00000, 0.00000);
- CreateObject(1687, 8085.01563, -7491.08838, 39.56092, 0.00000, 0.00000, 0.00000);
- CreateObject(1687, 8070.73291, -7596.64941, 33.83205, 0.00000, 0.00000, 0.00000);
- CreateObject(1688, 8078.04004, -7492.18604, 19.20200, 0.00000, 0.00000, 180.00000);
- CreateObject(1635, 8089.43848, -7494.62842, 22.50600, 0.00000, 0.00000, 90.00000);
- CreateObject(1635, 8091.17627, -7541.89551, 20.57246, 0.00000, 0.00000, 270.00000);
- CreateObject(1687, 8090.37109, -7552.17627, 33.17936, 0.00000, 0.00000, 270.00000);
- CreateObject(8661, 8087.17920, -7514.84473, 18.07185, 270.61859, 0.00000, 0.00000);
- CreateObject(8661, 8129.15234, -7515.66211, 20.90702, 270.61859, 0.00000, 0.00000);
- CreateObject(8661, 8157.16064, -7515.38672, 20.07667, 270.61859, 0.00000, 0.00000);
- CreateObject(9910, 8170.84912, -7495.96387, 14.76549, 0.00000, 0.00000, 225.00000);
- CreateObject(9910, 8137.54297, -7500.13428, 17.75253, 0.00000, 0.00000, 225.00000);
- CreateObject(7921, 8085.90479, -7533.29688, 13.26363, 0.00000, 0.00000, 180.00000);
- CreateObject(4682, 8147.48584, -7497.79102, 30.86975, 0.00000, 0.00000, 270.00031);
- //==================================== Mapa 3 ==========================================================================
- //==================================== Mapa 4 ==========================================================================
- CreateObject(3989, 9438.45996, -8816.64648, 24.80065, 0.00000, 0.00000, 0.00000);
- CreateObject(3456, 9465.19238, -8783.72559, 29.60335, 0.00000, 0.00000, 180.00000);
- CreateObject(3598, 9415.05176, -8776.36523, 33.94606, 0.00000, 0.00000, 270.00000);
- CreateObject(3598, 9415.04883, -8802.41016, 33.96069, 0.00000, 0.00000, 270.00000);
- CreateObject(3598, 9465.55371, -8801.66504, 34.21704, 0.00000, 0.00000, 180.00000);
- CreateObject(3598, 9465.56641, -8783.10352, 34.21698, 0.00000, 0.00000, 180.00000);
- CreateObject(3598, 9465.58594, -8774.53906, 34.21894, 0.00000, 0.00000, 180.00000);
- CreateObject(3598, 9465.58496, -8765.65527, 34.21707, 0.00000, 0.00000, 180.00000);
- CreateObject(3598, 9465.54785, -8792.35449, 34.21894, 0.00000, 0.00000, 180.00000);
- CreateObject(3598, 9445.16309, -8838.00195, 33.95581, 0.00000, 0.00000, 270.00000);
- CreateObject(3598, 9455.79883, -8801.69434, 34.20477, 0.00000, 0.00000, 180.00000);
- CreateObject(3598, 9438.55957, -8737.73438, 33.99751, 0.00000, 0.00000, 0.00000);
- CreateObject(3614, 9418.50977, -8737.77441, 26.07342, 0.00000, 0.00000, 90.00000);
- CreateObject(3598, 9455.79785, -8792.39551, 34.19733, 0.00000, 0.00000, 180.00000);
- CreateObject(3598, 9455.80762, -8783.11914, 34.20576, 0.00000, 0.00000, 180.00000);
- CreateObject(3403, 9447.21875, -8766.63184, 31.06693, 0.00000, 0.00000, 90.00010);
- CreateObject(3403, 9447.24219, -8778.59180, 31.01704, 0.00000, 0.00000, 90.00010);
- CreateObject(3403, 9454.68457, -8767.40918, 31.31569, 0.00000, 0.00000, 90.00010);
- CreateObject(3403, 9453.50195, -8775.18164, 31.39012, 0.00000, 0.00000, 270.00000);
- CreateObject(3614, 9412.30957, -8753.79395, 26.14075, 0.00000, 0.00000, 180.00000);
- CreateObject(3598, 9464.00781, -8746.60547, 36.12755, 0.00000, 0.00000, 180.00011);
- CreateObject(3456, 9444.23535, -8729.59766, 29.90086, 0.00000, 0.00000, 270.00000);
- CreateObject(16370, 9416.73633, -8771.79785, 30.50967, 0.00000, 0.00000, 180.00000);
- CreateObject(16370, 9416.77832, -8795.70996, 30.46035, 0.00000, 0.00000, 180.00000);
- CreateObject(14578, 9423.68359, -8784.70313, 29.51563, 180.37740, 0.00000, 0.00000);
- CreateObject(14578, 9423.66699, -8796.02930, 29.48611, 180.37740, 0.00000, 0.00000);
- CreateObject(14578, 9423.61230, -8766.94043, 29.74478, 180.37740, 0.00000, 0.00000);
- CreateObject(12913, 9423.54395, -8773.52637, 31.03963, 0.00000, 0.00000, 0.00000);
- CreateObject(12913, 9423.48535, -8791.11426, 30.95719, 0.00000, 0.00000, 90.00000);
- CreateObject(3273, 9421.32813, -8783.67578, 29.14761, 0.00000, 0.00000, 0.00000);
- CreateObject(3273, 9421.56543, -8767.80469, 29.18547, 0.00000, 0.00000, 0.00000);
- CreateObject(3675, 9420.94238, -8799.24902, 30.38809, 0.00000, 0.00000, 90.00000);
- CreateObject(3675, 9420.73730, -8760.26270, 30.58145, 0.00000, 0.00000, 90.00000);
- CreateObject(934, 9424.11914, -8759.36719, 30.69835, 0.00000, 0.00000, 0.00000);
- CreateObject(3598, 9423.14355, -8817.99316, 33.94450, 0.00000, 0.00000, 270.00000);
- CreateObject(3598, 9464.05078, -8746.79297, 36.14084, 0.00000, 0.00000, 0.00010);
- CreateObject(13603, 9411.47656, -8730.48730, 21.09163, 0.00000, 0.00000, 0.00000);
- CreateObject(3989, 9470.92578, -8696.32422, 24.81559, 0.00000, 0.00000, 180.00000);
- CreateObject(3598, 9424.95410, -8732.13770, 34.01519, 0.00000, 0.00000, 270.00049);
- CreateObject(18368, 9445.30566, -8730.26758, 28.18206, 0.00000, 0.00000, 171.32840);
- CreateObject(3614, 9455.04492, -8744.97363, 28.23836, 0.00000, 0.00000, 270.00000);
- CreateObject(18368, 9448.97070, -8730.27539, 28.17719, 0.00000, 0.00000, 171.32840);
- CreateObject(18368, 9452.54297, -8730.26563, 28.17720, 0.00000, 0.00000, 171.32840);
- CreateObject(1491, 9450.89551, -8748.37500, 32.61204, 0.00000, 0.00000, 270.00000);
- CreateObject(3799, 9449.44336, -8751.75391, 29.15052, 0.00000, 0.00000, 0.00000);
- CreateObject(3799, 9446.57617, -8751.76758, 29.15052, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9443.92578, -8752.23926, 29.26526, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9448.42188, -8752.12695, 31.49686, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9444.43359, -8745.30078, 29.26526, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9444.49902, -8767.12793, 29.27566, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9447.50195, -8762.30664, 29.25185, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9451.07715, -8762.02734, 29.25031, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9448.70605, -8770.95801, 29.29114, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9447.09668, -8770.98633, 29.29526, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9447.10938, -8777.20898, 29.31449, 0.00000, 0.00000, 33.75000);
- CreateObject(3798, 9444.75391, -8777.29395, 29.31448, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9428.85156, -8772.55273, 29.38276, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9441.72656, -8795.54688, 29.31941, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9441.43750, -8797.80664, 29.31467, 0.00000, 0.00000, 337.50000);
- CreateObject(3798, 9441.55371, -8796.67383, 31.31941, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9428.90625, -8804.98438, 29.32112, 0.00000, 0.00000, 0.00000);
- CreateObject(1231, 9428.47266, -8768.86328, 32.11994, 0.00000, 0.00000, 0.00000);
- CreateObject(1231, 9428.65332, -8802.54492, 32.07828, 0.00000, 0.00000, 0.00000);
- CreateObject(1231, 9441.54199, -8794.05762, 32.07037, 0.00000, 0.00000, 0.00000);
- CreateObject(1231, 9441.27051, -8744.29980, 31.99911, 0.00000, 0.00000, 0.00000);
- CreateObject(3598, 9479.63672, -8746.76953, 36.13747, 0.00000, 0.00000, 0.00010);
- CreateObject(3598, 9496.50977, -8763.63672, 34.91557, 0.00000, 0.00000, 270.00009);
- CreateObject(3989, 9482.13281, -8716.31543, 24.73775, 0.00000, 0.00000, 180.00011);
- CreateObject(3598, 9439.61328, -8821.15723, 33.95964, 0.00000, 0.00000, 0.00000);
- CreateObject(3598, 9479.64355, -8821.09277, 33.96995, 0.00000, 0.00000, 0.00000);
- CreateObject(3989, 9487.94531, -8949.85840, 5.63650, 0.00000, 0.00000, 90.00000);
- CreateObject(3598, 9496.52246, -8807.83398, 33.96339, 0.00000, 0.00000, 270.00021);
- CreateObject(3989, 9550.37891, -8757.68457, 16.83349, 352.26511, 0.00000, 270.00000);
- CreateObject(3598, 9505.44434, -8795.73926, 31.81323, 0.00000, 0.00000, 0.00010);
- CreateObject(3989, 9480.62012, -8757.48145, 21.17091, 0.00000, 0.00000, 270.00000);
- CreateObject(3598, 9505.19922, -8772.34277, 32.50722, 0.00000, 0.00000, 0.00030);
- CreateObject(3598, 9533.79980, -8801.84863, 30.07809, 0.00000, 0.00000, 0.00060);
- CreateObject(13603, 9505.34082, -8816.74219, 17.29359, 0.00000, 0.00000, 180.00031);
- CreateObject(3598, 9544.15234, -8794.99121, 29.79592, 0.00000, 0.00000, 0.00060);
- CreateObject(3989, 9599.41895, -8757.36816, 13.15890, 352.26511, 0.00000, 270.00000);
- CreateObject(3989, 9598.65039, -8723.71289, 13.35515, 352.26511, 0.00000, 270.00000);
- CreateObject(3598, 9513.48730, -8754.81250, 32.36574, 0.00000, 0.00000, 270.00031);
- CreateObject(3598, 9513.50293, -8732.42090, 32.34279, 0.00000, 0.00000, 270.00031);
- CreateObject(3598, 9530.39063, -8737.15723, 32.34592, 0.00000, 0.00000, 0.00030);
- CreateObject(3598, 9532.31348, -8764.03711, 31.52094, 0.00000, 0.00000, 270.00031);
- CreateObject(3598, 9541.57227, -8764.04395, 30.24638, 0.00000, 0.00000, 270.00031);
- CreateObject(3614, 9511.00293, -8799.37891, 21.98295, 0.00000, 0.00000, 270.00000);
- CreateObject(3989, 9471.54102, -8867.62207, 24.76160, 0.00000, 0.00000, 90.00050);
- CreateObject(3598, 9550.90039, -8764.04395, 29.07736, 0.00000, 0.00000, 270.00031);
- CreateObject(3598, 9566.88379, -8737.05371, 28.46697, 0.00000, 0.00000, 0.00030);
- CreateObject(3614, 9549.23730, -8730.84863, 23.07867, 0.00000, 0.00000, 90.00030);
- CreateObject(3989, 9533.77539, -8759.24512, 19.34886, 0.00000, 0.00000, 0.00000);
- CreateObject(3989, 9458.65039, -8823.80859, 24.73903, 0.00000, 0.00000, 0.00010);
- CreateObject(3598, 9448.37988, -8854.82910, 33.97267, 0.00000, 0.00000, 0.00000);
- CreateObject(3598, 9473.59375, -8830.07617, 33.98404, 0.00000, 0.00000, 0.00000);
- CreateObject(3598, 9495.98633, -8830.06055, 33.99430, 0.00000, 0.00000, 0.00000);
- CreateObject(3598, 9474.40527, -8861.94922, 33.97556, 0.00000, 0.00000, 360.00000);
- CreateObject(3598, 9500.37305, -8861.95117, 33.98005, 0.00000, 0.00000, 360.00000);
- CreateObject(3598, 9526.40234, -8854.85449, 33.98866, 0.00000, 0.00000, 360.00000);
- CreateObject(3598, 9571.52930, -8764.08008, 28.47390, 0.00000, 0.00000, 270.00031);
- CreateObject(3598, 9579.97949, -8794.94141, 28.45054, 0.00000, 0.00000, 0.00010);
- CreateObject(3598, 9571.55273, -8770.22852, 28.44863, 0.00000, 0.00000, 270.00031);
- CreateObject(3614, 9579.81836, -8789.15527, 28.00069, 0.00000, 0.00000, 0.00010);
- CreateObject(3598, 9569.04297, -8812.84180, 28.47390, 0.00000, 0.00000, 64.06240);
- CreateObject(3598, 9547.58887, -8804.64160, 29.82313, 0.00000, 0.00000, 60.62480);
- CreateObject(3598, 9535.71387, -8821.30371, 31.42675, 0.00000, 0.00000, 45.07780);
- CreateObject(3598, 9526.29785, -8821.56445, 33.86163, 0.00000, 0.00000, 270.00000);
- CreateObject(3989, 9556.16016, -8862.52246, 20.26896, 0.00000, 0.00000, 160.07870);
- CreateObject(3989, 9546.16992, -8871.39551, 21.03810, 0.00000, 0.00000, 150.62531);
- CreateObject(3989, 9529.62598, -8878.92188, 21.95667, 0.00000, 0.00000, 138.59370);
- CreateObject(3989, 9517.02539, -8884.72754, 22.98136, 0.00000, 0.00000, 129.99969);
- CreateObject(3989, 9500.58594, -8882.16113, 23.93496, 0.00000, 0.00000, 120.54630);
- CreateObject(3598, 9555.37793, -8834.63086, 30.85448, 0.00000, 0.00000, 51.09360);
- CreateObject(3598, 9535.21387, -8850.97070, 35.40450, 0.00000, 0.00000, 26.87470);
- CreateObject(8661, 9576.99414, -8786.02539, 22.00011, 349.68680, 0.00000, 270.00000);
- CreateObject(8661, 9583.23340, -8771.32617, 22.04098, 0.00000, 0.00000, 90.00000);
- CreateObject(8661, 9583.22266, -8743.44434, 22.03909, 0.00000, 0.00000, 90.00000);
- CreateObject(8661, 9577.03027, -8731.46191, 22.03721, 349.68680, 0.00000, 270.00000);
- CreateObject(3614, 9585.22461, -8784.00391, 28.01060, 0.00000, 0.00000, 90.00010);
- CreateObject(3614, 9585.78125, -8776.42676, 28.01060, 0.00000, 0.00000, 90.00010);
- CreateObject(3614, 9584.86719, -8769.55371, 28.01061, 0.00000, 0.00000, 90.00010);
- CreateObject(3614, 9585.97363, -8762.23926, 28.01061, 0.00000, 0.00000, 90.00010);
- CreateObject(3614, 9585.80664, -8754.70313, 28.01062, 0.00000, 0.00000, 90.00010);
- CreateObject(3614, 9574.31445, -8748.70996, 28.79208, 0.00000, 0.00000, 0.00020);
- CreateObject(3614, 9584.62109, -8747.47070, 28.00872, 0.00000, 0.00000, 90.00010);
- CreateObject(3614, 9584.63379, -8740.02051, 28.00872, 0.00000, 0.00000, 90.00010);
- CreateObject(3598, 9588.60840, -8746.48242, 29.08600, 0.00000, 0.00000, 90.00010);
- CreateObject(3598, 9580.23535, -8728.59668, 29.08600, 0.00000, 0.00000, 90.00000);
- CreateObject(3598, 9590.72266, -8770.73828, 29.08788, 0.00000, 0.00000, 90.00010);
- CreateObject(3598, 9587.74805, -8784.79395, 29.08788, 0.00000, 0.00000, 90.00010);
- CreateObject(1437, 9566.31250, -8788.91602, 25.01421, 4.29720, 0.00000, 270.00000);
- CreateObject(1437, 9566.49316, -8788.90625, 26.86919, 4.29720, 0.00000, 270.00000);
- CreateObject(16370, 9497.50781, -8860.86328, 30.49004, 0.00000, 0.00000, 90.00000);
- CreateObject(16370, 9473.98438, -8859.96094, 30.52524, 0.00000, 0.00000, 90.00000);
- CreateObject(12913, 9481.41992, -8853.33594, 31.84204, 0.00000, 0.00000, 0.00000);
- CreateObject(12913, 9504.53906, -8853.33496, 31.81926, 0.00000, 0.00000, 90.00000);
- CreateObject(3273, 9468.28223, -8854.38379, 29.24844, 0.00000, 0.00000, 0.00000);
- CreateObject(3273, 9492.92480, -8853.06641, 29.21473, 0.00000, 0.00000, 0.00000);
- CreateObject(3675, 9474.32520, -8856.06250, 30.48196, 0.00000, 0.00000, 180.00000);
- CreateObject(14578, 9473.54297, -8852.62988, 29.37591, 179.62260, 0.00000, 90.00010);
- CreateObject(14578, 9496.96973, -8853.44043, 29.47272, 179.62260, 0.00000, 90.00010);
- CreateObject(8661, 9516.00098, -8814.26758, 26.51285, 0.00000, 7.73490, 90.00000);
- CreateObject(3598, 9504.66797, -8821.22070, 32.68016, 0.00000, 0.00000, 90.00000);
- CreateObject(3598, 9519.12988, -8815.02930, 29.15276, 0.00000, 0.00000, 0.00000);
- CreateObject(4199, 9523.31738, -8818.84961, 27.20304, 0.00000, 0.00000, 0.00000);
- CreateObject(4199, 9492.39453, -8834.54492, 27.97721, 0.00000, 0.00000, 90.00000);
- CreateObject(4199, 9477.77832, -8834.53418, 27.97138, 0.00000, 0.00000, 90.00000);
- CreateObject(11472, 9540.92676, -8739.06738, 24.16025, 0.00000, 0.00000, 270.00000);
- CreateObject(8614, 9547.69238, -8739.21289, 26.10196, 0.00000, 0.00000, 0.00000);
- CreateObject(3799, 9490.33398, -8753.21191, 29.32240, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9490.24023, -8753.40918, 31.66874, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9487.73438, -8752.53027, 29.43714, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9490.82715, -8755.71094, 29.43714, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9480.01563, -8773.98340, 29.18936, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9429.20801, -8815.28613, 29.28200, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9428.78809, -8815.32324, 31.28200, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9431.29883, -8815.35254, 29.27332, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9428.90039, -8813.23633, 29.26054, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9465.41699, -8824.19141, 29.24605, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9465.33008, -8821.78418, 29.24609, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9463.23242, -8824.14551, 29.24712, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9465.33398, -8823.88086, 31.24605, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9477.48438, -8807.69824, 29.18841, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9519.64941, -8790.26855, 25.62058, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9519.37500, -8776.00586, 25.65412, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9568.84766, -8789.14746, 23.20402, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9568.87305, -8789.15039, 25.20402, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9571.60547, -8788.77539, 22.97727, 0.00000, 0.00000, 22.50000);
- CreateObject(3798, 9581.79004, -8789.13477, 22.03752, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9577.28418, -8775.64063, 22.03752, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9584.69727, -8761.20898, 22.03752, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9584.85254, -8770.68066, 22.03752, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9582.83594, -8743.08887, 22.03564, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9582.88379, -8742.93848, 24.03564, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9580.72852, -8743.07129, 22.03564, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9568.87305, -8749.91309, 23.26810, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9572.37500, -8749.58496, 22.70589, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9565.42090, -8742.72656, 23.79197, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9544.67383, -8741.20215, 25.17140, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9530.66602, -8749.86914, 25.72948, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9530.81543, -8749.90137, 27.72948, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9528.58594, -8749.83887, 25.73574, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9519.43262, -8743.28906, 25.78577, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9519.38672, -8743.32617, 27.78577, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9519.24707, -8745.24512, 25.77613, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9521.42676, -8743.09473, 25.78577, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9526.77734, -8764.03809, 25.66236, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9540.23730, -8789.47852, 25.62058, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9556.57031, -8768.70703, 23.79629, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9556.50098, -8770.81348, 23.79633, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9556.49902, -8769.70508, 25.78414, 0.00000, 0.00000, 11.25000);
- CreateObject(3799, 9567.40430, -8801.10254, 23.58754, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9567.22754, -8803.79004, 24.70711, 0.00000, 0.00000, 337.50000);
- CreateObject(3798, 9568.42480, -8800.78516, 25.93388, 0.00000, 0.00000, 22.50000);
- CreateObject(3798, 9556.83691, -8800.85840, 24.71863, 0.00000, 0.00000, 0.00000);
- CreateObject(3799, 9539.98242, -8778.58105, 25.50584, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9571.23730, -8784.57324, 30.37038, 0.00000, 0.00000, 0.00000);
- CreateObject(3799, 9558.67480, -8819.05957, 25.35559, 0.00000, 0.00000, 326.25000);
- CreateObject(3799, 9541.13281, -8824.84570, 27.31629, 0.00000, 0.00000, 315.00000);
- CreateObject(3799, 9537.32617, -8843.07422, 28.25241, 0.00000, 0.00000, 292.50000);
- CreateObject(3798, 9558.80566, -8819.31641, 27.70193, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9560.76367, -8816.51465, 25.47555, 0.00000, 0.00000, 326.25000);
- CreateObject(3798, 9540.52930, -8827.87793, 27.43103, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9534.63281, -8843.40137, 28.36442, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9537.66113, -8842.80469, 30.59876, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9518.43750, -8821.84961, 29.31303, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9522.31836, -8835.64648, 29.21127, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9514.12793, -8849.16406, 29.18620, 0.00000, 0.00000, 0.00000);
- CreateObject(3799, 9475.76172, -8836.56348, 29.96663, 0.00000, 0.00000, 0.00000);
- CreateObject(3799, 9491.88379, -8836.36523, 29.97246, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9472.66406, -8836.40039, 30.08137, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9489.11328, -8836.03906, 30.08720, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9494.96484, -8836.06641, 30.08720, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9475.82910, -8836.21387, 32.31297, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9492.94824, -8836.25000, 32.31881, 0.00000, 0.00000, 348.75000);
- CreateObject(3798, 9464.46875, -8849.45996, 29.25031, 0.00000, 0.00000, 22.50000);
- CreateObject(3798, 9462.52441, -8850.98047, 29.24469, 0.00000, 0.00000, 0.00000);
- CreateObject(3799, 9463.73145, -8854.43848, 29.12228, 0.00000, 0.00000, 0.00000);
- CreateObject(3799, 9463.71191, -8854.34277, 31.35388, 0.00000, 0.00000, 22.50000);
- CreateObject(3798, 9450.88770, -8826.92578, 29.25315, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9450.88574, -8826.77539, 31.25315, 0.00000, 0.00000, 11.25000);
- CreateObject(3798, 9457.10742, -8807.43848, 29.26070, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9457.06348, -8807.50879, 31.26070, 0.00000, 0.00000, 11.25000);
- CreateObject(3799, 9490.53711, -8814.51758, 29.06729, 0.00000, 0.00000, 0.00000);
- CreateObject(3798, 9490.36523, -8814.28516, 31.41364, 0.00000, 0.00000, 11.25000);
- CreateObject(1491, 9521.63965, -8822.54395, 29.30460, 0.00000, 0.00000, 270.00000);
- CreateObject(1231, 9465.80859, -8820.36719, 31.98015, 0.00000, 0.00000, 0.00000);
- CreateObject(1231, 9490.62402, -8812.20215, 31.91600, 0.00000, 0.00000, 0.00000);
- CreateObject(1231, 9479.44824, -8786.80762, 31.95777, 0.00000, 0.00000, 270.00000);
- CreateObject(1231, 9491.55957, -8756.99414, 32.04743, 0.00000, 0.00000, 270.00000);
- CreateObject(1231, 9505.16113, -8777.47852, 30.05589, 0.00000, 0.00000, 0.00000);
- CreateObject(1231, 9530.22949, -8790.78027, 28.35443, 0.00000, 0.00000, 90.00000);
- CreateObject(1231, 9542.05273, -8777.62891, 28.11013, 0.00000, 0.00000, 0.00000);
- CreateObject(1231, 9566.48340, -8792.88086, 26.53237, 0.00000, 0.00000, 90.00000);
- CreateObject(1231, 9548.92090, -8814.37305, 28.22162, 0.00000, 0.00000, 90.00000);
- CreateObject(1231, 9541.38477, -8841.88379, 31.11175, 0.00000, 0.00000, 191.25000);
- CreateObject(1231, 9517.86230, -8834.36328, 31.94512, 0.00000, 0.00000, 123.74990);
- CreateObject(1231, 9507.47363, -8840.05664, 32.82105, 0.00000, 0.00000, 123.74990);
- CreateObject(1231, 9462.37402, -8839.92285, 32.81522, 0.00000, 0.00000, 123.74990);
- CreateObject(1231, 9518.76563, -8746.78906, 28.47611, 0.00000, 0.00000, 90.00000);
- CreateObject(1231, 9553.27930, -8740.84082, 26.75158, 0.00000, 0.00000, 90.00000);
- CreateObject(1231, 9566.49609, -8751.80469, 26.52581, 0.00000, 0.00000, 90.00000);
- CreateObject(1231, 9584.21191, -8773.33887, 25.42136, 269.75919, 0.00000, 0.00000);
- CreateObject(16501, 9569.11523, -8786.31348, 30.29181, 0.00000, 91.10020, 0.00000);
- CreateObject(1460, 9566.90820, -8786.07910, 30.94953, 0.00000, 0.00000, 270.00000);
- CreateObject(16501, 9571.77539, -8786.53223, 30.25733, 0.00000, 91.10020, 0.00000);
- //==================================== Mapa 4 ==========================================================================
- return 1;
- }
- public OnPlayerGiveDamage(playerid,damagedid,Float:amount,weaponid)
- {
- printf("Inicio : Equipa do jogador %d (damagedid)= %d e %d (playerid)= %d : ",damagedid, GetPlayerTeam(damagedid), playerid, GetPlayerTeam(playerid));
- new Float:Vida;
- new Float:Colete;
- new Float:Dano;
- new Fala[20], Fala1[20];
- if(weaponid == 16 || weaponid == 35 || weaponid == 38)
- {
- ApplyAnimation(damagedid,"PED","DAM_STOMACH_FRMFT",4.1,0,1,1,0,0,1);
- Tiros[damagedid] = 0;
- }
- if(weaponid == 24 || weaponid == 25 || weaponid == 27)
- {
- Tiros[damagedid]++;
- if(Tiros[damagedid] > 4)
- {
- ApplyAnimation(damagedid,"PED","DAM_STOMACH_FRMFT",4.1,0,1,1,0,0,1);
- Tiros[damagedid] = 0;
- }
- }
- if(weaponid == 29 || weaponid == 30 || weaponid == 31 || weaponid == 34)
- {
- Tiros[damagedid]++;
- if(Tiros[damagedid] > 9)
- {
- ApplyAnimation(damagedid,"PED","DAM_STOMACH_FRMFT",4.1,0,1,1,0,0,1);
- Tiros[damagedid] = 0;
- }
- }
- GetPlayerArmour(damagedid,Colete);
- GetPlayerHealth(damagedid,Vida);
- PlayerPlaySound(playerid,1131,0.0,0.0,0.0);
- PlayerPlaySound(damagedid,17802,0.0,0.0,0.0);
- format(Fala,sizeof(Fala),"~r~-%0.0f",amount/2);
- GameTextForPlayer(damagedid,Fala,1000,3);
- format(Fala1,sizeof(Fala1),"~b~%0.0f",amount/2);
- GameTextForPlayer(playerid,Fala1,1000,3);
- if(Colete > 0)
- {
- if(amount/2 > Colete)
- {
- Dano = amount/2 - Colete;
- Vida = Vida - Dano;
- SetPlayerArmour(damagedid,0.0);
- SetPlayerHealth(damagedid,Vida);
- return 1;
- }
- Colete = Colete - amount/2;
- SetPlayerArmour(damagedid,Colete);
- }
- if(Colete < 1)
- {
- Vida = Vida - amount/2;
- SetPlayerHealth(damagedid,Vida);
- if(Vida < amount/2)
- {
- ChamarDeath(damagedid,playerid,weaponid);
- Faleceu[damagedid] = 1;
- SetTimerEx("SairFalecer",1000,0,"i",damagedid);
- }
- }
- if(IsPlayerConnected(playerid))
- {
- new Float:health;
- GetPlayerHealth(damagedid,health);
- if(weaponid == 4)//Faca
- {
- switch(GetPlayerAimedBodyPart(playerid,damagedid))
- {
- case BP_HEAD:
- {
- SetPlayerHealth(damagedid, health - 101);// O que faz quando o tiro é na cabeça
- GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
- GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
- }
- case BP_LEG:
- {
- SetPlayerHealth(damagedid, health - 101); // O que faz quando o tiro é na perna
- }
- case BP_ARM:
- {
- SetPlayerHealth(damagedid, health - 101); // o que faz quando o tiro é no braço
- }
- default :
- {
- SetPlayerHealth(damagedid, health - 101);
- }
- }
- }//Termina a weapon
- if(weaponid == 16)//Granada fogo
- {
- switch(GetPlayerAimedBodyPart(playerid,damagedid))
- {
- case BP_HEAD:
- {
- SetPlayerHealth(damagedid, health - 20);// O que faz quando o tiro é na cabeça
- }
- case BP_LEG:
- {
- SetPlayerHealth(damagedid, health - 20); // O que faz quando o tiro é na perna
- }
- case BP_ARM:
- {
- SetPlayerHealth(damagedid, health - 20); // o que faz quando o tiro é no braço
- }
- default :
- {
- SetPlayerHealth(damagedid, health - 20);
- }
- }
- }//Termina a weapon
- if(weaponid == 22)// 9mm
- {
- switch(GetPlayerAimedBodyPart(playerid,damagedid))
- {
- case BP_HEAD:
- {
- SetPlayerHealth(damagedid, health - 65);// O que faz quando o tiro é na cabeça
- GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
- GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
- }
- case BP_LEG:
- {
- SetPlayerHealth(damagedid, health - 15); // O que faz quando o tiro é na perna
- }
- case BP_ARM:
- {
- SetPlayerHealth(damagedid, health - 20); // o que faz quando o tiro é no braço
- }
- default :
- {
- SetPlayerHealth(damagedid, health - 21);
- }
- }
- }//Termina a weapon
- if(weaponid == 23)// 9mm com silenciador
- {
- switch(GetPlayerAimedBodyPart(playerid,damagedid))
- {
- case BP_HEAD:
- {
- SetPlayerHealth(damagedid, health - 65);// O que faz quando o tiro é na cabeça
- GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
- GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
- }
- case BP_LEG:
- {
- SetPlayerHealth(damagedid, health - 15); // O que faz quando o tiro é na perna
- }
- case BP_ARM:
- {
- SetPlayerHealth(damagedid, health - 20); // o que faz quando o tiro é no braço
- }
- default :
- {
- SetPlayerHealth(damagedid, health - 21);
- }
- }
- }//Termina a weapon
- if(weaponid == 24)// Deagle
- {
- switch(GetPlayerAimedBodyPart(playerid,damagedid))
- {
- case BP_HEAD:
- {
- SetPlayerHealth(damagedid, health - 200);// O que faz quando o tiro é na cabeça
- GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
- GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
- }
- case BP_LEG:
- {
- SetPlayerHealth(damagedid, health - 20); // O que faz quando o tiro é na perna
- }
- case BP_ARM:
- {
- SetPlayerHealth(damagedid, health - 23); // o que faz quando o tiro é no braço
- }
- default :
- {
- SetPlayerHealth(damagedid, health - 25);
- }
- }
- }//Termina a weapon
- if(weaponid == 25)//Shotgun
- {
- switch(GetPlayerAimedBodyPart(playerid,damagedid))
- {
- case BP_HEAD:
- {
- SetPlayerHealth(damagedid, health - 100);// O que faz quando o tiro é na cabeça
- GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
- GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
- }
- case BP_LEG:
- {
- SetPlayerHealth(damagedid, health - 20); // O que faz quando o tiro é na perna
- }
- case BP_ARM:
- {
- SetPlayerHealth(damagedid, health - 20); // o que faz quando o tiro é no braço
- }
- default :
- {
- SetPlayerHealth(damagedid, health - 22);
- }
- }
- }//Termina a weapon
- if(weaponid == 29)//MP5
- {
- switch(GetPlayerAimedBodyPart(playerid,damagedid))
- {
- case BP_HEAD:
- {
- SetPlayerHealth(damagedid, health - 100);// O que faz quando o tiro é na cabeça
- GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
- GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
- }
- case BP_LEG:
- {
- SetPlayerHealth(damagedid, health - 10); // O que faz quando o tiro é na perna
- }
- case BP_ARM:
- {
- SetPlayerHealth(damagedid, health - 15); // o que faz quando o tiro é no braço
- }
- default :
- {
- SetPlayerHealth(damagedid, health - 16);
- }
- }
- }//Termina a weapon
- if(weaponid == 30)//AK
- {
- switch(GetPlayerAimedBodyPart(playerid,damagedid))
- {
- case BP_HEAD:
- {
- SetPlayerHealth(damagedid, health - 100);// O que faz quando o tiro é na cabeça
- GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
- GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
- }
- case BP_LEG:
- {
- SetPlayerHealth(damagedid, health - 20); // O que faz quando o tiro é na perna
- }
- case BP_ARM:
- {
- SetPlayerHealth(damagedid, health - 23); // o que faz quando o tiro é no braço
- }
- default :
- {
- SetPlayerHealth(damagedid, health - 25);
- }
- }
- }//Termina a weapon
- if(weaponid == 31)// m4a1
- {
- switch(GetPlayerAimedBodyPart(playerid,damagedid))
- {
- case BP_HEAD:
- {
- SetPlayerHealth(damagedid, health - 100);// O que faz quando o tiro é na cabeça
- GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
- GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
- }
- case BP_LEG:
- {
- SetPlayerHealth(damagedid, health - 20); // O que faz quando o tiro é na perna
- }
- case BP_ARM:
- {
- SetPlayerHealth(damagedid, health - 23); // o que faz quando o tiro é no braço
- }
- default :
- {
- SetPlayerHealth(damagedid, health - 25);
- }
- }
- }//Termina a weapon
- if(weaponid == 34)// Sniper
- {
- switch(GetPlayerAimedBodyPart(playerid,damagedid))
- {
- case BP_HEAD:
- {
- SetPlayerHealth(damagedid, health - 300);// O que faz quando o tiro é na cabeça
- GameTextForPlayer(damagedid, "~r~Headshot", 3000, 3);
- GameTextForPlayer(playerid, "~r~Headshot", 3000, 3);
- }
- case BP_LEG:
- {
- SetPlayerHealth(damagedid, health - 65); // O que faz quando o tiro é na perna
- }
- case BP_ARM:
- {
- SetPlayerHealth(damagedid, health - 80); // o que faz quando o tiro é no braço
- }
- default :
- {
- SetPlayerHealth(damagedid, health - 85);
- }
- }
- }//Termina a weapon
- printf("Fim : Equipa do jogador %d (damagedid)= %d e %d (playerid)= %d : ",damagedid, GetPlayerTeam(damagedid), playerid, GetPlayerTeam(playerid));
- }
- return 1;
- }
- SairFalecer(playerid);
- public SairFalecer(playerid)
- {
- Faleceu[playerid] = 0;
- }
- ChamarDeath(playerid,killerid,reason)
- {
- CallRemoteFunction("OnPlayerDeath","iii",playerid,killerid,reason);
- SetPlayerHealth(playerid,0.0);
- }
- public OnPlayerCommandPerformed(playerid, cmdtext[], success)
- {
- if(!success)
- {
- new string[148];
- format(string, sizeof(string), "{FF0000}[ERRO]Esse comando,{F0FF0F}%s {FF0000}, não existe no BSL CS Server!", cmdtext);
- SendClientMessage(playerid, 0x33AA33AA, string);
- return true;
- }
- return true;
- }
- public OnPlayerCommandReceived(playerid, cmdtext[])
- {
- return true;
- }
- //3k e 45 linhas :D
Advertisement
Add Comment
Please, Sign In to add comment