SA-MP Forums Archive
mysql loading tune - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mysql loading tune (/showthread.php?tid=593297)



mysql loading tune - Karolukas123 - 03.11.2015

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]);



Re: mysql loading tune - Jefff - 03.11.2015

Debug! prints wherever possible

btw:
https://sampforum.blast.hk/showthread.php?tid=593213


Re: mysql loading tune - Karolukas123 - 03.11.2015

but bug just on tuning parts.. color and else load good


Re: mysql loading tune - Jefff - 03.11.2015

mysql_debug in OnGameModeInit + prints