11.05.2012, 20:33
You could store the objectids in an array when the objects are created.
Something along those lines.
Код:
new objectIDArray[5000]; // change 5000 to whatever your max objects is. ... new model = 700; new id = CreateObject(model, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); objectIDArray[id] = model;