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

Hello, I keep receiving this error after updating all my available skins for my skin selection screen. However, I cannot seem to figure out what I've done wrong. I have change the new Peds[#][1] = { to the new amount of skins available. However, that doesn't seem to help. Any suggestions?

Here is the error!
pawn Код:
error 052: multi-dimensional arrays must be fully initialized
Here is the line it refers to:
pawn Код:
{311}
};
Here is the entire section:
pawn Код:
new Peds[296][1] = {
{160},//0
{256},
{263},
{262},
{261},
{260},
{259},
{258},
{257},
{256},
{253},//10
{252},
{251},
{250},
{249},
{246},
{245},
{244},
{243},
{242},
{241},//20
{240},
{239},
{238},
{237},
{236},
{235},
{234},
{233},
{232},
{231},//30
{230},
{229},
{228},
{227},
{226},
{225},
{224},
{223},
{222},
{221},
{220},
{219},
{218},
{217},
{216},
{215},
{214},
{213},
{212},
{211},//50
{210},
{209},//
{207},
{206},
{205},
{204},
{203},
{202},
{201},
{200},
{199},
{198},
{197},
{196},
{195},
{194},
{193},
{191},
{190},
{188},//70
{187},
{186},
{185},
{184},
{183},
{182},
{181},
{180},
{179},
{178},
{177},
{176},
{172},
{171},
{170},
{169},
{168},
{167},
{162},
{161},//90
{264},
{159},
{158},
{157},
{156},
{155},
{154},
{153},
{152},
{151},//100
{150},
{148},
{147},
{146},
{145},
{144},
{143},
{142},
{140},
{139},
{138},
{137},
{136},
{135},
{134},
{133},
{132},
{131},
{130},
{129},
{128},
{101},
{254},
{99},
{98},
{97},
{96},//127
{95},
{94},
{93},
{92},
{91},
{90},
{89},
{88},
{87},
{85},
{84},
{83},
{82},
{81},
{80},
{79},
{78},
{77},
{76},
{75},//147
{73},
{72},
{69},
{68},
{67},
{64},
{63},
{62},
{60},
{59},
{58},
{57},
{56},
{55},
{54},
{53},
{52},
{51},
{50},
{49},//167
{48},
{47},
{45},
{44},
{43},
{41},
{40},
{39},
{38},
{37},
{36},
{35},
{34},
{33},
{32},
{31},
{30},
{29},
{28},
{27},
{26},
{25},
{24},// 190
{23},
{22},
{21},
{20},
{19},
{18},
{17},
{16},
{15},
{14},
{13},
{11},
{1},//TRUTH
{2},//MACCER
{290},//ROSE
{291},//PAUL
{292},//CESAR
{293},//OGLOC //108
{294},//WUZIMU
{296},//JIZZY
{297},//MADDOGG
{298},//CAT
{299},//ZERO
{173},//TEAM_11
{174},
{175},
{102},//TEAM_BALLAS
{103},
{104},
{105},//TEAM_GROVE
{106},
{107},
{269},
{270},
{271},
{108},//TEAM_VAGOS
{109},
{110},
{114},//TEAM_AZTECAS
{115},// 230
{116},
{294},//TEAM_RL
{142},
{150},
{124},//TEAM_MAFIA//235
{125},
{126},
{127},
{46},
{111},//TEAM_RMAFIA 20 //240
{112},
{113},
{147},
{206},
{240},
{117},//TEAM_TRIADS //246
{118},
{120},
{247},//TEAM_BIKERS
{248},
{100},
{163},//mayor
{164},
{189},
{165},
{166},
{187},
{255},//taxi
{66},
{61},
{70},//medic
{274},
{275},
{276},
{71},
{192},//police //266
{141},
{186},
{147},
{288},
{285},
{284},
{283},
{282},
{281},
{280},
{265},
{266},
{267}, //279
{287},// NG, 280
{179},
{121},//282
{300},
{301},
{302},
{303},
{304},
{305},
{306},
{307},
{308},
{309},
{310},
{311}
};
Reply
#2

Change 296 to 295

new Peds[296][1] = {

to

new Peds[295][1] = {
Reply
#3

Quote:
Originally Posted by RaeF
Посмотреть сообщение
Change 296 to 295
Thank you, sorry about the bad math. +1 rep for helping. greatly appreciated bro.
Reply
#4

Just remove the number between the brackets. And you don't need a multidimensional array either.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)