15.07.2014, 03:24
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:
for when they register, but this gets stored as 48.
Suggestions would be greatly appreciated. Compiles just fine, just doesn't like working correctly.
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);
Suggestions would be greatly appreciated. Compiles just fine, just doesn't like working correctly.