11.10.2014, 21:19
Quote:
No, sadly pawn only supports 3-dimensional arrays. You would have to do it like this:
pawn Code:
|
http://slice-vps.nl:7070/
pawn Code:
#include <a_samp>
#include <ppg>
enum etest
{
test1[3],
test2[3],
test3[3],
}
new test[3][3][etest];
main() {
test[0][0][test1][0] = 1;
test[0][0][test1][1] = 2;
test[0][0][test1][2] = 3;
printf("%i,%i,%i", test[0][0][test1][0], test[0][0][test1][1], test[0][0][test1][2]);
}