Is that possible? In array structure ...
#1

....
Reply
#2

try this

enum gFaction
{
gStatus,
gName,
gRank[11][30]
}

new Faction[MAX_SOME][gFaction];
Reply
#3

....
Reply
#4

so its impossible if he said You can't have multi-dimensional arrays in enums
Reply
#5

....
Reply
#6

If its okay,no
Reply
#7

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)