CreateDynamicPolygon problem
#2

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:

pawn Code:
new test[4];
for( new i; i < sizeof( test); i++ ) { printf(" %d ", test); }
it unpacks "4".

2D

pawn Code:
new
    test[5][10];
printf("%d %d", sizeof (test), sizeof (test[]));
Reply


Messages In This Thread
CreateDynamicPolygon problem - by zgintasz - 02.04.2012, 16:39
Re: CreateDynamicPolygon problem - by TheArcher - 02.04.2012, 16:52
Re: CreateDynamicPolygon problem - by zgintasz - 02.04.2012, 17:21
Re: CreateDynamicPolygon problem - by TheArcher - 02.04.2012, 18:57

Forum Jump:


Users browsing this thread: 2 Guest(s)