Hi, I want to ask how to declare a 2D string array with initial values on SoucePawn?
on Java, it should be like that
Code:
String[][] g_sItems =
{
{"item1",},
{"item2","item3",}
};
on SoucePawn, I tried
Code:
char g_sItems[][][] =
{
{"item1",},
{"item2","item3",}
};
but the compiler gives me "error 018: initialization data exceeds declared size."