02.04.2012, 16:52
Well sizeof returns the size in elements of an array. vertexai has 2D array form so it doesn't know what array to extract.
Example of usage:
it unpacks "4".
2D
Example of usage:
pawn Code:
new test[4];
for( new i; i < sizeof( test); i++ ) { printf(" %d ", test); }
2D
pawn Code:
new
test[5][10];
printf("%d %d", sizeof (test), sizeof (test[]));