I'm making a stupid mistake, but I can't figure out what it is.
Code:
Run time error 4: index out of bounds
For the line below with the formatex
PHP Code:
new WriteTitle[33][25]
...
new ItemsNames[1][33]
formatex(ItemsNames[0],32,"Letter: %s",WriteTitle[id])
I don't understand how it can be out of bounds. I'm taking a string of size 24 and adding 8 letters to it, then putting it in a max 32 size string. It shouldn't be possible to go over.
__________________