26.01.2018, 17:36
I've Added Those Colored in RED
And I got those lines on command line
https://imgur.com/iYRNHbn
my password stored in file is 32363236
inputtext is 322
and its login without showing any errors
please help
Код:
if(dialogid == DIALOG_LOGIN && response == 1) { new file[256], pname[MAX_PLAYER_NAME]; //new pass[256]; GetPlayerName(playerid, pname, sizeof(pname)); format(file, sizeof(file), "Accounts/%.txt", pname); //pass = dini_Get(file, "Password"); if(isnull(inputtext)) { ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Login Information", "Please Enter Your Password, No Password Has Entered", "Enter", "Quit"); return 0; } if(strcmp(inputtext, dini_Get(file, "Password"), false) !=0) return 1; new str3[180]; format(str3, sizeof(str3), "Your Password Is %s", dini_Get(file, "Password")); printf(str3); format(str3, sizeof(str3), "INPUTTEXT Is %s", inputtext); printf(str3);
https://imgur.com/iYRNHbn
my password stored in file is 32363236
inputtext is 322
and its login without showing any errors
please help