21.01.2015, 01:49
Quote:
I use "double" for my table when saving floats, so it's like:
Код:
`PosX` double NOT NULL DEFAULT '0.0' Код:
"WHERE id='%d'", |
Back in the days I used Dini and now Iґm testing a bit around with MySQL so dont get mad because of this kinda... weird question please
The "\" is set because I use two Lines in this code ^^
PHP код:
mysql_format(mysql, query, sizeof(query), "UPDATE `accounts` SET `Score`=%d, `VIP`=%d, `Money`=%d, `posX`=%.6f, `posY`=%.6f, `posZ`=%.6f WHERE `ID`=%d",\
pInfo[playerid][Score], pInfo[playerid][VIP], pInfo[playerid][Money], pos[0], pos[1], pos[2], pInfo[playerid][AccID]);