View Single Post
Author Message
000
Member
Join Date: Jul 2022
Old 08-04-2022 , 06:43   How to format 2D Array?
Reply With Quote #1

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","2DArray36);
ExplodeString(sValue","2DArray236);

FormatEx(Formattedsizeof(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.

Last edited by DarkDeviL; 06-15-2023 at 12:51. Reason: Restore to previous version.
000 is offline