27.11.2011, 21:12
Quote:
"Password" in the enum is actually an integer, sadly, I'm flawed when it comes to Y_INI, and I can't figure out how to create password as a string properly, and the tutorial I'm looking at is wrong, I'm assuming.
However, I have switched "Password" over to a string in the enum, and changed my code around a bit; Let me test it, and I will edit my post/reply to this thread if it works or not. Give me about a minute. EDIT: Alright, after switching my "Password" to a string in every bit of code, I'm getting a different action now. It's logging me in now, even if the password is incorrect. The correct password is "hello", I type in "1" as the password, and it automatically logs me in, when it is obviously not the password. The password-checking code is: pawn Код:
EDIT2: I changed the password-checking code to the following - pawn Код:
|
pawn Код:
print(UserInfo[playerid][Password]);