13.01.2015, 21:17
Nas Floats ao invйs de usar:
Tente usar assim:
"64.53"
"64.532"
"64.5321"
Bom eu acho que possa ser isto, jб que estб dando tiro no escuro custa nada testar.
Se ajudei avisa
PHP код:
%f
"64.53"
PHP код:
%.2f
PHP код:
%.3f
PHP код:
%.4f
PHP код:
mysql_format(ConnectMYSQL, query, sizeof(query), "INSERT INTO `houses` (`ID`, `OutPosX`, `OutPosY`, `OutPosZ`, `InPosX`, `InPosY`, `InPosZ`, `World`, `Price`, `Interior`, `Locked`, `Dono`, `FHQ`, `Money`, `Maconha`, `Owner`) VALUES ('%d', '%.4f', '%.4f', '%.4f', '%.4f', '%.4f', '%.4f', '%d', '%d', '%d', '%d', '%s', '%d', '%d', '%d', '%d')"
,
HouseInfo[houseid][ID],
HouseInfo[houseid][OutPosX],
HouseInfo[houseid][OutPosY],
HouseInfo[houseid][OutPosZ],
HouseInfo[houseid][InPosX],
HouseInfo[houseid][InPosY],
HouseInfo[houseid][InPosZ],
HouseInfo[houseid][World],
HouseInfo[houseid][Price],
HouseInfo[houseid][Interior],
HouseInfo[houseid][Locked],
HouseInfo[houseid][Dono],
HouseInfo[houseid][FHQ],
HouseInfo[houseid][Money],
HouseInfo[houseid][Maconha],
HouseInfo[houseid][Owner])
;
Se ajudei avisa