[Ajuda] error 052: multi-dimensional arrays must be fully initialized
#1

Galera sou iniciante em pawn e ta dando esse erro que nгo consigo fazer nada
C:\Users\Fabio\Desktop\xxx\xxx.pwn(1490) : error 052: multi-dimensional arrays must be fully initialized

linha do erro

Code:
 };
Alguйm ajuda pf
Reply
#2

Posta o cуdigo do array inteiro
Reply
#3

Quote:
Originally Posted by DogeMan
View Post
Posta o cуdigo do array inteiro
Ai

Code:
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{"Dragхes Alvi Verdes", "DGS", 2, 5, {-2522.5378,1216.3004,37.4283}, COR_DPA, 0}
};
esses que n ta preenchido e para por mais para frente eu jб tentei tira-los mais perciste o erro
Reply
#4

Posta o array inteiro amigo, posta o new Array[...][...]
Reply
#5

Quote:
Originally Posted by DogeMan
View Post
Posta o array inteiro amigo, posta o new Array[...][...]
ai
Code:
 #define MAX_TORCIDAS 86 // Quando for adicionar uma torcida, aumente em +1.
new PickupExitSedes;

new Torcidas[MAX_TORCIDAS][t_info] = {
{"", "Sigla", 0, 0, {0.0, 0.0, 0.0}, COR_BRANCO, 0},
{"Torcida Fiel Tricolor ", "TFT", 3, 1, {298.9993,-1155.5597,80.9099}, COR_PCA, 107},
{"Torcida Super Bangu ", "TSB", 3, 1, {439.3765,-1483.4410,30.6376}, COR_PC, 0},
{"Torcida Organizada do Vasco", "TOV", 3, 1, {736.5942,-1276.0553,13.5534}, COR_DPA, 0},
{"Torcida Jovem do Olaria ", "TJO", 3, 1, {784.2761,-1062.5435,24.8598}, COR_DPA, 0},
{"Torcida Organizada Garra Friburguense ", "TGF", 3, 3, {2808.0647,-1190.3197,25.3430}, COR_DPA, 0},
{"Torcida Organizada MaduChopp ", "TMC", 3, 1, {1218.7502,-1692.6538,19.7344}, COR_TVP, 0},
{"Torcida Jovem Caxiense ", "TJC", 3, 1, {1280.1870,-794.9151,88.3151}, COR_DPA, 0},
{"Torcida Garra Iguaзuana ", "TGI", 3, 1, {709.1729,-1422.1975,13.5312}, COR_TVP, 0},
{"Torcida Super Galo ", "TSG", 3, 1, {1022.4978,-1124.3894,23.8703}, COR_UAS, 0},
{"Torcida Jovem Goyata ", "TJG", 3, 1, {1125.5115,-2036.9897,69.8810}, COR_DPA, 0},
{"Torcida Metal Tricolor", "TMT", 3, 2, {2387.4644,-1544.8707,24.0000}, COR_UPC, 0},
{"Estopim da Fiel", "EDF", 3, 2, {2475.1243,-1528.5378,23.9999}, COR_MPC, 0},
{"Torcida Pork's Alvi Verde", "TPA", 3, 2, {2090.1619,-1807.1475,13.5469}, COR_DPA, 0},
{"Forзa Jovem do Santos", "FJS", 3, 2, {1793.2771,-1703.9200,13.5288}, COR_PDA, 0},
{"Leoes da Fabulosa", "LDF", 3, 2, {1364.4382,-1653.5050,13.3828}, COR_TDF, 0},
{"Comando Azul", "CA", 3, 2, {1686.1012,-2101.3367,13.8343}, COR_DPA, 0},
{"Torcida Uniformizada Raзa Tricolor", "TUR", 3, 2, {1658.2100,2251.7214,11.0701}, COR_LDA, 0},
{"Torcida Desorganizada Avacoelhada", "TDA", 3, 3, {2017.9132,-1282.0352,23.9721}, COR_PDA, 0},
{"Torcida Pele Vermelha", "TPV", 3, 3, {2683.8411,-1104.8311,69.3670}, COR_LDA, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{"Torcida Ser Ponte", "TSP", 3, 4, {204.6145,-233.1515,1.7786}, COR_PC, 0},
{"Torcida Jovem Guarani", "TJG", 3, 4, {627.7701,-571.7003,17.5487}, COR_PCA, 0},
{"Torcida Trem Fantasma", "TTF", 2, 5, {-2418.8660,334.0830,35.1787}, COR_TVP, 0},
{"Coxa Metal Clube", "CMC", 2, 5, {-1655.3398,1206.8250,21.1563}, COR_DPA, 0},
{"Torcida Organizada Falange Azul", "TFAz", 2, 5, {-1703.8235,1339.8689,7.1819}, COR_PDA, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{"Torcida Fla Manguaзa", "TFM", 3, 1, {-1155.2629,80.9099,152.6809}, COR_PC, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0}, // 3 TORCIDAS ?
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0}, // CONFIRMA O NOME DA MOFI
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0}, //
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{"Torcida Fъria Alvinegra", "TFAv", 2, 5, {-2624.3318,1407.6649,7.1016}, COR_PC, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{" ", " ", 999, 999, {0.0,0.0,0.0}, COR_BRANCO, 0},
{"Dragхes Alvi Verdes", "DGS", 2, 5, {-2522.5378,1216.3004,37.4283}, COR_DPA, 0}
};
Reply
#6

MAX_TORCIDAS foi definido como 86, mas vocк tem 85 torcidas nesse Array, mude MAX_TORCIDAS para 85.
Afinal, te ajudei no outro tуpico? Conseguiu resolver lб?
Reply
#7

Quote:
Originally Posted by DogeMan
View Post
MAX_TORCIDAS foi definido como 86, mas vocк tem 85 torcidas nesse Array, mude MAX_TORCIDAS para 85.
Afinal, te ajudei no outro tуpico? Conseguiu resolver lб?
erro besta da minha pate deu certo sim, obrigado ! , e a respeito do outro tуpico eu resolvi sim atй obrigado

+rep
Reply
#8

Blz, se precisar sу chamar.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)