26.01.2018, 16:43
I have this code
When I type WRONG password its dont show me error dialog , its continue normal
Код:
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(strcmp(inputtext,pass, false) !=0 ) return ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Login Information", "Please Enter Your Password, You Have Entered Wrong Password", "Enter", "Quit");