08.11.2010, 15:55
(
Последний раз редактировалось Kyle; 08.11.2010 в 17:14.
)
I've got this code:
The problem is that the varible:
HouseFloats[HouseID2][HouseCoordsX];
Gives me 0.000. It looks like the problem is the query although its correct. I dont know whats up with it.
pawn Код:
format(query, 256, "SELECT House-CoordsX FROM houses WHERE House-ID = '%d'", HouseID2);
mysql_query(query);
mysql_store_result();
mysql_fetch_float(HouseFloats[HouseID2][HouseCoordsX]);
HouseFloats[HouseID2][HouseCoordsX];
Gives me 0.000. It looks like the problem is the query although its correct. I dont know whats up with it.