[Error+Warnings]warning 228: length of initialler exceeds size of the enum field
#2

Code:
enum aHouseCar{CarName[24],CarModel,CarCost};
new VHouseCar[12][aHouseCar] =
{
{"Landstalker", 400, 20000},
{"Bravura", 401, 18000}, // line 17
{"Sentinel", 405, 17500}, // line 18
{"Manana", 410, 16000}, // line 19
{"Infernus", 411, 32000},
{"Cheetah", 415, 30000},
{"Turismo", 451, 35000},
{"SuperGT", 506, 30000},
{"Bullet", 541, 34000},
{"Uranus", 558, 27000},
{"Sultan", 560, 28000},
{"Elegy", 562, 28000},
};
I think that will work?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)