#define MAX_HOUSES 1000for(new i = 0; i != MAX_HOUSES; i++){ printf("#define CP_%i %i", i + 1, i);}
New Housecp[MAX_HOUSES];Housecp[houseid] = CreateDynamicCP(...);