09.12.2017, 10:14
Error:
error 052: multi-dimensional arrays must be fully initialized
Part of the script:

error 052: multi-dimensional arrays must be fully initialized
Part of the script:


new Example[MAX_JOBS][JobData] = {
{"Job1"},
{"Job2"},
{"Job3"}
};
new Example[][] = {
{"Job1"},
{"Job2"},
{"Job3"}
};
|
You are also wasting a lot of memory, your amx file size will increase. leave the square brackets empty
For example: Код:
new Example[MAX_JOBS][JobData] = {
{"Job1"},
{"Job2"},
{"Job3"}
};
Код:
new Example[][] = {
{"Job1"},
{"Job2"},
{"Job3"}
};
|