13.12.2015, 16:43
I assume that this HouseInfo[somehouserandomid][HID] should be the house ID in the database, therefore, when you buy you set HouseInfo[somehouserandomid][HID] = somehouserandomid; therefore this house's database ID would become the current in-game ID which would be different from the actual database ID.

