SA-MP Forums Archive
Accounts.db problem - 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: Accounts.db problem (/showthread.php?tid=459054)



Accounts.db problem - 3MY - 20.08.2013

Hi, i'm begginer in sqlite, i edited something in accounts.db after i clicked Save, I stopped and restarted the server , the problem is that players can login into their account but the are empty, the stats is clear. I pu a backup of the db but I have the same problem...


Re: Accounts.db problem - Alexis1999 - 20.08.2013

After your making your db_query to load the player's values. ( "SELECT * FROM" etc ). Make sure to print the query so you can see if the whole query gets executed. If the query stops at some point like SELECT *. Then it means that your query array is too small for the whole command. I myself always create big queries for example.

pawn Код:
new szQuery[300];
Just in case


Re: Accounts.db problem - Mean - 20.08.2013

Would be cool if you provided us with some code.