Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(cmd, "/dominar", true) == 0)
- {
- new carid = GetPlayerVehicleID(playerid);
- if(IsAPlane(carid))
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você não pode usar esse comando dentro de um heli ou avião.");
- return 1;
- }
- // =================================================================================================================
- // GZ entre EXE vs ALQAEDA
- // =================================================================================================================
- if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)// Exercito
- {
- if(IsPlayerInMata(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(GuerranoMata == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3 || PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "O exercito está tentando dominar Angel Pine");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZMata,COR_EXE);
- Dominando[playerid] = 1;
- ProvocoMata[playerid] = 1;
- GuerranoMata = 1;
- TempoGuerraMata = SetTimerEx("GuerraMata", 600000, 0, "i", playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)// Al Qaeda
- {
- if(IsPlayerInMata(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(GuerranoMata == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3 || PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "A Al-Qaeda está tentando dominar Angel Pine");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZMata,COR_FARC);
- Dominando[playerid] = 1;
- ProvocoMata[playerid] = 1;
- GuerranoMata = 1;
- TempoGuerraMata = SetTimerEx("GuerraMata", 600000, 0, "i", playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- // /fim angel pine
- // Palomino Creek
- if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)// Exercito
- {
- if(IsPlayerInroda(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(Guerranaroda == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3 || PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "O exercito está tentando dominar Palo Mino Creek");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZroda,COR_EXE);
- Dominando[playerid] = 1;
- Provocoroda[playerid] = 1;
- Guerranaroda = 1;
- TempoGuerraroda = SetTimerEx("Guerraroda", 600000, 0, "i", playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)// Exercito
- {
- if(IsPlayerInroda(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(Guerranaroda == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3 || PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "A Al-Qaeda está tentando dominar Palo Mino Creek");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZMata,COR_FARC);
- Dominando[playerid] = 1;
- Provocoroda[playerid] = 1;
- Guerranaroda = 1;
- TempoGuerraroda = SetTimerEx("Guerraroda", 600000, 0, "i", playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- // fim palomino
- // =================================================================================================================
- // Fim Exercito vs Al-Qaeda
- // =================================================================================================================
- // Marinha vs Piratas
- // =================================================================================================================
- // navio cargueiro
- if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)
- {
- if(IsPlayerInEstacao(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(GuerranaEstacao == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2 || PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "A Marinha está tentando dominar o navio Cargueiro");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZEstacao,COR_ROTA); // COR_GI
- Dominando[playerid] = 1;
- ProvocoEstacao[playerid] = 1;
- GuerranaEstacao = 1;
- TempoGuerraEstacao = SetTimerEx("GuerraEstacao", 600000, 0, "i", playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
- {
- if(IsPlayerInEstacao(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(GuerranaEstacao == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2 || PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os piratas está tentando dominar o navio Cargueiro");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZEstacao,COR_GI); // COR_ROTA
- Dominando[playerid] = 1;
- ProvocoEstacao[playerid] = 1;
- GuerranaEstacao = 1;
- TempoGuerraEstacao = SetTimerEx("GuerraEstacao", 600000, 0, "i", playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- // titanic
- if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)
- {
- if(IsPlayerInCasarao(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(GuerranoCasarao == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2 || PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "A Marinha está tentando dominar o navio Titanic");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZCasarao,COR_ROTA); // COR_GI
- Dominando[playerid] = 1;
- ProvocoCasarao[playerid] = 1;
- GuerranoCasarao = 1;
- TempoGuerraCasarao = SetTimerEx("GuerraCasarao", 600000, 0, "i", playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
- {
- if(IsPlayerInCasarao(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(GuerranoCasarao == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2 || PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os piratas estão tentando dominar o navio Titanic");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZCasarao,COR_GI); // COR_ROTA
- Dominando[playerid] = 1;
- ProvocoCasarao[playerid] = 1;
- GuerranoCasarao = 1;
- TempoGuerraCasarao = SetTimerEx("GuerraCasarao", 600000, 0, "i", playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- // =================================================================================================================
- // Fim Marinha vs Piratas
- // =================================================================================================================
- // Traficantes vs Traficantes
- // =================================================================================================================
- // complexo
- if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
- {
- if(IsPlayerInPg(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(Guerranapg == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do CV estão tentando dominar o Complexo do Alemão");
- PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/1y8q82d0scwu324/Mc%20Smith%20-mega%20opera%C3%A7%C3%A3o.MP3?dl=1");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZparkglen,COR_CV);
- Dominando[playerid] = 1;
- Provocopg[playerid] = 1;
- Guerranapg = 1;
- TempoGuerrapg = SetTimerEx("Guerrapg", 600000, 0, "i", playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- if(PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20)
- {
- if(IsPlayerInPg(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(Guerranapg == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do PCC estão tentando dominar o Complexo do Alemão");
- PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/1y8q82d0scwu324/Mc%20Smith%20-mega%20opera%C3%A7%C3%A3o.MP3?dl=1");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZparkglen,COR_PCC);
- Dominando[playerid] = 1;
- Provocopg[playerid] = 1;
- Guerranapg = 1;
- TempoGuerrapg = SetTimerEx("Guerrapg", 600000, 0, "i", playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- if(PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)
- {
- if(IsPlayerInPg(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(Guerranapg == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do TCP estão tentando dominar o Complexo do Alemão");
- PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/1y8q82d0scwu324/Mc%20Smith%20-mega%20opera%C3%A7%C3%A3o.MP3?dl=1");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZparkglen,COR_TCP);
- Dominando[playerid] = 1;
- Provocopg[playerid] = 1;
- Guerranapg = 1;
- TempoGuerrapg = SetTimerEx("Guerrapg", 600000, 0, "i", playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- if(PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
- {
- if(IsPlayerInPg(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(Guerranapg == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do ADA estão tentando dominar o Complexo do Alemão");
- PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/1y8q82d0scwu324/Mc%20Smith%20-mega%20opera%C3%A7%C3%A3o.MP3?dl=1");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZparkglen,COR_ADA);
- Dominando[playerid] = 1;
- Provocopg[playerid] = 1;
- Guerranapg = 1;
- TempoGuerrapg = SetTimerEx("Guerrapg", 600000, 0, "i", playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- // dendê
- if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
- {
- if(IsPlayerInFavela(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(GuerranaFavela == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do CV estão tentando dominar o Morro do Dendê");
- PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/s2yvhx3a5jxgj5l/Morro%20do%20Dend%C3%AA%20%28Rap%20das%20Armas%29%20-%20Cidinho%20e%20Doca.mp3?dl=1");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZFavela,COR_CV);
- Dominando[playerid] = 1;
- ProvocoFavela[playerid] = 19;
- GuerranaFavela = 1;
- TempoGuerraFavela = SetTimerEx("GuerraFavela", 6000, 0, "i", playerid); // + 2 0
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- if(PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20)
- {
- if(IsPlayerInFavela(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(GuerranaFavela == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do PCC estão tentando dominar o Morro do Dendê");
- PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/s2yvhx3a5jxgj5l/Morro%20do%20Dend%C3%AA%20%28Rap%20das%20Armas%29%20-%20Cidinho%20e%20Doca.mp3?dl=1");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZFavela,COR_PCC);
- Dominando[playerid] = 1;
- ProvocoFavela[playerid] = 1;
- GuerranaFavela = 1;
- TempoGuerraFavela = SetTimerEx("GuerraFavela", 600000, 0, "i", playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- if(PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)
- {
- if(IsPlayerInFavela(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(GuerranaFavela == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do TCP estão tentando dominar o Morro do Dendê");
- PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/s2yvhx3a5jxgj5l/Morro%20do%20Dend%C3%AA%20%28Rap%20das%20Armas%29%20-%20Cidinho%20e%20Doca.mp3?dl=1");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZFavela,COR_TCP);
- Dominando[playerid] = 1;
- ProvocoFavela[playerid] = 1;
- GuerranaFavela = 1;
- TempoGuerraFavela = SetTimerEx("GuerraFavela", 600000, 0, "i", playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- if(PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
- {
- if(IsPlayerInFavela(playerid))
- {
- if(Dominando[playerid] == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
- return 1;
- }
- if(GuerranaFavela == 1)
- {
- SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
- return 1;
- }
- if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
- {
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do ADA estão tentando dominar o Morro do Dendê");
- PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/s2yvhx3a5jxgj5l/Morro%20do%20Dend%C3%AA%20%28Rap%20das%20Armas%29%20-%20Cidinho%20e%20Doca.mp3?dl=1");
- }
- SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
- GangZoneFlashForAll(GZFavela,COR_ADA);
- Dominando[playerid] = 1;
- ProvocoFavela[playerid] = 1;
- GuerranaFavela = 1;
- TempoGuerraFavela = SetTimerEx("GuerraFavela", 600000, 0, "i", playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
- }
- }
- //===========================================================================================================================================================================================================
- return 1;
- //===========================================================================================================================================================================================================
Advertisement
Add Comment
Please, Sign In to add comment