Array index out of bonus
#5

Quote:
Originally Posted by Arthur Kane
Посмотреть сообщение
Arrays start at 0. You've got something misunderstood. Set the size to 39 if you have 38.
I have
Код:
new TurfInfo[37][zInfo],
	Turfs[37];
And like this in database https://i.imgur.com/WUGkCjv.png

These are all my 36 turfs . So, what number should I replace with 37 to solve?
Reply


Messages In This Thread
Array index out of bonus - by None1337 - 11.12.2017, 12:17
Re: Array index out of bonus - by Kane - 11.12.2017, 12:22
Re: Array index out of bonus - by None1337 - 11.12.2017, 12:29
Re: Array index out of bonus - by Kane - 11.12.2017, 12:31
Re: Array index out of bonus - by None1337 - 11.12.2017, 12:40
Re: Array index out of bonus - by DRIFT_HUNTER - 11.12.2017, 12:40
Re: Array index out of bonus - by None1337 - 11.12.2017, 12:47

Forum Jump:


Users browsing this thread: 1 Guest(s)