SQLite problem [+REP]
#3

Why are you checking something same?? (true or else true)
Quote:
Originally Posted by Hessu
Посмотреть сообщение
Код:
	
		if(AHouseData[HouseID][Owned] == true)
		{
		    Owned33 = 1;
		}
		else if(AHouseData[HouseID][Owned] == true)
		{
		    Owned33 = 0;
		}
Also SQLite syntax would be preferably like this:
Код:
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
If nothing works, show your AHouseData enum.
Reply


Messages In This Thread
SQLite problem [+REP] - by Hessu - 30.10.2015, 04:56
Re: SQLite problem [+REP] - by PrO.GameR - 30.10.2015, 09:29
Re: SQLite problem [+REP] - by RoboN1X - 30.10.2015, 10:01
Re: SQLite problem [+REP] - by Vince - 30.10.2015, 10:02
Re: SQLite problem [+REP] - by Hessu - 30.10.2015, 10:04
Re: SQLite problem [+REP] - by Hessu - 30.10.2015, 10:07
Re: SQLite problem [+REP] - by Hessu - 30.10.2015, 10:20
Re: SQLite problem [+REP] - by RoboN1X - 30.10.2015, 10:56
Re: SQLite problem [+REP] - by Hessu - 30.10.2015, 11:10
Re: SQLite problem [+REP] - by RoboN1X - 30.10.2015, 11:23

Forum Jump:


Users browsing this thread: 2 Guest(s)