30.10.2015, 10:01
Why are you checking something same?? (true or else true)
Also SQLite syntax would be preferably like this:
If nothing works, show your AHouseData enum.
Quote:
Код:
if(AHouseData[HouseID][Owned] == true) { Owned33 = 1; } else if(AHouseData[HouseID][Owned] == true) { Owned33 = 0; } |
Код:
UPDATE Houses SET HouseAddress = '%s', HouseName = '%s', HouseX = %f, HouseY = %f, HouseZ = %f, HouseInterior = %d, HouseMaxSlots = %d, HouseNewMaxSlots = %d, HousePrice = %d, Owned = %d, HouseOpened = %d, PlayerIsTycoon = %d, Owner = '%s', Insurance = %d WHERE HouseID = %d