[0.3z] TKSave not saving properly. - 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: [0.3z] TKSave not saving properly. (
/showthread.php?tid=525986)
[0.3z] TKSave not saving properly. -
FutileFreedom - 15.07.2014
Greetings!
I'm a complete noob with PAWN Scripting but over the past 24 hours, I've crammed a whole crapton of posts and I'm mashing a ton of crap together to make my own login / register system for a private server. Unfortunately, in the cource of using
TKSave, it doesn't like to store the proper integers to the database. I wanted to save 1, but instead it saves 49, and when I want to save 0 for the integer, it likes to save 48.
I've been using:
Код:
sql_setplayerint(playerid, "u_level", 0);
for when they register, but this gets stored as 48.
Suggestions would be greatly appreciated. Compiles just fine, just doesn't like working correctly.
Re: [0.3z] TKSave not saving properly. -
Marricio - 15.07.2014
Why do you use that include when you have better options and it's not very supported? Try out
BlueG MySQL plugin.
Re: [0.3z] TKSave not saving properly. -
FutileFreedom - 15.07.2014
I'll go ahead and give that a shot, see what I can come up with.