11.06.2013, 21:32
Hello, earlier today I made a gas leak system.
I have an enum etc, but I'm receiving array should be indexed errors.
Here is an example line that is receiving the error:
Here is the enum:
I have an enum etc, but I'm receiving array should be indexed errors.
Here is an example line that is receiving the error:
Код:
GasInformation[GasType] = 1;
Код:
enum glInfo { GasType[3], GasObjects[5], GasSize = 100, GasLeak = false } new GasInformation[glInfo];