29.01.2014, 21:58
pawn Код:
enum aA {
2darray[32][128] //example.
};
static 2DARRAY[256][aA];
main() // example 3rd cell in first dimension.
{
new aString[128];
new index;
while(index < 32)
{
// Nvm loading from file before printing or actually formating string(array)
// In this case will be blank but it doesn't matter I just wanna now
// If this will print actual string.
format(aString, sizeof aString, "%s", 2DARRAY[3][2darray[index]]);
printf(aString);
++index;
}
}
2DARRAY[3][2darray][index] or 2dARRAY[3][2darray[index]] or ?