28.04.2018, 02:59
Along with that above fix mentioned by @Logic_ , You are missing ` at hID.
Its not necessary to use `, you can simply avoid it.
PHP код:
mysql_format(g_iHandle, query, sizeof(query), "INSERT INTO `garages` SET `hID` = %d, `GarageOwner` = '%s', `GaragePosX` = %f, `GaragePosY` = %f, `GaragePosZ` = %f, `GaragePosA` = %f, `GarageIntX` = %f,`GarageIntY` = %f, `GarageIntZ` = %f, `GarageIntA` = %f, `VirtualWorld` = %d, `Interior` = %d, `Status` = %d, `ForSale` = %d, `Price` = %d WHERE `gID`=%d",
GarageInfo[id][hID],