Hallo Breadfish,
ich habe 6 Errors die ich mir nicht erklären kann.
error 047: array sizes do not match, or destination array is too small
error 047: array sizes do not match, or destination array is too small
error 047: array sizes do not match, or destination array is too small
error 047: array sizes do not match, or destination array is too small
error 047: array sizes do not match, or destination array is too small
error 047: array sizes do not match, or destination array is too small
Code:
ZitatAlles anzeigennew nameas[512];
switch(RankID)
{
case 0: { nameas = "Fehler"; }
case 1: { nameas = Fraktion[FrakID][Rank1]; }
case 2: { nameas = Fraktion[FrakID][Rank2]; }
case 3: { nameas = Fraktion[FrakID][Rank3]; }
case 4: { nameas = Fraktion[FrakID][Rank4]; }
case 5: { nameas = Fraktion[FrakID][Rank5]; }
case 6: { nameas = Fraktion[FrakID][Rank6]; }
}
return nameas;
Mir wäre alles in einer ZEile, sorry.