error 001: expected token: "}", but found "["
#11

Quote:
Originally Posted by [Diablo]
Посмотреть сообщение
i think you can't have 2d arrays in enum, someone correct me if i'm wrong.

but this should compile.

pawn Код:
enum FirstEnum
{
    string_1[5],
    string_2[20]
}

enum abcd  
{  
    Float:a,  
    b,  
    c[33],  
    d,  
    e,  
    f,  
    g,  
    h[FirstEnum],
    i[5]
}
new j[abcd];
not tested.
haha only you undertood my question. thanks bro
for others, don`t just say same thing which others said, as i mentioned, u don`t always want to use "MAX_PLAYERS"
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)