Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- / / Premium SAMP, parágrafo Tudo Seu Servidor SAMP, FS, a GM, e Muito Mais Inclui,
- / / Visite-nos: http://premium-samp.blogspot.com.br/
- // SA:MP Planet !
- / / ************************************************ ****
- / / POR FAVOR NAO REMOVA OS Creditos
- / / Sistema de GangZonas Compraveis v1.0
- / / ************************************************ ****
- / / Créditos
- / / Retirado fazer: Las Venturas Brasil 7.0d
- / / Créditos Gerais: [Gangsta] Kasura EX: [Rockstar] Rell
- / / Desenvolvedores: BCO e BnO
- / / MSN: [email protected]
- / / ************************************************ ****
- # Include <a_samp>
- # Pragma tabsize 0
- # Define 0xAA3333AA Color_Red
- # Define COLOR_GREEN 0x33AA33AA
- # Define COLOR_GREY 0xAFAFAFAA
- # Define COLOR_ORANGE 0xFF9900AA
- # Define COLOR_YELLOW 0xFFFF00AA
- # Define CP_GZ_AUTOBASE_LV 0
- # Define CP_GZ_CONSTRUCAO_LV 1
- # Define CP_GZ_RECINTO_LV 2
- # Define CP_GZ_FABRICA_LV 3
- # Define CP_GZ_AEROPLACE_LV 4
- # Define CP_GZ_DISNEY_LV 5
- # Define CP_GZ_EXERCITO_LV 6
- # Define CP_GZ_CALIGULAS_LV 7
- # Define CP_GZ_GOLF_LV 8
- # Define P_GZ_AUTOBASE_LV 0
- # Define P_GZ_CONSTRUCAO_LV 1
- # Define P_GZ_RECINTO_LV 2
- # Define P_GZ_FABRICA_LV 3
- # Define P_GZ_AEROPLACE_LV 4
- # Define P_GZ_DISNEY_LV 5
- # Define P_GZ_EXERCITO_LV 6
- # Define P_GZ_CALIGULAS_LV 7
- # Define P_GZ_GOLF_LV 8
- # Define P_OFFSET 14
- # Define MAX_GZS 9
- # Define MAX_GANGS 50
- # Define MAX_GANG_NAME 50
- frente GzScoreUpdate ();
- frente PayPlayerInGz (playerid, GzID, Float: x1, Float: y1, Float: x2, Float: y2, dinheiro);
- frente getCheckpointType (playerid);
- frente isPlayerInArea (playerid, Float: dados [4]);
- frente checkpointUpdate ();
- frente PropertyScoreUpdate ();
- gangNames novas [MAX_GANGS] [MAX_GANG_NAME];
- playerCheckpoint novo [MAX_PLAYERS];
- novo gangInfo [MAX_GANGS] [3];
- gz novo = 555;
- GZ novo [MAX_GZS];
- novo GZ_EXISTE [MAX_GZS] [2];
- novo gangZonaId [MAX_GZS];
- novo gangZonaIdAnter [MAX_GZS];
- novo playerGang [MAX_PLAYERS];
- novo PLAYERLIST_authed [MAX_PLAYERS];
- # Define MAX_POINTS 9
- Float novo: checkCoords [MAX_POINTS] [4] = {
- {1017.134948, 1222.946899, 1096.891235, 1361.736572}, / / GZ_AUTOBASE_LV
- {2372.279052, 1832.521362, 2496.685302, 1962.471801}, / / GZ_CONSTRUCAO_LV
- {2777.4753, 833.6251, 2894.6955, 1022.9479}, / / GZ_RECINTO_LV
- {918.294555, 2043.856567, 996.507202, 2182.339599}, / / GZ_FABRICA_LV
- {1638.5530,1284.3757, 1716.3368,1319.3700}, / GZ_AEROPLACE /
- {2079.743,978.1417, 2329.653,1171.545},
- {81.74512,1763.359, 362.0141,2055.306}, / / GZ_EXERCITO
- {2099.267,1535.143, 2290.605,1728.547}, / / GZ_CALIGULAS_LV
- {1111.341,2718.771, 1509.635,2842.55} / / GZ_GOLF_LV
- };
- Float novo: checkpoints [MAX_POINTS] [3] = {
- {1040.142578,1305.848266,10.820312}, / / GZ_AUTOBASE_LV
- {2436.580322,1913.306274,6.163729}, / / GZ_CONSTRUCAO_LV
- {2814.641357,969.982727,10.750000}, / / GZ_RECINTO_LV
- {929.612487,2068.309570,10.820312}, / / GZ_FABRICA_LV
- {1647.4393,1301.9464,10.8203}, / GZ_AEROPLACE /
- {2273.6250,1044.2716,10.8203}, / / GZ_DISNEY
- {202.9969,1888.7633,17.6481}, / / GZ_EXERCITO
- {2288.2988,1567.0795,10.8203}, / / GZ_CALIGULAS_LV
- {1457.4954,2773.3105,10.8203} / / GZ_GOLF_LV
- };
- novas checkpointType [MAX_POINTS] = {
- CP_GZ_AUTOBASE_LV,
- CP_GZ_CONSTRUCAO_LV,
- CP_GZ_RECINTO_LV,
- CP_GZ_FABRICA_LV,
- CP_GZ_AEROPLACE_LV,
- CP_GZ_DISNEY_LV,
- CP_GZ_EXERCITO_LV,
- CP_GZ_CALIGULAS_LV,
- CP_GZ_GOLF_LV
- };
- # Define MAX_PROPERTIES 9
- propertyNames novas [MAX_PROPERTIES] [32] = {
- "Gang da Base Auto Zona",
- "Gang Zona Construção",
- "Gang Zona Recinto",
- "Gang Zona Fabrica",
- "Gang Local Zona Aero",
- "Gang Zona Disney",
- "Gang Zona Exercito",
- "Gang Zona Caligulas",
- "Gang Zona Golf"
- };
- propertyValues novas [MAX_PROPERTIES] = {
- 185000,
- 175000,
- 200000,
- 250000,
- 190000,
- 270000,
- 180000,
- 210000,
- 190000
- };
- propertyEarnings novas [MAX_PROPERTIES] = {
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0
- };
- getCheckpointType pública (playerid) {
- voltar checkpointType [playerCheckpoint [playerid]];
- }
- novo propertyOwner [MAX_PROPERTIES] = {} 999.999.999.999.999.999.999.999.999;
- público PayPlayerInGz (playerid, GzID, Float: x1, Float: y1, Float: x2, Float: y2, dinheiro) / / ID_GZ
- {
- if (IsPlayerConnected (playerid))
- {
- new Float: X, Float: Y, Float: Z, Float: Float Saúde: Armour;
- GetPlayerPos (playerid, X, Y, Z);
- GetPlayerHealth (playerid, Saúde);
- GetPlayerArmour (playerid, Armour);
- if ((X> = x1) && (X <= x2) && (Y> = y1) && (Y <= y2))
- {
- if (playerGang [playerid]> 0)
- {
- if (gangZonaId [GzID] == playerGang [playerid])
- {
- GivePlayerMoney (playerid, dinheiro);
- GivePlayerWeapon (playerid, 31, 2);
- if (Saúde <105)
- {
- SetPlayerHealth (playerid, Saúde + 2);
- }
- if (Armour <105)
- {
- SetPlayerArmour (playerid, Armadura + 2);
- }
- }
- outro
- {
- if (GZ_EXISTE [GzID] [0] == 1)
- {
- if (Saúde> 2)
- {
- SetPlayerHealth (playerid, Saúde - 2,5);
- }
- }
- outro
- {
- retornar 1;
- }
- }
- / /}
- }
- outro
- {
- if (GZ_EXISTE [GzID] [0] == 1)
- {
- if (Saúde> 2)
- {
- SetPlayerHealth (playerid, Saúde - 2,5);
- }
- }
- outro
- {
- retornar 1;
- }
- }
- }
- retornar 1;
- }
- retornar 0;
- }
- público GzScoreUpdate ()
- {
- para (novo i = 0; i <MAX_PLAYERS; i + +)
- {
- / GZ / AUTOBASE_LV
- PayPlayerInGz (i, 0, 1017,134948, 1222,946899, 1096,891235, 1361,736572, 500);
- / GZ / CONSTRUCAO_LV
- PayPlayerInGz (i, 1, 2372,279052, 1832,521362, 2496,685302, 1962,471801, 500);
- / GZ / RECINTO_LV
- PayPlayerInGz (i, 2, 2777,4753, 833,6251, 2894,6955, 1022,9479, 500);
- / GZ / FABRICA_LV
- PayPlayerInGz (i, 3, 918,294555, 2043,856567, 996,507202, 2182,339599, 500);
- / GZ / AEROPLACE_LV
- PayPlayerInGz (i, 4, 1638,5530, 1284,3757, 1716,3368, 1319,3700, 500);
- / GZ / Disney_LV
- PayPlayerInGz (i, 5, 2079,743, 978,1417, 2329,653, 1171,545, 500);
- / / GZ_EXERCITO_LV
- PayPlayerInGz (i, 6, 81,74512, 1763,359, 362,0141, 2055,306, 500);
- / GZ / CALIGULAS_LV
- PayPlayerInGz (i, 7, 2099,267, 1535,143, 2290,605, 1728,547, 500);
- / GZ / GOLF_LV
- PayPlayerInGz (i, 8, 1111,341, 2718,771, 1509,635, 2842,55, 500);
- }
- retornar 1;
- }
- OnPlayerConnect pública (playerid)
- {
- playerGang [playerid] = 0;
- playerCheckpoint [playerid] = 999;
- para (novo g = 0; g <MAX_GZS; g + +)
- {
- if (GZ_EXISTE [g] [0] == 1)
- {
- GangZoneShowForPlayer (playerid, GZ [g], GZ_EXISTE [g] [1]);
- }
- }
- PLAYERLIST_authed [playerid] = false;
- return false;
- }
- público OnPlayerCommandText (playerid, cmdtext [])
- {
- new string [256];
- novo cmd [256];
- novo idx;
- cmd = strtok (cmdtext, idx);
- if (strcmp (cmdtext, "/ gangue zona Comprar", true) == 0)
- {
- nova propriedade = 999;
- if (IsPlayerInCheckpoint (playerid))
- {
- switch (playerCheckpoint [playerid])
- {
- caso CP_GZ_AUTOBASE_LV:
- {
- property = P_GZ_AUTOBASE_LV;
- gz = 0;
- }
- caso CP_GZ_CONSTRUCAO_LV:
- {
- property = P_GZ_CONSTRUCAO_LV;
- gz = 1;
- }
- caso CP_GZ_RECINTO_LV:
- {
- property = P_GZ_RECINTO_LV;
- gz = 2;
- }
- caso CP_GZ_FABRICA_LV:
- {
- property = P_GZ_FABRICA_LV;
- gz = 3;
- }
- caso CP_GZ_AEROPLACE_LV:
- {
- property = P_GZ_AEROPLACE_LV;
- gz = 4;
- }
- caso CP_GZ_DISNEY_LV:
- {
- property = P_GZ_DISNEY_LV;
- gz = 5;
- }
- caso CP_GZ_EXERCITO_LV:
- {
- property = P_GZ_EXERCITO_LV;
- gz = 6;
- }
- caso CP_GZ_CALIGULAS_LV:
- {
- property = P_GZ_CALIGULAS_LV;
- gz = 7;
- }
- caso CP_GZ_GOLF_LV:
- {
- property = P_GZ_GOLF_LV;
- gz = 8;
- }
- }
- if (gz == 999 | | propriedade == 999)
- {
- SendClientMessage (playerid, Color_Red, "[INFO GZ] VA parágrafo checkpoint o e digite / gangue zona Comprar");
- retornar 1;
- }
- if (GetPlayerMoney (playerid) <propertyValues [propriedade])
- {
- SendClientMessage (playerid, Color_Red, "Voce nao <GZ Info> TEM DINHEIRO parágrafo Comprar ESSA Gang Zona!");
- retornar 1;
- }
- if (playerGang [playerid]> 0)
- {
- if (gangZonaId [gz] == playerGang [playerid])
- {
- SendClientMessage (playerid, Color_Red, "[GZ]: ESSA JÁ Gang Zona e da Gang do Tua");
- retornar 1;
- }
- novo playerCor = gangInfo [playerGang [playerid]] [2];
- / / GangInfo [playerGang [playerid]] [2] = playerColors [playerid];
- if (GZ_EXISTE [gz] [0] == 1)
- {
- GangZoneDestroy (GZ [gz]);
- GZ [gz] = 555;
- }
- if (gangZonaId [gz]> 0)
- {
- gangZonaIdAnter [gz] = gangZonaId [gz];
- }
- switch (GZ)
- {
- case 0:
- {
- if ((GZ [gz]) | | | GZ ([gz] == 555))
- {
- GZ [gz] = GangZoneCreate (1017.134948, 1222.946899, 1096.891235, 1361.736572);
- GangZoneShowForAll (GZ [gz], playerCor);
- gangZonaId [gz] = playerGang [playerid];
- GZ_EXISTE [gz] [0] = 1;
- GZ_EXISTE [gz] [1] = playerCor;
- }
- }
- case 1:
- {
- if ((GZ [gz]) | | | GZ ([gz] == 555))
- {
- GZ [gz] = GangZoneCreate (2372.279052, 1832.521362, 2496.685302, 1962.471801);
- GangZoneShowForAll (GZ [gz], playerCor);
- gangZonaId [gz] = playerGang [playerid];
- GZ_EXISTE [gz] [0] = 1;
- GZ_EXISTE [gz] [1] = playerCor;
- }
- }
- case 2:
- {
- if ((GZ [gz]) | | | GZ ([gz] == 555))
- {
- GZ [gz] = GangZoneCreate (2777.4753, 833.6251, 2894.6955, 1022.9479);
- GangZoneShowForAll (GZ [gz], playerCor);
- gangZonaId [gz] = playerGang [playerid];
- GZ_EXISTE [gz] [0] = 1;
- GZ_EXISTE [gz] [1] = playerCor;
- }
- }
- case 3:
- {
- if ((GZ [gz]) | | | GZ ([gz] == 555))
- {
- GZ [gz] = GangZoneCreate (918.294555, 2043.856567, 996.507202, 2182.339599);
- GangZoneShowForAll (GZ [gz], playerCor);
- gangZonaId [gz] = playerGang [playerid];
- GZ_EXISTE [gz] [0] = 1;
- GZ_EXISTE [gz] [1] = playerCor;
- }
- }
- case 4:
- {
- if ((GZ [gz]) | | | GZ ([gz] == 555))
- {
- GZ [gz] = GangZoneCreate (1638.5530, 1284.3757, 1716.3368, 1319.3700);
- GangZoneShowForAll (GZ [gz], playerCor);
- gangZonaId [gz] = playerGang [playerid];
- GZ_EXISTE [gz] [0] = 1;
- GZ_EXISTE [gz] [1] = playerCor;
- }
- }
- case 5:
- {
- if ((GZ [gz]) | | | GZ ([gz] == 555))
- {
- GZ [gz] = GangZoneCreate (2079.743, 978.1417, 2329.653, 1171.545);
- GangZoneShowForAll (GZ [gz], playerCor);
- gangZonaId [gz] = playerGang [playerid];
- GZ_EXISTE [gz] [0] = 1;
- GZ_EXISTE [gz] [1] = playerCor;
- }
- }
- case 6:
- {
- if ((GZ [gz]) | | | GZ ([gz] == 555))
- {
- GZ [gz] = GangZoneCreate (81,74512, 1763,359, 362,0141, 2055,306);
- GangZoneShowForAll (GZ [gz], playerCor);
- gangZonaId [gz] = playerGang [playerid];
- GZ_EXISTE [gz] [0] = 1;
- GZ_EXISTE [gz] [1] = playerCor;
- }
- }
- case 7:
- {
- if ((GZ [gz]) | | | GZ ([gz] == 555))
- {
- GZ [gz] = GangZoneCreate (2099.267, 1535.143, 2290.605, 1728.547);
- GangZoneShowForAll (GZ [gz], playerCor);
- gangZonaId [gz] = playerGang [playerid];
- GZ_EXISTE [gz] [0] = 1;
- GZ_EXISTE [gz] [1] = playerCor;
- }
- }
- case 8:
- {
- if ((GZ [gz]) | | | GZ ([gz] == 555))
- {
- GZ [gz] = GangZoneCreate (1111.341, 2718.771, 1509.635, 2842,55);
- GangZoneShowForAll (GZ [gz], playerCor);
- gangZonaId [gz] = playerGang [playerid];
- GZ_EXISTE [gz] [0] = 1;
- GZ_EXISTE [gz] [1] = playerCor;
- }
- }
- default: return 1;
- }
- }
- outro
- {
- SendClientMessage (playerid, Color_Red, "[INFO GZ] e Preciso Estar in UMA gangue parágrafo Poder Comprar!");
- retornar 1;
- }
- if (GZ_EXISTE [gz] [0] == 1)
- {
- GivePlayerMoney (playerid, 0-propertyValues [propriedade]);
- format (string, sizeof (string), "comprou uma gangue% s em% s da% s gangue!", gangNames [gangZonaId [gz]], propertyNames [propriedade], gangNames [gangZonaIdAnter [gz]]);
- SendClientMessageToAll (COLOR_GREEN, string);
- }
- }
- outro
- {
- SendClientMessage (playerid, Color_Red, "[INFO GZ] Estar necessario nenhum ponto de verificação parágrafo Poder / gangue zona Comprar");
- retornar 1;
- }
- retornar 1;
- }
- retornar 0;
- }
- OnPlayerEnterCheckpoint pública (playerid)
- {
- new string [256];
- switch (getCheckpointType (playerid))
- {
- caso CP_GZ_AUTOBASE_LV:
- {
- SendClientMessage (playerid, COLOR_ORANGE, "[GZ]: Gang da Base Auto Zona:");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Valor: 185 mil dólares, Pará Comprar digite / gangue zona Comprar");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Ganhe Dinheiro + Recuperação de Vida ficando NELA");
- gz = 0;
- }
- caso CP_GZ_CONSTRUCAO_LV:
- {
- SendClientMessage (playerid, COLOR_ORANGE, "[GZ]: Gang Zona Construção:");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Valor: 175000 dólares, Pará Comprar digite / gangue zona Comprar");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Ganhe Dinheiro + Recuperação de Vida ficando NELA");
- gz = 1;
- }
- caso CP_GZ_RECINTO_LV:
- {
- SendClientMessage (playerid, COLOR_ORANGE, "[GZ]: Gang Zona Recinto:");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Valor: 200000 dólares, Pará Comprar digite / gangue zona Comprar");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Ganhe Dinheiro + Recuperação de Vida ficando NELA");
- gz = 2;
- }
- caso CP_GZ_FABRICA_LV:
- {
- SendClientMessage (playerid, COLOR_ORANGE, "[GZ]: Gang Zona Fabrica:");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Valor: 250 mil dólares americanos, Pará Comprar digite / gangue zona Comprar");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Ganhe Dinheiro + Recuperação de Vida ficando NELA");
- gz = 3;
- }
- caso CP_GZ_AEROPLACE_LV:
- {
- SendClientMessage (playerid, COLOR_ORANGE, "[GZ]: Gang Zona Local Aero:");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Valor: 190 mil dólares, Pará Comprar digite / gangue zona Comprar");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Ganhe Dinheiro + Recuperação de Vida ficando NELA");
- gz = 4;
- }
- caso CP_GZ_DISNEY_LV:
- {
- SendClientMessage (playerid, COLOR_ORANGE, "[GZ]: Gang Zona Disney:");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Valor: 270000 dólares, Pará Comprar digite / gangue zona Comprar");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Ganhe Dinheiro + Recuperação de Vida ficando NELA");
- gz = 5;
- }
- caso CP_GZ_EXERCITO_LV:
- {
- SendClientMessage (playerid, COLOR_ORANGE, "[GZ]: Gang Zona Exercito:");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Valor: 180000 dólares, Pará Comprar digite / gangue zona Comprar");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Ganhe Dinheiro + Recuperação de Vida ficando NELA");
- gz = 6;
- }
- caso CP_GZ_CALIGULAS_LV:
- {
- SendClientMessage (playerid, COLOR_ORANGE, "[GZ]: Gang Zona Caligulas:");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Valor: 210000 dólares, Pará Comprar digite / gangue zona Comprar");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Ganhe Dinheiro + Recuperação de Vida ficando NELA");
- gz = 7;
- }
- caso CP_GZ_GOLF_LV:
- {
- SendClientMessage (playerid, COLOR_ORANGE, "[GZ]: Gang Golf Zona:");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Valor: 190 mil dólares, Pará Comprar digite / gangue zona Comprar");
- SendClientMessage (playerid, COLOR_YELLOW, "[GZ]: Ganhe Dinheiro + Recuperação de Vida ficando NELA");
- gz = 8;
- }
- }
- if (getCheckpointType (playerid)> = P_OFFSET)
- {
- if (GZ_EXISTE [gz] [0] == 1)
- {
- format (string, sizeof (string), "[GZ]: ESSA Gang Gang atualmente e Zona da:% s.", gangNames [gangZonaId [gz]]);
- SendClientMessage (playerid, Color_Red, string);
- }
- }
- }
- OnFilterScriptInit pública ()
- {
- SetTimer ("GzScoreUpdate", 2001, true);
- SetTimer ("checkpointUpdate", 1100, 1);
- retornar 1;
- }
- público checkpointUpdate ()
- {
- para (novo i = 0; i <MAX_PLAYERS; i + +)
- {
- if (IsPlayerConnected (i)) {
- para (novo j = 0; J <MAX_POINTS; j + +) {
- if (isPlayerInArea (i, checkCoords [j])) {
- if (playerCheckpoint [i]! = j) {
- DisablePlayerCheckpoint (i);
- SetPlayerCheckpoint (i, checkpoints [j] [0], checkpoints [j] [1], checkpoints [j] [2], 2);
- playerCheckpoint [i] = j;
- }
- Else {}
- if (playerCheckpoint [i] == j) {
- DisablePlayerCheckpoint (i);
- playerCheckpoint [i] = 999;
- }
- }
- }
- }
- }
- }
- público isPlayerInArea (playerid, Float: dados [4])
- {
- new Float: X, Float: Y, Float: Z;
- GetPlayerPos (playerid, X, Y, Z);
- if (X> = data [0] && X <= data [2] && Y> = dados [1] && Y <= dados [3]) {
- retornar 1;
- }
- retornar 0;
- }
- strtok (const string [], índice &)
- {
- novo comprimento = strlen (string);
- while (index (<comprimento) && (string [índice] <= ""))
- {
- index + +;
- }
- novo deslocamento index =;
- novo resultado [20];
- while (index (<comprimento) && (string [índice]> '') && ((índice - offset) <(sizeof (resultado) - 1)))
- {
- resultado [índice - offset] = string [índice];
- index + +;
- }
- resultado [índice - offset] = EOS;
- resultado de retorno;
- }
- público PropertyScoreUpdate ()
- {
- novos proprietários [MAX_PROPERTIES];
- novos pagamentos [MAX_PROPERTIES];
- para (novo i = 0; i <MAX_PROPERTIES; i + +)
- proprietários [i] = 999;
- para (novo i = 0; i <MAX_PROPERTIES; i + +)
- {
- if (propertyOwner [i] <999) {
- para (novo j = 0; J <MAX_PROPERTIES; j + +) {
- (se os proprietários [j] == propertyOwner [i]) {
- pagamentos [j] + = propertyEarnings [i];
- MAX_PROPERTIES j =;
- } Else if (proprietários [j] == 999) {
- proprietários [j] = propertyOwner [i];
- pagamentos [j] + = propertyEarnings [i];
- MAX_PROPERTIES j =;
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement