07.05.2011, 16:39
Код:
const MaxObjectsAndLabels=1000; new Object[MaxObjectsAndLabels]; new ObjectModelID[MaxObjectsAndLabels]; // at each //Object[id]=CreateDynamicObject(ModelID,...); // add a //ObjectModelID[id]=ModelID; // then you can obtain its ModelID by using its arrayed [id]: format(string, sizeof(string), "ObjectID:%4d ModelID:%5d", id, ObjectModelID[id]);