The function I'm passing it to requires ItemsNames to be two-dimensional -- sometimes I pass in more than one name (NumItems).
PHP Code:
AddItems(id,NumItems,Items[],ItemsNames[][],ItemsModels[][])
{
...
}
And here's another excerpt from another function right before it calls AddItems (this does not go out of bounds):
PHP Code:
new ItemsNames[1][33]
...
formatex(ItemsNames[0],32,"%s",Temp)
__________________