mysql error.
#1

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
Reply
#2

I didn't see the command but what is mysql_query?
Reply
#3

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.
Reply
#4

And the OnPlayerLogin in pastebin isn't finished.
Reply
#5

Quote:
Originally Posted by Pandabeer1337
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
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.
Reply
#6

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
Reply
#7

Use mysql_get_field
Reply
#8

Quote:
Originally Posted by FUNExtreme
Use mysql_get_field
It depends which include he uses..
Reply
#9

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.
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)