error 047: array sizes do not match, or destination array is too small
#1

EDIT:

Solved: http://forum.sa-mp.com/showpost.php?...&postcount=203

pawn Код:
enum _:eArr
{
  eArr1,
  eArr2,
  eArr3
};

enum e
{
  eA,
  eB,
  eC[eArr],
  eD
};

func(b[eArr] = {0, ...})
{
  for(new i; i != eArr; ++i)
    printf("%i", b[i]);
}

main(){

  new a[e];

  sscanf("1 2 3 4 5", "a<i>[5]", a);

  func(a[eC]); // error 047: array sizes do not match, or destination array is too small
}
what is wrong with it and how to fix it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)