Login Help?
#1

Fixed thanks...
Reply
#2

dini_Int returns a integer, you need to use dini_Get instead.
Reply
#3

The error is gone but now it logs the person in whether they type in the correct password or not...

pawn Код:
/fixed
Reply
#4

The password is nil. Make sure you set password (dini_Set) with characters.
Reply
#5

The password saving code:

pawn Код:
/fixed
And in the .ini file it is saved correctly, example: I type theone1234, it saves it...
Reply
#6

if(strcmp(inputtext, dini_Get(file, "Password"), true))
to
if(!strcmp(inputtext, dini_Get(file, "Password"), true))

strcmp returns 0 if the string matches.
Reply
#7

Thanks PrawkC, did not know that. It is working now thanks again.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)