Код:
if(!strcmp(option2, "interior", true))
{
new Float:pos[3];
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
new interior = GetPlayerInterior(playerid);
mysql_format(SQL_CONNECTION, query, sizeof(query), "UPDATE Business SET InteriorX = %f, InteriorY = %f, InteriorZ = %f, Interior = %f WHERE SQLID = %d LIMIT 1",
pos[0],
pos[1],
pos[2],
interior,
Business[playerid][SQLID]);
//mysql_tquery(SQL_CONNECTION, query, "GetBizID", "i", playerid);
mysql_tquery(SQL_CONNECTION, query);
SendClientMessage(playerid, COLOR_GREEN, "> Biznisz frissнtve!");
ReloadBiz();
}
First thing I'd check is that the coord tables in the database are actually floats...