Posts: 481
Threads: 19
Joined: Feb 2012
try this
enum gFaction
{
gStatus,
gName,
gRank[11][30]
}
new Faction[MAX_SOME][gFaction];
Posts: 481
Threads: 19
Joined: Feb 2012
so its impossible if he said You can't have multi-dimensional arrays in enums
Posts: 481
Threads: 19
Joined: Feb 2012
Posts: 646
Threads: 148
Joined: Feb 2010
Reputation:
0
Limit is 3 dimension so if you use like
enum _something_
{
one,
two[2],
three[3][2]
};
new variable[MAX_PLAYERS][_something_]; // that's already two dimensions
if you use
variable[0][one] = (5); // you use two dimensions
variable[0][two][0] = (1); // this is third dimension
variable[0][three][1][2] = (2); // you pass a limit! so you can't use two dimensions in enum