09.06.2016, 08:16
I'm having trouble with enumerations, doing something wrong but have no idea what
This is what i'm trying to do
I want that to be a string with 12 options
So for example i could do
This is what i'm trying to do
pawn Код:
enum connections_Data {
cuniqueID,
cname[126],
cleader[126],
cmaxranks,
crankname[13][24],
cbank
};
new connectionData[999][connections_Data];
pawn Код:
crankname[13][24],
So for example i could do
pawn Код:
format(connectionData[crankname][1], 24, "example 1");
format(connectionData[crankname][2], 24, "example 2");