13.07.2016, 21:06
Here's an example from my script:
Код:
format(query, sizeof(query), "UPDATE `garages` SET `x` = %f, `y` = %f, `z` = %f, `ex` = %f, `ey` = %f, `ez` = %f, `entangle` = %f, `extangle` = %f WHERE `id` = %d", GarageInfo[garage][gEnterX], GarageInfo[garage][gEnterY], GarageInfo[garage][gEnterZ], GarageInfo[garage][gExitX], GarageInfo[garage][gExitY], GarageInfo[garage][gExitZ], GarageInfo[garage][gEnterAngle], GarageInfo[garage][gExitAngle], GarageInfo[garage][gid]); mysql_function_query(dbHandle, query, false, "", "");