SA-MP Forums Archive
Help Mysql cars - 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: Help Mysql cars (/showthread.php?tid=638282)



Help Mysql cars - valelele - 29.07.2017

I have

Код:
stock AddDynamicVehicles()
{
	new query[4096];
	mysql_format(handlesql, query, sizeof(query), "SELECT * FROM `cars`");
	mysql_pquery(handlesql, query, "LoadDynamicVehicles");
	return 1;
}
This load all vehicles(130 vehicles) from mysql, but he loaded just 128 why?
If i put 150 vehicles only 128 vehicles



Re: Help Mysql cars - Shinja - 29.07.2017

show LoadDynamicVehicles


Re: Help Mysql cars - Vince - 29.07.2017

Why even format when there is nothing to format?
PHP код:
mysql_pquery(handlesql"SELECT * FROM `cars`""LoadDynamicVehicles");