Run time error 4: "Array index out of bounds"
#5

Quote:
Originally Posted by X337
Посмотреть сообщение
MAX_VEHICLES is 2000 by default.
You got that array index out of bounds because you are accessing array index of VehicleInfo which doesn't exists (>= 1000). A simple fix is by declaring VehicleInfo with MAX_VEHICLES as its size or use iterator.
Thanks bro, its work.
Reply


Messages In This Thread
Run time error 4: "Array index out of bounds" - by None1337 - 15.09.2017, 14:06
Re: Run time error 4: "Array index out of bounds" - by X337 - 15.09.2017, 14:39
Re: Run time error 4: "Array index out of bounds" - by None1337 - 15.09.2017, 14:42
Re: Run time error 4: "Array index out of bounds" - by X337 - 15.09.2017, 14:48
Re: Run time error 4: "Array index out of bounds" - by None1337 - 15.09.2017, 15:47

Forum Jump:


Users browsing this thread: 1 Guest(s)