Array index out of bounds
#11

It will be these two together:

Код:
SpawnedObject[objects] = CreateDynamicObject(objectid, X, Y, Z+1, 0, 0, 0);


    ObjectSpawned[SpawnedObject[objects]] = 1; //  <-----  this  line
CreateDynamicObject returns something over 998, leading to the OOB Markski mentioned.
Reply


Messages In This Thread
Array index out of bounds - by SaiyanZ - 03.04.2019, 16:32
Re: Array index out of bounds - by raydx - 03.04.2019, 16:48
Re: Array index out of bounds - by Viggo - 03.04.2019, 17:12
Re: Array index out of bounds - by v1k1nG - 03.04.2019, 17:50
Re: Array index out of bounds - by SaiyanZ - 04.04.2019, 12:42
Re: Array index out of bounds - by raydx - 04.04.2019, 12:58
Re: Array index out of bounds - by Pottus - 06.04.2019, 03:16
Re: Array index out of bounds - by Markski - 06.04.2019, 05:07
Re: Array index out of bounds - by SaiyanZ - 06.04.2019, 12:30
Re: Array index out of bounds - by Markski - 06.04.2019, 14:19
Re: Array index out of bounds - by Y_Less - 06.04.2019, 14:46

Forum Jump:


Users browsing this thread: 2 Guest(s)