Hi, I'd like to know how to format a 2D array.
I tried:
PHP Code:
char 2DArray[3][6], 2DArray2[3][6], sValue[24], Formatted[24];
ExplodeString(sValue, ",", 2DArray, 3, 6);
ExplodeString(sValue, ",", 2DArray2, 3, 6);
FormatEx(Formatted, sizeof(Formatted), "%s %s", 2DArray[0], 2DArray2[2]);
Error:
error: 032: array index out of bounds (variable "2DArray")
error: 032: array index out of bounds (variable "2DArray2")
Best regards.