multi-dimensional arrays must be fully initialized
#1

How do I fix this error?
error 052: multi-dimensional arrays must be fully initialized.
There is a peace of code.

Quote:

enum AchievmentInfo
{
Name[43],
Score,
TargetScore,
};

new PlayerAch[][MAX_PLAYERS][AchievmentInfo] = {
{"Nuzudyti 100 NPC",0,100}, // 0
{"Nuzudyti 500 NPC",0,500}, // 1
{"Nuskelti 1000 akmenu",0,1000}, //2
{"Nukirsti 1000 medziu",0,1000}, // 3
{"Suzvejoti 1000 zuvu",0,1000}, // 4
{"Sukurti 500 lauzu",0,500}, // 5
{"Surinkti 5000 judrumo bilietu",0,5000}, // 6
{"Nuzudyti 100 zmoniu laukymeje",0,100}, // 7
{"Pasigaminti transporto preimone",0,1}, // 8
{"Pasinaudoti banku",0,1}, // 9
{"Apsipritki parduotuveje",0,1}, // 10
{"Parduoti 10 skirtingu daiktu zmogui",0,10}, // 11
{"Surnikti 13 pasiekimu",0,13}, // 12
{"Parduoti 100 skirtingu daiktu i parduotuve",0,100} //13
}; // This is where i get error.

Reply
#2

Anyone Please help me!!
Reply
#3

Thanks a lot... I fixed it..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)