SA-MP Forums Archive
An error has occured. (Error ID: 2014, Commands out of sync; you can't run this command now) - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: An error has occured. (Error ID: 2014, Commands out of sync; you can't run this command now) (/showthread.php?tid=188172)



An error has occured. (Error ID: 2014, Commands out of sync; you can't run this command now) - Tom_Dedi - 06.11.2010

Hello Guys,

I have some problems with mysql with this command I want create a Car and insert into the MYSQL database

http://pastebin.com/b4DSdd9X

and all work fine my account system all I can update and insert alle perfekt
but only after I use /auto nothing work
This Error I get
http://pastebin.com/pKwMGsH3
I use this mysql Plugin
https://sampforum.blast.hk/showthread.php?tid=56564

I need help fast

- Dedi


Re: An error has occured. (Error ID: 2014, Commands out of sync; you can't run this command now) - Tom_Dedi - 07.11.2010

I need Help fast!
Why noone can help?


Re: An error has occured. (Error ID: 2014, Commands out of sync; you can't run this command now) - Rac3r - 07.11.2010

Although SA-MP forums are great for getting answers, I suggest you also debug the command. Stick some printf() under some lines to see where it stops working.

Also, I think your string size of 128 for mystr is too small, try something higher (256, 512).


Re: An error has occured. (Error ID: 2014, Commands out of sync; you can't run this command now) - Tom_Dedi - 07.11.2010

It isnt Stop Working all work but the server send this sql code to mysql database an than mysql system nothing more work
now I set string to 512 this error is already here.