- Автор темы
- #1
При компиляции выскакивает это:
C:\Users\user\Desktop\Новая папка (2)\Page RP (MazeHost)\gamemodes\new.pwn(4905) : error 052: multi-dimensional arrays must be fully initialized
C:\Users\user\Desktop\Новая папка (2)\Page RP (MazeHost)\gamemodes\new.pwn(5056) : error 052: multi-dimensional arrays must be fully initialized
C:\Users\user\Desktop\Новая папка (2)\Page RP (MazeHost)\gamemodes\new.pwn(38846) : loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2017, ITB CompuPhase
2 Errors.
Вот код 1 части:
new gATMArea[ATM_COUNT];
// Фракции/Подфракции
//new gPromoCode[PROMO_COUNT][3] = {"tespromo", "arifgay", "Чида"};
new gFractionName[FRACTION_COUNT][48] = {"Инструкторы","МЗ","Ballas","Grove Street","Varios Los Aztecas","Los Santos Vagos","Rifa","МО","МВД","Новостная сеть","АШ","Yakuza","LCN","Russian Mafia","ФБР"};
new gFractionRankCount[FRACTION_COUNT] = {8,10,10,10,10,10,10,16,14,10,10,8,8,8,10,10,10,15};
new gFractionRankName[FRACTION_COUNT][18][32] = {
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""}
};
Код 2 части:
new gFractionSalary[FRACTION_COUNT][19] = {
{1250,1750,2500,3500,4500,6000,7500,9000},// Автошкола
{1500,2000,2500,3000,4000,4500,5500,6500,7500,9000},// Больницы
{1000,1300,1500,2000,2500,3000,5000,6000,7000,9000},//The Ballas
{1000,1300,1500,2000,2500,3000,5000,6000,7000,9000},//Grove Street
{1000,1300,1500,2000,2500,3000,5000,6000,7000,9000},//Aztecas
{1000,1300,1500,2000,2500,3000,5000,6000,7000,9000},//Vagos
{1000,1300,1500,2000,2500,3000,5000,6000,7000,9000},//Rifa
{1400,1800,2000,2500,2700,2900,3100,3500,3800,4000,5500,7000,7500,8500,10000,11000},//Армии
{1200,1500,1750,2000,2700,3000,3400,4000,4500,5000,5500,6000,6500,7000,8000,9500,11000},// МВД
{1300,1600,2000,2300,2700,3000,4500,5000,5500,6500,8000},// Новости
{2000,2500,3000,4000,5000,6000,7500,9000,10000,14000},// Администрация штата
{2500,3000,3500,4000,4500,5000,5500,6000,6500,7000},// YAKUZA
{2500,3000,3500,4000,4500,5000,5500,6000,6500,7000}, // LCN
{2500,3000,3500,4000,4500,5000,5500,6000,6500,7000},// RM
{1500,2500,3100,3700,4200,4800,5500,6500,7000,
8000,8500,9500,10000,11000,12500,15000} // ФБР
};
C:\Users\user\Desktop\Новая папка (2)\Page RP (MazeHost)\gamemodes\new.pwn(4905) : error 052: multi-dimensional arrays must be fully initialized
C:\Users\user\Desktop\Новая папка (2)\Page RP (MazeHost)\gamemodes\new.pwn(5056) : error 052: multi-dimensional arrays must be fully initialized
C:\Users\user\Desktop\Новая папка (2)\Page RP (MazeHost)\gamemodes\new.pwn(38846) : loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2017, ITB CompuPhase
2 Errors.
Вот код 1 части:
new gATMArea[ATM_COUNT];
// Фракции/Подфракции
//new gPromoCode[PROMO_COUNT][3] = {"tespromo", "arifgay", "Чида"};
new gFractionName[FRACTION_COUNT][48] = {"Инструкторы","МЗ","Ballas","Grove Street","Varios Los Aztecas","Los Santos Vagos","Rifa","МО","МВД","Новостная сеть","АШ","Yakuza","LCN","Russian Mafia","ФБР"};
new gFractionRankCount[FRACTION_COUNT] = {8,10,10,10,10,10,10,16,14,10,10,8,8,8,10,10,10,15};
new gFractionRankName[FRACTION_COUNT][18][32] = {
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""},
{"","","","","","","","","","","","" ,"","","","","",""}
};
Код 2 части:
new gFractionSalary[FRACTION_COUNT][19] = {
{1250,1750,2500,3500,4500,6000,7500,9000},// Автошкола
{1500,2000,2500,3000,4000,4500,5500,6500,7500,9000},// Больницы
{1000,1300,1500,2000,2500,3000,5000,6000,7000,9000},//The Ballas
{1000,1300,1500,2000,2500,3000,5000,6000,7000,9000},//Grove Street
{1000,1300,1500,2000,2500,3000,5000,6000,7000,9000},//Aztecas
{1000,1300,1500,2000,2500,3000,5000,6000,7000,9000},//Vagos
{1000,1300,1500,2000,2500,3000,5000,6000,7000,9000},//Rifa
{1400,1800,2000,2500,2700,2900,3100,3500,3800,4000,5500,7000,7500,8500,10000,11000},//Армии
{1200,1500,1750,2000,2700,3000,3400,4000,4500,5000,5500,6000,6500,7000,8000,9500,11000},// МВД
{1300,1600,2000,2300,2700,3000,4500,5000,5500,6500,8000},// Новости
{2000,2500,3000,4000,5000,6000,7500,9000,10000,14000},// Администрация штата
{2500,3000,3500,4000,4500,5000,5500,6000,6500,7000},// YAKUZA
{2500,3000,3500,4000,4500,5000,5500,6000,6500,7000}, // LCN
{2500,3000,3500,4000,4500,5000,5500,6000,6500,7000},// RM
{1500,2500,3100,3700,4200,4800,5500,6500,7000,
8000,8500,9500,10000,11000,12500,15000} // ФБР
};