mysql 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: mysql error. (
/showthread.php?tid=68878)
mysql error. -
Think - 14.03.2009
i got a lil error
Код:
Error in mysql_query: Commands out of sync; you can't run this command now
in this code:
http://pandabeer1337.pastebin.com/f7a2e1852
Re: mysql error. -
MenaceX^ - 14.03.2009
I didn't see the command but what is mysql_query?
Re: mysql error. -
MenaceX^ - 14.03.2009
Quote:
Originally Posted by Pandabeer1337
Quote:
Originally Posted by MenaceX^
Hehh, look who's posting. You better shut up as mysql_query doesn't exist, it's samp_mysql_query.
/failed.
|
this error isn't a compiling error its an error when i use the onplayerlogin function in my server, its a console error.
|
I know, and when it happens to be it gives the same error with samp_mysql_query.
Re: mysql error. -
MenaceX^ - 14.03.2009
And the OnPlayerLogin in pastebin isn't finished.
Re: mysql error. -
Norn - 14.03.2009
Quote:
Originally Posted by Pandabeer1337
|
I don't see how rcnt is being updated? So how will this work?
Your only updated it once, and at the end of the function.
Re: mysql error. -
Think - 14.03.2009
Quote:
Originally Posted by Norn
I don't see how rcnt is being updated? So how will this work?
Your only updated it once, and at the end of the function.
|
i got this from the moderntopia script i dont know how to make it myself
Re: mysql error. -
FUNExtreme - 14.03.2009
Use mysql_get_field
Re: mysql error. -
MenaceX^ - 14.03.2009
Quote:
Originally Posted by FUNExtreme
Use mysql_get_field
|
It depends which include he uses..
Re: mysql error. -
Norn - 14.03.2009
Quote:
Originally Posted by MenaceX^
Quote:
Originally Posted by FUNExtreme
Use mysql_get_field
|
It depends which include he uses..
|
= mysql native. Mysql uses plugins, not includes.
Re: mysql error. -
Think - 14.03.2009
Quote:
Originally Posted by Norn
Quote:
Originally Posted by MenaceX^
Quote:
Originally Posted by FUNExtreme
Use mysql_get_field
|
It depends which include he uses..
|
= mysql native. Mysql uses plugins, not includes.
|
well than i dont know the parameters, i cant find it in my samp_mysql.inc