Quote:
Originally Posted by Fyren
As far as I know, you can use enums as structs with a newer compiler as long as you declare everything using the older syntax.
Something like your above can't work because your array is literally just "any g_aConfig[8][10]". Trying to throw on another dimension is wrong.
What was the code you used originally?
|
Before this I was compiling in in 1.6.0 and it was like this:
PHP Code:
enum _:Config
{
String:Name[8],
bool:bEnabled[2]
};
[...]
new g_iConfig[8][Config];
[...]
if(g_iConfig[Name][Enabled][ID])