2d array in enum?
#1

Is it possible to use 2d array in enum?
ex
pawn Код:
enum a1 {
Int,
1d[64],
2d[128][256] // ?
}
new A_1[a1];

// So ..
for(new aA = 0; aA < 128; aA++) if(strcmp("255 chars long text..", A_1[2d][aA]) ...
Reply
#2

Take a look https://sampforum.blast.hk/showthread.php?tid=373107
Reply
#3

Cool, thanks for help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)