Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(cmd, "/war", true) == 0)
- {
- if(IsAMafia(playerid))
- {
- new zone[MAX_ZONE_NAME];
- GetPlayer2DRadarZone(playerid, zone, sizeof(zone));
- //gettime(rhour, rminute, rsecond);
- //if(rhour < 6) return SendClientMessage(playerid, COLOR_WHITE, "{0099FF}War: {FFFFFF}You can't start a war that late!");
- new side[MAX_PLAYERS], ncount=0;
- if(PlayerInfo[playerid][pLeader] != 0) side[playerid] = PlayerInfo[playerid][pLeader]; else if(PlayerInfo[playerid][pMember] != 0) side[playerid] = PlayerInfo[playerid][pMember];
- for(new n=1; n<sizeof(GangInfo); n++)
- {
- if(GangInfo[n][gFaction] == side[playerid]) ncount++;
- }
- if(PlayerInfo[playerid][pRank] >= 5) {} else return SendClientMessage(playerid, COLOR_WHITE, "{0099FF}War: {FFFFFF}Nu ai rank-ul necesar!");
- if(ncount >= 6) return SendClientMessage(playerid, COLOR_WHITE, "{0099FF}War: {FFFFFF}Ai deja 6 teritorii!");
- if(GetPlayerInterior(playerid) != 0) return 1;
- if(War != 0) return SendClientMessage(playerid, COLOR_WHITE, "{0099FF}War: {FFFFFF}Exista deja un war!");
- new ward;
- if(Warallowed == 0) return SendClientMessage(playerid, COLOR_WHITE, "{0099FF}War: {FFFFFF}Un admin a oprit war-urile!");
- GetPlayerName(playerid, sendername, sizeof(sendername));
- if(IsPlayerInArea(playerid, 2335.575, 2522.421, -2685.911, -2405.642)) ward = 1;
- else if(IsPlayerInArea(playerid, 2639.2, 2872.757, -2580.811, -2323.897)) ward = 2;
- else if(IsPlayerInArea(playerid, 2323.897, 2545.777, -128.4566, 233.5575)) ward = 3;
- else if(IsPlayerInArea(playerid, 2125.373, 2312.219, -116.7788, 221.8796)) ward = 4;
- else if(IsPlayerInArea(playerid, 1144.432, 1448.057, 105.1009, 467.115)) ward = 5;
- else if(IsPlayerInArea(playerid, 688.9946, 840.807, -677.3168, -408.7256)) ward = 6;
- else if(IsPlayerInArea(playerid, 572.2159, 688.9946, -665.6389, -420.4035)) ward = 7;
- else if(PlayerToPoint(160.0, playerid, 244.5219,-126.7156,1.8419)) ward = 8;
- else if(IsPlayerInArea(playerid, -653.961, -362.0141, -245.2354, 163.4902)) ward = 9;
- else if(IsPlayerInArea(playerid, -221.8796, 163.4902, -443.7593, -221.8796)) ward = 10;
- else if(IsPlayerInArea(playerid, -653.961, -443.7593, -560.538, -443.7593)) ward = 11;
- else if(IsPlayerInArea(playerid, -1132.754, -934.23, -770.7397, -583.8938)) ward = 12;
- else if(IsPlayerInArea(playerid, -2300.542, -1973.561, -2569.133, -2230.474)) ward = 13;
- else if(IsPlayerInArea(playerid, -2137.051, -1891.816, -1015.975, -712.3504)) ward = 14;
- else if(IsPlayerInArea(playerid, -221.8796, 58.38938, -140.1345, 151.8124)) ward = 15;
- else if(IsPlayerInArea(playerid, -2639.2, -2195.441, 2183.763, 2522.421)) ward = 16;
- else if(IsPlayerInArea(playerid, -385.3699, 116.7788, 1015.975, 1249.533)) ward = 17;
- else if(IsPlayerInArea(playerid, -1646.58, -1331.278, 2464.032, 2744.301)) ward = 18;
- else return 1;
- format(string, sizeof(string), "{0099FF}War: {FFFFFF}Acest teritoriu a fost deja ocupat acum %d ore.", GangInfo[ward][gHours]);
- if(GangInfo[ward][gHours] > 0 && AdminDuty[playerid] == 0) return SendClientMessage(playerid, COLOR_WHITE, string);
- //if(PlayerInfo[playerid][pLeader] >= 1) {} else return SendClientMessage(playerid, COLOR_WHITE, "{0099FF}War: {FFFFFF}Trebuie sa fii liderul unei mafie!");
- new ftext[60], ftext1[60];
- if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) format(ftext, sizeof(ftext), "{5F361E}Dallas Crime Family{FFFFFF}");
- if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) format(ftext, sizeof(ftext), "{C8C1BF}Mafia Leone{FFFFFF}");
- if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12) format(ftext, sizeof(ftext), "{7716A0}Diablos{FFFFFF}");
- if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13) format(ftext, sizeof(ftext), "{D4AA1E}The Crips{FFFFFF}");
- if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14) format(ftext, sizeof(ftext), "{17B41F}Uptown Riders{FFFFFF}");
- if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15) format(ftext, sizeof(ftext), "{1CCDB5}Scaletta Famiglia{FFFFFF}");
- if(GangInfo[ward][gFaction] == 5) format(ftext1, sizeof(ftext1), "{5F361E}Dallas Crime Family{FFFFFF}");
- if(GangInfo[ward][gFaction] == 6) format(ftext1, sizeof(ftext1), "{C8C1BF}Mafia Leone{FFFFFF}");
- if(GangInfo[ward][gFaction] == 12) format(ftext1, sizeof(ftext1), "{7716A0}Diablos{FFFFFF}");
- if(GangInfo[ward][gFaction] == 13) format(ftext1, sizeof(ftext1), "{D4AA1E}The Crips{FFFFFF}");
- if(GangInfo[ward][gFaction] == 14) format(ftext1, sizeof(ftext1), "{17B41F}Uptown Riders{FFFFFF}");
- if(GangInfo[ward][gFaction] == 15) format(ftext1, sizeof(ftext1), "{1CCDB5}Scaletta Famiglia{FFFFFF}");
- if(IsAAAlliance(playerid) && GangInfo[ward][gFaction] == 5 || IsAAAlliance(playerid) && GangInfo[ward][gFaction] == 14 || IsAAAlliance(playerid) && GangInfo[ward][gFaction] == 13)
- return SendClientMessage(playerid, COLOR_WHITE, "{0099FF}War: {FFFFFF}Alianta ta detine acest teritoriu!");
- if(IsAIAlliance(playerid) && GangInfo[ward][gFaction] == 6 || IsAIAlliance(playerid) && GangInfo[ward][gFaction] == 12 || IsAIAlliance(playerid) && GangInfo[ward][gFaction] == 15)
- return SendClientMessage(playerid, COLOR_WHITE, "{0099FF}War: {FFFFFF}Alianta ta detine acest teritoriu!");
- format(string, sizeof(string), "(( iReal-Games News: )) %s a inceput un razboi cu %s!", ftext, ftext1);
- BroadCast(0x8D8DFFFF,string);
- format(string, sizeof(string), "(( iReal-Games News: )) {FFFFFF}Razboiul se desfasoara la %s! Evitati acea zona!", zone);
- BroadCast(0x8D8DFFFF,string);
- if(IsPlayerInArea(playerid, 2335.575, 2522.421, -2685.911, -2405.642)) GangZoneFlashForAll(Gangzone[0], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, 2639.2, 2872.757, -2580.811, -2323.897)) GangZoneFlashForAll(Gangzone[1], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, 2323.897, 2545.777, -128.4566, 233.5575)) GangZoneFlashForAll(Gangzone[2], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, 2125.373, 2312.219, -116.7788, 221.8796)) GangZoneFlashForAll(Gangzone[3], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, 1144.432, 1448.057, 105.1009, 467.115)) GangZoneFlashForAll(Gangzone[4], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, 688.9946, 840.807, -677.3168, -408.7256)) GangZoneFlashForAll(Gangzone[5], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, 572.2159, 688.9946, -665.6389, -420.4035)) GangZoneFlashForAll(Gangzone[6], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, 93.423, 397.0478, -291.9469, 70.06725)) GangZoneFlashForAll(Gangzone[7], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, -653.961, -362.0141, -245.2354, 163.4902)) GangZoneFlashForAll(Gangzone[8], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, -221.8796, 163.4902, -443.7593, -221.8796)) GangZoneFlashForAll(Gangzone[9], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, -653.961, -443.7593, -560.538, -443.7593)) GangZoneFlashForAll(Gangzone[10], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, -1132.754, -934.23, -770.7397, -583.8938)) GangZoneFlashForAll(Gangzone[11], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, -2300.542, -1973.561, -2569.133, -2230.474)) GangZoneFlashForAll(Gangzone[12], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, -2137.051, -1891.816, -1015.975, -712.3504)) GangZoneFlashForAll(Gangzone[13], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, -221.8796, 58.38938, -140.1345, 151.8124)) GangZoneFlashForAll(Gangzone[14], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, -2639.2, -2195.441, 2183.763, 2522.421)) GangZoneFlashForAll(Gangzone[15], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, -385.3699, 116.7788, 1015.975, 1249.533)) GangZoneFlashForAll(Gangzone[16], 0xFF6347AA);
- else if(IsPlayerInArea(playerid, -1646.58, -1331.278, 2464.032, 2744.301)) GangZoneFlashForAll(Gangzone[17], 0xFF6347AA);
- WarStarted=1;
- WarF = side[playerid];
- WarF1 = GangInfo[ward][gFaction];
- WarZone = ward;
- for(new w = 0; w < sizeof(GangInfo); w++)
- {
- WarPoints[w] = 0;
- }
- if(side[playerid] == 5 || side[playerid] == 13 || side[playerid] == 14) WarAttack1 = 1; else WarAttack1 = 2;
- if(GangInfo[ward][gFaction] == 5 || GangInfo[ward][gFaction] == 13 || GangInfo[ward][gFaction] == 14) WarAttack2 = 1; else WarAttack2 = 2;
- if(IsAIAlliance(playerid)) War = 1; else if(IsAAAlliance(playerid)) War = 2;
- //if(GangInfo[ward][gFaction] == 5 || GangInfo[ward][gFaction] == 13 || GangInfo[ward][gFaction] == 14) War1 = 2; else if(GangInfo[ward][gFaction] == 6 || GangInfo[ward][gFaction] == 12 || GangInfo[ward][gFaction] == 15) War1 = 1;
- WarMan1 = 999;
- WarMan2 = 999;
- WarScore1 = 0;
- WarScore2 = 0;
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- WarStats1[i] = 0;
- WarStats2[i] = 0;
- if(IsAIAlliance(i) || IsAAAlliance(i))
- {
- format(string, sizeof(string), "{DC0C0C}War: {FFFFFF}%s din %s a declansat un razboi! Pentru a castiga razboiul, trebuie sa faceti un scor mai bun in 15 minute!", sendername, ftext);
- SendClientMessage(i, COLOR_WHITE, string);
- }
- }
- }
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- if(War != 0)
- {
- if(IsAAAlliance(playerid) && IsAIAlliance(killerid) || IsAAAlliance(killerid) && IsAIAlliance(playerid))
- {
- new mw = killerid;
- if(IsPlayerInArea(mw, 2335.575, 2522.421, -2685.911, -2405.642) && WarZone == 1 || IsPlayerInArea(mw, 2639.2, 2872.757, -2580.811, -2323.897) && WarZone == 2 || IsPlayerInArea(mw, 2323.897, 2545.777, -128.4566, 233.5575) && WarZone == 3||IsPlayerInArea(mw, 2125.373, 2312.219, -116.7788, 221.8796)&&WarZone==4 ||
- IsPlayerInArea(mw, 1144.432, 1448.057, 105.1009, 467.115) && WarZone == 5 || IsPlayerInArea(mw, 688.9946, 840.807, -677.3168, -408.7256) && WarZone == 6||IsPlayerInArea(mw,572.2159, 688.9946, -665.6389, -420.4035)&&WarZone==7||PlayerToPoint(160.0, mw, 244.5219,-126.7156,1.8419)&&WarZone == 8||
- IsPlayerInArea(mw, -653.961, -362.0141, -245.2354, 163.4902) && WarZone == 9 || IsPlayerInArea(mw, -221.8796, 163.4902, -443.7593, -221.8796) && WarZone == 10 || IsPlayerInArea(mw, -653.961, -443.7593, -560.538, -443.7593) && WarZone == 11 || IsPlayerInArea(mw, -1132.754, -934.23, -770.7397, -583.8938)&&WarZone==12||
- IsPlayerInArea(mw, -2300.542, -1973.561, -2569.133, -2230.474) && WarZone == 13 || IsPlayerInArea(mw, -2137.051, -1891.816, -1015.975, -712.3504) && WarZone == 14 || IsPlayerInArea(mw, -221.8796, 58.38938, -140.1345, 151.8124) && WarZone == 15 || IsPlayerInArea(mw, -2639.2, -2195.441, 2183.763, 2522.421) && WarZone == 16||
- IsPlayerInArea(mw, -385.3699, 116.7788, 1015.975, 1249.533) && WarZone == 17 || IsPlayerInArea(mw, -1646.58, -1331.278, 2464.032, 2744.301) && WarZone == 18)
- {
- new aside[MAX_PLAYERS];
- if(IsAAAlliance(killerid)) aside[killerid] = 1;
- if(IsAIAlliance(killerid)) aside[killerid] = 2;
- if(aside[killerid] == WarAttack1)
- {
- WarPoints[WarF] += 1;
- }
- else if(aside[killerid] == WarAttack2)
- {
- WarPoints[WarF1] += 1;
- }
- }
- }
- }
- if(IsAAAlliance(playerid) && IsAIAlliance(killerid) || IsAAAlliance(killerid) && IsAIAlliance(playerid))
- {
- if(War != 0)
- {
- if(GetPlayerCash(playerid) > 300)
- {
- new string[256];
- new sendername[MAX_PLAYER_NAME], sendernamen[MAX_PLAYER_NAME];
- GetPlayerName(killerid, sendername, sizeof(sendername));
- GetPlayerName(playerid, sendernamen, sizeof(sendernamen));
- GivePlayerCash(killerid, 300);
- GivePlayerCash(playerid, -300);
- GameTextForPlayer(playerid, "~r~-$300", 3000, 1);
- GameTextForPlayer(killerid, "~g~$300", 3000, 1);
- format(string, sizeof(string), "{a9c4e4}War: {FFFFFF}Ai fost omorat de {9966FF}%s{FFFFFF} si ai pierdut $300!", sendername);
- SendClientMessage(playerid, COLOR_WHITE, string);
- format(string, sizeof(string), "{a9c4e4}War: {FFFFFF}L-ai omorat pe {9966FF}%s{FFFFFF} si ai castigat $300!", sendernamen);
- SendClientMessage(killerid, COLOR_WHITE, string);
- WarStats1[killerid] ++;
- WarStats2[playerid] ++;
- if(WarStats1[killerid] > WarScore1) { WarScore1 = WarStats1[killerid]; WarMan1 = killerid; }
- if(WarStats2[playerid] > WarScore2) { if(WarMan1 != playerid) { WarScore2 = WarStats2[playerid]; WarMan2 = playerid; } }
- }
- }
- }
- public IsAAAlliance(playerid)
- {
- if(IsPlayerConnected(playerid))
- {
- new leader = PlayerInfo[playerid][pLeader];
- new member = PlayerInfo[playerid][pMember];
- if(member==5 || member==14 || member==13)
- {
- return 1;
- }
- else if(leader==5 || leader==14 || leader==13)
- {
- return 1;
- }
- }
- return 0;
- }
- public IsAIAlliance(playerid)
- {
- if(IsPlayerConnected(playerid))
- {
- new leader = PlayerInfo[playerid][pLeader];
- new member = PlayerInfo[playerid][pMember];
- if(member==6 || member==15 || member==12)
- {
- return 1;
- }
- else if(leader==6 || leader==15 || leader==12)
- {
- return 1;
- }
- }
- return 0;
- }
- public OnGameModeInit()
- {
- WarScore1 = 0;
- WarScore2 = 0;
- WarMan1 = 999;
- WarMan2 = 999;
- public SyncUp()
- {
- /*if(!IsVehicleOccupied(297)) SetVehicleToRespawn(297);
- if(!IsVehicleOccupied(298)) SetVehicleToRespawn(298);
- if(!IsVehicleOccupied(299)) SetVehicleToRespawn(299);
- if(!IsVehicleOccupied(300)) SetVehicleToRespawn(300);
- if(!IsVehicleOccupied(301)) SetVehicleToRespawn(301);
- if(!IsVehicleOccupied(302)) SetVehicleToRespawn(302);
- if(!IsVehicleOccupied(303)) SetVehicleToRespawn(303);
- if(!IsVehicleOccupied(304)) SetVehicleToRespawn(304);
- if(!IsVehicleOccupied(305)) SetVehicleToRespawn(305);*/
- clockk();
- if(War == 0) WarStarted = 0;
- if(War != 0 && WarStarted >= 1 && WarStarted <= 17) WarStarted++;
- if(War != 0 && WarStarted >= 16)
- {
- new WarWon = 0, GangColor, string[256], ftext[64], ftext1[64];
- if(WarPoints[WarF] > WarPoints[WarF1]) WarWon = WarF;
- if(WarPoints[WarF] < WarPoints[WarF1] || WarPoints[WarF] == WarPoints[WarF1]) WarWon = WarF1;
- if(WarF == 5 || WarF == 13 || WarF == 14) strmid(ftext, "Alianta Americana", 0, 64, 64);
- if(WarF == 6 || WarF == 12 || WarF == 15) strmid(ftext, "Alianta Italiana", 0, 64, 64);
- if(WarF1 == 5 || WarF1 == 13 || WarF1 == 14) strmid(ftext1, "Alianta Americana", 0, 64, 64);
- if(WarF1 == 6 || WarF1 == 12 || WarF1 == 15) strmid(ftext1, "Alianta Italiana", 0, 64, 64);
- if(WarWon == 5) GangColor = COLOR_CHICHAGOFF;
- else if(WarWon == 6) GangColor = 0x0E0E0ECC;
- else if(WarWon == 12) GangColor = COLOR_FORLENZAFF;
- else if(WarWon == 13) GangColor = COLOR_ZALUCHIFF;
- else if(WarWon == 14) GangColor = TEAM_GROVE_COLORFF;
- else if(WarWon == 15) GangColor = 0x15CACDAA;
- GangInfo[WarZone][gFaction] = WarWon; GangZoneHideForAll(Gangzone[WarZone-1]); GangZoneStopFlashForAll(Gangzone[WarZone-1]); GangZoneShowForAll(Gangzone[WarZone-1], GangColor);
- format(string, sizeof(string), "{8D8DFF}(( iReal-Games News: )) {FFFFFF}Razboiul s-a terminat! Scor final: %s %d - %d %s", ftext, WarPoints[WarF], WarPoints[WarF1], ftext1);
- OOCNews(COLOR_LIGHTBLUE, string);
- new senderwar[MAX_PLAYER_NAME], senderwar1[MAX_PLAYER_NAME];
- GetPlayerName(WarMan1, senderwar, sizeof(senderwar));
- GetPlayerName(WarMan2, senderwar1, sizeof(senderwar1));
- if(!IsPlayerConnected(WarMan1) || WarMan1 == 999) strmid(senderwar, "Nimeni", 0, MAX_PLAYER_NAME, MAX_PLAYER_NAME);
- if(!IsPlayerConnected(WarMan2) || WarMan2 == 999) strmid(senderwar1, "Nimeni", 0, MAX_PLAYER_NAME, MAX_PLAYER_NAME);
- format(string, sizeof(string), "{8D8DFF}(( iReal-Games News: )) {FFFFFF}Cel mai bun gangster: %s [%d Ucideri] | Cel mai slab gangster: %s. [%d Decese]", senderwar, WarScore1, senderwar1, WarScore2);
- OOCNews(COLOR_LIGHTBLUE, string);
- WarMan1 = 999; WarMan2 = 999; WarScore1 = 0; WarScore2 = 0;
- War = 0;
- GangInfo[WarZone][gHours] = 3; WarZone = 999;
- WarStarted = 0;
- WarF = 0;
- WarF1 = 0;
- WarAttack1 = 999;
- WarAttack2 = 999;
- for(new w = 0; w < sizeof(GangInfo); w++)
- {
- WarPoints[w] = 0;
- }
- public UpdateGangZones()
- {
- if(GangInfo[1][gFaction] == 5) GangZoneShowForAll(Gangzone[0], COLOR_CHICHAGOFF);
- else if(GangInfo[1][gFaction] == 6) GangZoneShowForAll(Gangzone[0], 0x0E0E0ECC);
- else if(GangInfo[1][gFaction] == 12) GangZoneShowForAll(Gangzone[0], COLOR_FORLENZAFF);
- else if(GangInfo[1][gFaction] == 13) GangZoneShowForAll(Gangzone[0], COLOR_ZALUCHIFF);
- else if(GangInfo[1][gFaction] == 14) GangZoneShowForAll(Gangzone[0], TEAM_GROVE_COLORFF);
- else if(GangInfo[1][gFaction] == 15) GangZoneShowForAll(Gangzone[0], 0x15CACDAA);
- if(GangInfo[2][gFaction] == 5) GangZoneShowForAll(Gangzone[1], COLOR_CHICHAGOFF);
- else if(GangInfo[2][gFaction] == 6) GangZoneShowForAll(Gangzone[1], 0x0E0E0ECC);
- else if(GangInfo[2][gFaction] == 12) GangZoneShowForAll(Gangzone[1], COLOR_FORLENZAFF);
- else if(GangInfo[2][gFaction] == 13) GangZoneShowForAll(Gangzone[1], COLOR_ZALUCHIFF);
- else if(GangInfo[2][gFaction] == 14) GangZoneShowForAll(Gangzone[1], TEAM_GROVE_COLORFF);
- else if(GangInfo[2][gFaction] == 15) GangZoneShowForAll(Gangzone[1], 0x15CACDAA);
- if(GangInfo[3][gFaction] == 5) GangZoneShowForAll(Gangzone[2], COLOR_CHICHAGOFF);
- else if(GangInfo[3][gFaction] == 6) GangZoneShowForAll(Gangzone[2], 0x0E0E0ECC);
- else if(GangInfo[3][gFaction] == 12) GangZoneShowForAll(Gangzone[2], COLOR_FORLENZAFF);
- else if(GangInfo[3][gFaction] == 13) GangZoneShowForAll(Gangzone[2], COLOR_ZALUCHIFF);
- else if(GangInfo[3][gFaction] == 14) GangZoneShowForAll(Gangzone[2], TEAM_GROVE_COLORFF);
- else if(GangInfo[3][gFaction] == 15) GangZoneShowForAll(Gangzone[2], 0x15CACDAA);
- if(GangInfo[4][gFaction] == 5) GangZoneShowForAll(Gangzone[3], COLOR_CHICHAGOFF);
- else if(GangInfo[4][gFaction] == 6) GangZoneShowForAll(Gangzone[3], 0x0E0E0ECC);
- else if(GangInfo[4][gFaction] == 12) GangZoneShowForAll(Gangzone[3], COLOR_FORLENZAFF);
- else if(GangInfo[4][gFaction] == 13) GangZoneShowForAll(Gangzone[3], COLOR_ZALUCHIFF);
- else if(GangInfo[4][gFaction] == 14) GangZoneShowForAll(Gangzone[3], TEAM_GROVE_COLORFF);
- else if(GangInfo[4][gFaction] == 15) GangZoneShowForAll(Gangzone[3], 0x15CACDAA);
- if(GangInfo[5][gFaction] == 5) GangZoneShowForAll(Gangzone[4], COLOR_CHICHAGOFF);
- else if(GangInfo[5][gFaction] == 6) GangZoneShowForAll(Gangzone[4], 0x0E0E0ECC);
- else if(GangInfo[5][gFaction] == 12) GangZoneShowForAll(Gangzone[4], COLOR_FORLENZAFF);
- else if(GangInfo[5][gFaction] == 13) GangZoneShowForAll(Gangzone[4], COLOR_ZALUCHIFF);
- else if(GangInfo[5][gFaction] == 14) GangZoneShowForAll(Gangzone[4], TEAM_GROVE_COLORFF);
- else if(GangInfo[5][gFaction] == 15) GangZoneShowForAll(Gangzone[4], 0x15CACDAA);
- if(GangInfo[6][gFaction] == 5) GangZoneShowForAll(Gangzone[5], COLOR_CHICHAGOFF);
- else if(GangInfo[6][gFaction] == 6) GangZoneShowForAll(Gangzone[5], 0x0E0E0ECC);
- else if(GangInfo[6][gFaction] == 12) GangZoneShowForAll(Gangzone[5], COLOR_FORLENZAFF);
- else if(GangInfo[6][gFaction] == 13) GangZoneShowForAll(Gangzone[5], COLOR_ZALUCHIFF);
- else if(GangInfo[6][gFaction] == 14) GangZoneShowForAll(Gangzone[5], TEAM_GROVE_COLORFF);
- else if(GangInfo[6][gFaction] == 15) GangZoneShowForAll(Gangzone[5], 0x15CACDAA);
- if(GangInfo[7][gFaction] == 5) GangZoneShowForAll(Gangzone[6], COLOR_CHICHAGOFF);
- else if(GangInfo[7][gFaction] == 6) GangZoneShowForAll(Gangzone[6], 0x0E0E0ECC);
- else if(GangInfo[7][gFaction] == 12) GangZoneShowForAll(Gangzone[6], COLOR_FORLENZAFF);
- else if(GangInfo[7][gFaction] == 13) GangZoneShowForAll(Gangzone[6], COLOR_ZALUCHIFF);
- else if(GangInfo[7][gFaction] == 14) GangZoneShowForAll(Gangzone[6], TEAM_GROVE_COLORFF);
- else if(GangInfo[7][gFaction] == 15) GangZoneShowForAll(Gangzone[6], 0x15CACDAA);
- if(GangInfo[8][gFaction] == 5) GangZoneShowForAll(Gangzone[7], COLOR_CHICHAGOFF);
- else if(GangInfo[8][gFaction] == 6) GangZoneShowForAll(Gangzone[7], 0x0E0E0ECC);
- else if(GangInfo[8][gFaction] == 12) GangZoneShowForAll(Gangzone[7], COLOR_FORLENZAFF);
- else if(GangInfo[8][gFaction] == 13) GangZoneShowForAll(Gangzone[7], COLOR_ZALUCHIFF);
- else if(GangInfo[8][gFaction] == 14) GangZoneShowForAll(Gangzone[7], TEAM_GROVE_COLORFF);
- else if(GangInfo[8][gFaction] == 15) GangZoneShowForAll(Gangzone[7], 0x15CACDAA);
- if(GangInfo[9][gFaction] == 5) GangZoneShowForAll(Gangzone[8], COLOR_CHICHAGOFF);
- else if(GangInfo[9][gFaction] == 6) GangZoneShowForAll(Gangzone[8], 0x0E0E0ECC);
- else if(GangInfo[9][gFaction] == 12) GangZoneShowForAll(Gangzone[8], COLOR_FORLENZAFF);
- else if(GangInfo[9][gFaction] == 13) GangZoneShowForAll(Gangzone[8], COLOR_ZALUCHIFF);
- else if(GangInfo[9][gFaction] == 14) GangZoneShowForAll(Gangzone[8], TEAM_GROVE_COLORFF);
- else if(GangInfo[9][gFaction] == 15) GangZoneShowForAll(Gangzone[8], 0x15CACDAA);
- if(GangInfo[10][gFaction] == 5) GangZoneShowForAll(Gangzone[9], COLOR_CHICHAGOFF);
- else if(GangInfo[10][gFaction] == 6) GangZoneShowForAll(Gangzone[9], 0x0E0E0ECC);
- else if(GangInfo[10][gFaction] == 12) GangZoneShowForAll(Gangzone[9], COLOR_FORLENZAFF);
- else if(GangInfo[10][gFaction] == 13) GangZoneShowForAll(Gangzone[9], COLOR_ZALUCHIFF);
- else if(GangInfo[10][gFaction] == 14) GangZoneShowForAll(Gangzone[9], TEAM_GROVE_COLORFF);
- else if(GangInfo[10][gFaction] == 15) GangZoneShowForAll(Gangzone[9], 0x15CACDAA);
- if(GangInfo[11][gFaction] == 5) GangZoneShowForAll(Gangzone[10], COLOR_CHICHAGOFF);
- else if(GangInfo[11][gFaction] == 6) GangZoneShowForAll(Gangzone[10], 0x0E0E0ECC);
- else if(GangInfo[11][gFaction] == 12) GangZoneShowForAll(Gangzone[10], COLOR_FORLENZAFF);
- else if(GangInfo[11][gFaction] == 13) GangZoneShowForAll(Gangzone[10], COLOR_ZALUCHIFF);
- else if(GangInfo[11][gFaction] == 14) GangZoneShowForAll(Gangzone[10], TEAM_GROVE_COLORFF);
- else if(GangInfo[11][gFaction] == 15) GangZoneShowForAll(Gangzone[10], 0x15CACDAA);
- if(GangInfo[12][gFaction] == 5) GangZoneShowForAll(Gangzone[11], COLOR_CHICHAGOFF);
- else if(GangInfo[12][gFaction] == 6) GangZoneShowForAll(Gangzone[11], 0x0E0E0ECC);
- else if(GangInfo[12][gFaction] == 12) GangZoneShowForAll(Gangzone[11], COLOR_FORLENZAFF);
- else if(GangInfo[12][gFaction] == 13) GangZoneShowForAll(Gangzone[11], COLOR_ZALUCHIFF);
- else if(GangInfo[12][gFaction] == 14) GangZoneShowForAll(Gangzone[11], TEAM_GROVE_COLORFF);
- else if(GangInfo[12][gFaction] == 15) GangZoneShowForAll(Gangzone[11], 0x15CACDAA);
- if(GangInfo[13][gFaction] == 5) GangZoneShowForAll(Gangzone[12], COLOR_CHICHAGOFF);
- else if(GangInfo[13][gFaction] == 6) GangZoneShowForAll(Gangzone[12], 0x0E0E0ECC);
- else if(GangInfo[13][gFaction] == 12) GangZoneShowForAll(Gangzone[12], COLOR_FORLENZAFF);
- else if(GangInfo[13][gFaction] == 13) GangZoneShowForAll(Gangzone[12], COLOR_ZALUCHIFF);
- else if(GangInfo[13][gFaction] == 14) GangZoneShowForAll(Gangzone[12], TEAM_GROVE_COLORFF);
- else if(GangInfo[13][gFaction] == 15) GangZoneShowForAll(Gangzone[12], 0x15CACDAA);
- if(GangInfo[14][gFaction] == 5) GangZoneShowForAll(Gangzone[13], COLOR_CHICHAGOFF);
- else if(GangInfo[14][gFaction] == 6) GangZoneShowForAll(Gangzone[13], 0x0E0E0ECC);
- else if(GangInfo[14][gFaction] == 12) GangZoneShowForAll(Gangzone[13], COLOR_FORLENZAFF);
- else if(GangInfo[14][gFaction] == 13) GangZoneShowForAll(Gangzone[13], COLOR_ZALUCHIFF);
- else if(GangInfo[14][gFaction] == 14) GangZoneShowForAll(Gangzone[13], TEAM_GROVE_COLORFF);
- else if(GangInfo[14][gFaction] == 15) GangZoneShowForAll(Gangzone[13], 0x15CACDAA);
- if(GangInfo[15][gFaction] == 5) GangZoneShowForAll(Gangzone[14], COLOR_CHICHAGOFF);
- else if(GangInfo[15][gFaction] == 6) GangZoneShowForAll( Gangzone[14], 0x0E0E0ECC);
- else if(GangInfo[15][gFaction] == 12) GangZoneShowForAll(Gangzone[14], COLOR_FORLENZAFF);
- else if(GangInfo[15][gFaction] == 13) GangZoneShowForAll(Gangzone[14], COLOR_ZALUCHIFF);
- else if(GangInfo[15][gFaction] == 14) GangZoneShowForAll(Gangzone[14], TEAM_GROVE_COLORFF);
- else if(GangInfo[15][gFaction] == 15) GangZoneShowForAll(Gangzone[14], 0x15CACDAA);
- if(GangInfo[16][gFaction] == 5) GangZoneShowForAll(Gangzone[15], COLOR_CHICHAGOFF);
- else if(GangInfo[16][gFaction] == 6) GangZoneShowForAll( Gangzone[15], 0x0E0E0ECC);
- else if(GangInfo[16][gFaction] == 12) GangZoneShowForAll(Gangzone[15], COLOR_FORLENZAFF);
- else if(GangInfo[16][gFaction] == 13) GangZoneShowForAll(Gangzone[15], COLOR_ZALUCHIFF);
- else if(GangInfo[16][gFaction] == 14) GangZoneShowForAll(Gangzone[15], TEAM_GROVE_COLORFF);
- else if(GangInfo[16][gFaction] == 15) GangZoneShowForAll(Gangzone[15], 0x15CACDAA);
- if(GangInfo[17][gFaction] == 5) GangZoneShowForAll(Gangzone[16], COLOR_CHICHAGOFF);
- else if(GangInfo[17][gFaction] == 6) GangZoneShowForAll( Gangzone[16], 0x0E0E0ECC);
- else if(GangInfo[17][gFaction] == 12) GangZoneShowForAll(Gangzone[16], COLOR_FORLENZAFF);
- else if(GangInfo[17][gFaction] == 13) GangZoneShowForAll(Gangzone[16], COLOR_ZALUCHIFF);
- else if(GangInfo[17][gFaction] == 14) GangZoneShowForAll(Gangzone[16], TEAM_GROVE_COLORFF);
- else if(GangInfo[17][gFaction] == 15) GangZoneShowForAll(Gangzone[16], 0x15CACDAA);
- if(GangInfo[18][gFaction] == 5) GangZoneShowForAll(Gangzone[17], COLOR_CHICHAGOFF);
- else if(GangInfo[18][gFaction] == 6) GangZoneShowForAll( Gangzone[17], 0x0E0E0ECC);
- else if(GangInfo[18][gFaction] == 12) GangZoneShowForAll(Gangzone[17], COLOR_FORLENZAFF);
- else if(GangInfo[18][gFaction] == 13) GangZoneShowForAll(Gangzone[17], COLOR_ZALUCHIFF);
- else if(GangInfo[18][gFaction] == 14) GangZoneShowForAll(Gangzone[17], TEAM_GROVE_COLORFF);
- else if(GangInfo[18][gFaction] == 15) GangZoneShowForAll(Gangzone[17], 0x15CACDAA);
- if(WarZone == 1) GangZoneFlashForAll(Gangzone[0], 0xFF6347AA);
- if(WarZone == 2) GangZoneFlashForAll(Gangzone[1], 0xFF6347AA);
- if(WarZone == 3) GangZoneFlashForAll(Gangzone[2], 0xFF6347AA);
- if(WarZone == 4) GangZoneFlashForAll(Gangzone[3], 0xFF6347AA);
- if(WarZone == 5) GangZoneFlashForAll(Gangzone[4], 0xFF6347AA);
- if(WarZone == 6) GangZoneFlashForAll(Gangzone[5], 0xFF6347AA);
- if(WarZone == 7) GangZoneFlashForAll(Gangzone[6], 0xFF6347AA);
- if(WarZone == 8) GangZoneFlashForAll(Gangzone[7], 0xFF6347AA);
- if(WarZone == 9) GangZoneFlashForAll(Gangzone[8], 0xFF6347AA);
- if(WarZone == 10) GangZoneFlashForAll(Gangzone[9], 0xFF6347AA);
- if(WarZone == 11) GangZoneFlashForAll(Gangzone[10], 0xFF6347AA);
- if(WarZone == 12) GangZoneFlashForAll(Gangzone[11], 0xFF6347AA);
- if(WarZone == 13) GangZoneFlashForAll(Gangzone[12], 0xFF6347AA);
- if(WarZone == 14) GangZoneFlashForAll(Gangzone[13], 0xFF6347AA);
- if(WarZone == 15) GangZoneFlashForAll(Gangzone[14], 0xFF6347AA);
- if(WarZone == 16) GangZoneFlashForAll(Gangzone[15], 0xFF6347AA);
- if(WarZone == 17) GangZoneFlashForAll(Gangzone[16], 0xFF6347AA);
- if(WarZone == 18) GangZoneFlashForAll(Gangzone[17], 0xFF6347AA);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement