03.11.2015, 19:15
hey, why this not work ?
Код:
mysql_fetch_field_row(Query, "Tune0"); vehicleDB[vehicleid][vTune][0] = strval(Query); mysql_fetch_field_row(Query, "Tune1"); vehicleDB[vehicleid][vTune][1] = strval(Query); mysql_fetch_field_row(Query, "Tune2"); vehicleDB[vehicleid][vTune][2] = strval(Query); mysql_fetch_field_row(Query, "Tune3"); vehicleDB[vehicleid][vTune][3] = strval(Query); mysql_fetch_field_row(Query, "Tune4"); vehicleDB[vehicleid][vTune][4] = strval(Query); mysql_fetch_field_row(Query, "Tune5"); vehicleDB[vehicleid][vTune][5] = strval(Query); mysql_fetch_field_row(Query, "Tune6"); vehicleDB[vehicleid][vTune][6] = strval(Query); mysql_fetch_field_row(Query, "Tune7"); vehicleDB[vehicleid][vTune][7] = strval(Query); mysql_fetch_field_row(Query, "Tune8"); vehicleDB[vehicleid][vTune][8] = strval(Query); mysql_fetch_field_row(Query, "Tune9"); vehicleDB[vehicleid][vTune][9] = strval(Query); mysql_fetch_field_row(Query, "Tune10"); vehicleDB[vehicleid][vTune][10] = strval(Query); mysql_fetch_field_row(Query, "Tune11"); vehicleDB[vehicleid][vTune][11] = strval(Query); mysql_fetch_field_row(Query, "Tune12"); vehicleDB[vehicleid][vTune][12] = strval(Query); AddVehicleComponent(vehicleid, vehicleDB[vehicleid][vTune][0]); AddVehicleComponent(vehicleid, vehicleDB[vehicleid][vTune][1]); AddVehicleComponent(vehicleid, vehicleDB[vehicleid][vTune][2]); AddVehicleComponent(vehicleid, vehicleDB[vehicleid][vTune][3]); AddVehicleComponent(vehicleid, vehicleDB[vehicleid][vTune][4]); AddVehicleComponent(vehicleid, vehicleDB[vehicleid][vTune][5]); AddVehicleComponent(vehicleid, vehicleDB[vehicleid][vTune][6]); AddVehicleComponent(vehicleid, vehicleDB[vehicleid][vTune][7]); AddVehicleComponent(vehicleid, vehicleDB[vehicleid][vTune][8]); AddVehicleComponent(vehicleid, vehicleDB[vehicleid][vTune][9]); AddVehicleComponent(vehicleid, vehicleDB[vehicleid][vTune][10]); AddVehicleComponent(vehicleid, vehicleDB[vehicleid][vTune][11]); AddVehicleComponent(vehicleid, vehicleDB[vehicleid][vTune][12]);