09.12.2010, 22:33
SQL Error
09.12.2010, 22:35
What's wrong with it? Give us some error logging and stuff.
10.12.2010, 00:31
I am able to load the plugin, but then the server crashes.
10.12.2010, 01:46
Variables wont load.. When i login, nothing goes to my account. My admin level is 0, skin isnt set, no money, etc.
10.12.2010, 01:54
are you exactly sure the query is correct?
any errors in mysql.txt?
any errors in mysql.txt?
10.12.2010, 02:18
Yes, the query is correct, im selecting everything Where `Name` = theplayername
And no, there is no mysql errors.
And no, there is no mysql errors.
10.12.2010, 02:26
pawn Код:
new data[3][50]; //The data strings
new data2[11]; //The data variables
pawn Код:
new data[2][50]; //The data strings
new data2[10]; //The data variables
thats the only error i can find.. try adding if(mysql_num_rows()) then mysql_fetch_row
10.12.2010, 02:52
@The_Gangstas, I don't think having that would cause the problem.
10.12.2010, 03:06
I Checked the sa-mp log and it seems im getting this bug.
Using the Plugin.
Going to bed, will check this topic tommorow.
Quote:
[04:21:31] sscanf warning: Strings without a length are deprecated, please add a destination size. |
Quote:
sscanf(str,"p<|>s[16]s[45]dddddddddddd",data[0],data[1],data2[0],data2[0],data2[1],data2[2],data2[3],data2[4],data2[5],data2[6],data2[7],data2[8],data2[9]); |
Going to bed, will check this topic tommorow.
10.12.2010, 03:09
oh you actually meant to use data2[11]. look at the sscanf you put ,data2[0],data2[0], 2 times
and you also have 12 d's remove one.
and you also have 12 d's remove one.
« Next Oldest | Next Newest »
Users browsing this thread: 3 Guest(s)