SA-MP Forums Archive
Syntax Error - 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: Syntax Error (/showthread.php?tid=523881)



Syntax Error - Blademaster680 - 04.07.2014

Could someone please help with this syntax error?

Код:
strcat(Query,"INSERT INTO `vehicles`(`Dealer`,`ID`,`Owner`, `Model`, `Price`,`PosX`,`PosY`,`PosZ`, `PosA`, `Color1`, `Color2`)");
					strcat(Query," VALUES (0, NULL, '%s', '%d', NULL, '%f', '%f', '%f', '%f', '%d', '%d')");
					mysql_format(dbHandle, Query, sizeof(Query), Query, pName, ID, pX, pY, pZ, pA, Col, Col);
					mysql_query(dbHandle, Query, false);
The error is on this line:
Код:
mysql_format(dbHandle, Query, sizeof(Query), Query, pName, ID, pX, pY, pZ, pA, Col, Col);



Re: Syntax Error - danish007 - 04.07.2014

Post ur full code, and the error which u got durring compiling!