03.07.2009, 18:47
Код:
for(new houseid = 0; houseid < MAX_HOUSES; houseid++) { format(housefile, 200, "%d.txt", houseid); if(dini_Exists(housefile)) Houses[0][houseid] = CreatePickup(dini_Int(housefile, "Sold") == 0? NOT_SOLD : SOLD, 1, dini_Float(housefile, "X"), dini_Float(housefile, "Y"), dini_Float(housefile, "Z")), Houses[1][houseid] = CreatePickup(dini_Int(housefile, "Sold") == 0? NOT_SOLD : SOLD, 1, dini_Float(housefile, "InteriorX"), dini_Float(housefile, "InteriorY"), dini_Float(housefile, "InteriorZ")); }