int RemovedBuilduing[1000]; int CountRemove; void Remove(int objectid) { RemovedBuilduing[CountRemove]=objectid; CountRemove++; }