06.04.2019, 14:46
It will be these two together:
CreateDynamicObject returns something over 998, leading to the OOB Markski mentioned.
Код:
SpawnedObject[objects] = CreateDynamicObject(objectid, X, Y, Z+1, 0, 0, 0); ObjectSpawned[SpawnedObject[objects]] = 1; // <----- this line