ta dando esse erro -
caiomali06 - 06.10.2016
error 052: multi-dimensional arrays must be fully initialized
error 052: multi-dimensional arrays must be fully initialized
codigo :
// -=-=-=-=-=-= GangZones =-=-=-=-=-=-
#define MAX_GZS 31
new ChecksDominio[MAX_GZS];
new GangZonas[MAX_GZS];
new GZDono[MAX_GZS][49] = {
"CMD", "CMD", "CMD", "CMD", "CMD", "CMD",
"A.D.A", "A.D.A", "A.D.A", "A.D.A", "A.D.A", "A.D.A", "A.D.A",
"TCP", "TCP", "TCP", "TCP", "TCP", "TCP", "TCP",
"MLC", "MLC", "MLC", "MLC", "MLC", "MLC", "MLC",
"BOPE", "CORE", "EXC"
};
new ContagemDominio[MAX_GZS];
enum gz_info
{
GZName[50],
GZColor,
Float:GZCoords[4],
Float:CheckCoords[3]
};
new GangZone[MAX_GZS][gz_info] = {
{"Cidade Alta", COR_CV, {537.1823, 2522.421, 1214.499, 2954.502}, {1019.3672,2870.0068,33.8850}},
{"PENHA", COR_CV, {1867.058105,-1063.402099,2843.058105,-647.402099}, {2435.7520,-941.1840,82.5900}},
{"Nova Holanda", COR_CV, {1787.538818, 583.614379, 2435.538818, 831.614379}, {2122.4080,712.6032,11.3516}},
{"Chapadao", COR_CV, {-461.091644, 1232.424560, -61.091644, 1656.424560}, {-298.561218, 1539.406250, 75.099380}},
{"Cajueiro", COR_CV, {-903.812561, 2271.076660, -647.812561, 2791.076660}, {-710.1796,2342.2458,126.9647}},
{"Final Feliz", COR_CV, {2223.7058,70.4278, 2769.3718,352.7396}, {2565.7437,227.9771,54.8343}},
{"Vila Vintem", COR_ADA, {2716.233, 595.2032, 2958.334, 811.8149}, {2905.3572,743.6707,33.3397}},
{"Pedreira", COR_ADA, {-298.2797,2000.2406, -590.4188,1662.1954}, {-459.7949,1728.3433,70.1638}},
{"Mineira", COR_ADA, {490.4708, -58.38938, 969.2637, 221.8796}, {635.5655,99.7279,63.7037}},
{"Juramento", COR_ADA, {-210.2018, 665.6389, 256.9133, 887.5186}, {26.3818,782.8961,31.7438}},
{"Jorge Turco", COR_ADA, {-2672.132080, -692.805725, -2288.132080, -340.805725}, {-2396.5908,-596.4159,132.6484}},
{"Machado (B. Roxo)", COR_ADA, {2761.1575,60.4127, 2228.1479,-376.8069}, {2619.6802,-240.7940,39.6083}},
{"Largatixa", COR_ADA, {-547.021728, -144.564575, -219.021728, 263.435424}, {-381.0362,-99.3292,48.0390}},
{"Dende", COR_TCP, {1034.827636, -2182.773193, 1450.827636, -1902.773193}, {1111.7350,-2047.3805,74.6135}},
{"Amarelinho", COR_TCP, {-70.06725, 1880.138, 186.846, 2242.152}, {88.7675,2112.4631,17.8834}},
{"Vigario Geral", COR_TCP, {1686.503906, 2609.878906, 3110.503906, 3129.878906}, {2025.2478,2915.6492,47.8231}},
{"Baixa do Sapateiro", COR_TCP, {1337.890991, 641.673583, 1585.890991, 833.673583}, {1512.230957, 756.280090, 10.593424}},
{"Serrinha", COR_TCP, {-1381.189086, 2177.129638, -1037.189086, 2705.129638}, {-1249.6959,2292.8030,130.8740}},
{"Camarб", COR_TCP, {-1567.230957, -1292.868408, -1311.230957, -916.868347}, {-1428.7535,-955.9401,200.8976}},
{"Sapo de Camarб", COR_TCP, {-333.276977, -1390.001586, -85.276992, -1078.001586}, {-223.8313,-1209.2739,7.7652}},
{"Morro do Fuba", COR_MLC, {70.06725, -1529.802, 502.1487, -1097.72}, {296.2439,-1175.2896,80.9141}},
{"Tanque", COR_MLC, {889.4371,1827.7388, 1024.8475,2476.4353}, {954.4212,2219.3545,10.8203}},
{"Cezarao", COR_MLC, {2707.5806,868.5449, 2986.3208,1388.8152}, {2955.0647,972.8265,30.8942}},
{"Carobinha", COR_MLC, {-2918.362060, 2231.274414, -2734.362060, 2479.274414}, {-2832.8625,2294.6313,109.3219}},
{"Aзo", COR_MLC, {-1235.533203, -1351.771728, -979.533203, -887.771728}, {-1047.9823,-943.2230,129.2188}},
{"Alvorada", COR_MLC, {-387.802764, -2851.677734, -99.802764, -2611.677734}, {-353.4096,-2684.2466,128.0157}},
{"Prainha", COR_MLC, {2505.3308, -1636.3718, 2831.9673, -1055.5938}, {2730.0366,-1202.2654,67.8816}},
{"Tavares Bastos", COR_BOPE, {-2748.3647, 709.2975, -2456.3523, 1155.8032}, {-2585.7249,1019.4022,76.8576}},
{"Vila do Joгo", COR_EXC, {1077.463134, 645.124511, 1341.463134, 845.124511}, {1161.5991,698.0364,10.6885}},
{"Complexo do Alemгo", COR_CORE, {1144.424926, -966.570739, 1688.424926, -422.570739}, {1526.2898,-663.7401,94.7500}}
};
// -=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-
Re: ta dando esse erro -
nasser - 06.10.2016
Troque o
eu acho que й isso vocк botou 49 sendo que sу tem 30 '-
Re: ta dando esse erro -
FalcaoNC - 06.10.2016
PHP код:
// -=-=-=-=-=-= GangZones =-=-=-=-=-=-
#define MAX_GZS 31
new ChecksDominio[MAX_GZS];
new GangZonas[MAX_GZS];
new GZDono[MAX_GZS][30] = { // Se nгo for 30 coloque 31.
"CMD", "CMD", "CMD", "CMD", "CMD", "CMD",
"A.D.A", "A.D.A", "A.D.A", "A.D.A", "A.D.A", "A.D.A", "A.D.A",
"TCP", "TCP", "TCP", "TCP", "TCP", "TCP", "TCP",
"MLC", "MLC", "MLC", "MLC", "MLC", "MLC", "MLC",
"BOPE", "CORE", "EXC"
};
new ContagemDominio[MAX_GZS];
enum gz_info
{
GZName[50],
GZColor,
Float:GZCoords[4],
Float:CheckCoords[3]
};
new GangZone[MAX_GZS][gz_info] = {
{"Cidade Alta", COR_CV, {537.1823, 2522.421, 1214.499, 2954.502}, {1019.3672,2870.0068,33.8850}},
{"PENHA", COR_CV, {1867.058105,-1063.402099,2843.058105,-647.402099}, {2435.7520,-941.1840,82.5900}},
{"Nova Holanda", COR_CV, {1787.538818, 583.614379, 2435.538818, 831.614379}, {2122.4080,712.6032,11.3516}},
{"Chapadao", COR_CV, {-461.091644, 1232.424560, -61.091644, 1656.424560}, {-298.561218, 1539.406250, 75.099380}},
{"Cajueiro", COR_CV, {-903.812561, 2271.076660, -647.812561, 2791.076660}, {-710.1796,2342.2458,126.9647}},
{"Final Feliz", COR_CV, {2223.7058,70.4278, 2769.3718,352.7396}, {2565.7437,227.9771,54.8343}},
{"Vila Vintem", COR_ADA, {2716.233, 595.2032, 2958.334, 811.8149}, {2905.3572,743.6707,33.3397}},
{"Pedreira", COR_ADA, {-298.2797,2000.2406, -590.4188,1662.1954}, {-459.7949,1728.3433,70.1638}},
{"Mineira", COR_ADA, {490.4708, -58.38938, 969.2637, 221.8796}, {635.5655,99.7279,63.7037}},
{"Juramento", COR_ADA, {-210.2018, 665.6389, 256.9133, 887.5186}, {26.3818,782.8961,31.7438}},
{"Jorge Turco", COR_ADA, {-2672.132080, -692.805725, -2288.132080, -340.805725}, {-2396.5908,-596.4159,132.6484}},
{"Machado (B. Roxo)", COR_ADA, {2761.1575,60.4127, 2228.1479,-376.8069}, {2619.6802,-240.7940,39.6083}},
{"Largatixa", COR_ADA, {-547.021728, -144.564575, -219.021728, 263.435424}, {-381.0362,-99.3292,48.0390}},
{"Dende", COR_TCP, {1034.827636, -2182.773193, 1450.827636, -1902.773193}, {1111.7350,-2047.3805,74.6135}},
{"Amarelinho", COR_TCP, {-70.06725, 1880.138, 186.846, 2242.152}, {88.7675,2112.4631,17.8834}},
{"Vigario Geral", COR_TCP, {1686.503906, 2609.878906, 3110.503906, 3129.878906}, {2025.2478,2915.6492,47.8231}},
{"Baixa do Sapateiro", COR_TCP, {1337.890991, 641.673583, 1585.890991, 833.673583}, {1512.230957, 756.280090, 10.593424}},
{"Serrinha", COR_TCP, {-1381.189086, 2177.129638, -1037.189086, 2705.129638}, {-1249.6959,2292.8030,130.8740}},
{"Camarб", COR_TCP, {-1567.230957, -1292.868408, -1311.230957, -916.868347}, {-1428.7535,-955.9401,200.8976}},
{"Sapo de Camarб", COR_TCP, {-333.276977, -1390.001586, -85.276992, -1078.001586}, {-223.8313,-1209.2739,7.7652}},
{"Morro do Fuba", COR_MLC, {70.06725, -1529.802, 502.1487, -1097.72}, {296.2439,-1175.2896,80.9141}},
{"Tanque", COR_MLC, {889.4371,1827.7388, 1024.8475,2476.4353}, {954.4212,2219.3545,10.8203}},
{"Cezarao", COR_MLC, {2707.5806,868.5449, 2986.3208,1388.8152}, {2955.0647,972.8265,30.8942}},
{"Carobinha", COR_MLC, {-2918.362060, 2231.274414, -2734.362060, 2479.274414}, {-2832.8625,2294.6313,109.3219}},
{"Aзo", COR_MLC, {-1235.533203, -1351.771728, -979.533203, -887.771728}, {-1047.9823,-943.2230,129.2188}},
{"Alvorada", COR_MLC, {-387.802764, -2851.677734, -99.802764, -2611.677734}, {-353.4096,-2684.2466,128.0157}},
{"Prainha", COR_MLC, {2505.3308, -1636.3718, 2831.9673, -1055.5938}, {2730.0366,-1202.2654,67.8816}},
{"Tavares Bastos", COR_BOPE, {-2748.3647, 709.2975, -2456.3523, 1155.8032}, {-2585.7249,1019.4022,76.8576}},
{"Vila do Joгo", COR_EXC, {1077.463134, 645.124511, 1341.463134, 845.124511}, {1161.5991,698.0364,10.6885}},
{"Complexo do Alemгo", COR_CORE, {1144.424926, -966.570739, 1688.424926, -422.570739}, {1526.2898,-663.7401,94.7500}}
};
// -=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-
Se caso tiver isso de '' A.D.A '' ''C.V'' in-game, minha dica й retirar. Jб deu muitos problemas com servidores assim, '' A.D.A'' coloque ''LLL'' ou algo do tipo.
Re: ta dando esse erro -
caiomali06 - 06.10.2016
muito obg mano kkk descobri ja