Dialog Problem +REP
#2

what I can already tell you is, that creating
pawn Код:
new LoginAttempts[MAX_PLAYERS];
at the point you did it (OnDialogResponse - even at the if(dialogid == ..... part) does not make any sense
the LOCAL variable is recreated each time you reenter the password, which sets it to 0 each time.
You need to create it as a GLOBAL variable (outside of any callback)


I'm not familar with the INI useage, but I suspect the failure in this
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
line... but as I said, it can be completely correct, as I don't know at all what INI_ParseFile does and what the syntax of it is


EDIT: ah yea and where are you getting your infos like "PlayerInfo[playerid][pPass]" from inbefore?
pawn Код:
if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
that's where you use it, but where do you get it?
Reply


Messages In This Thread
Dialog Problem +REP - by Youssef214 - 02.10.2014, 20:42
Re: Dialog Problem +REP - by Sascha - 02.10.2014, 21:05
Re: Dialog Problem +REP - by iFiras - 02.10.2014, 21:10
Re: Dialog Problem +REP - by Youssef214 - 02.10.2014, 21:39
Re: Dialog Problem +REP - by iFiras - 02.10.2014, 21:42
Re: Dialog Problem +REP - by Youssef214 - 02.10.2014, 21:43
Re: Dialog Problem +REP - by Youssef214 - 03.10.2014, 08:10
Re: Dialog Problem +REP - by Eth - 03.10.2014, 08:57
Re: Dialog Problem +REP - by AroseKhanNiazi - 03.10.2014, 09:52
Re: Dialog Problem +REP - by Eth - 03.10.2014, 09:59

Forum Jump:


Users browsing this thread: 2 Guest(s)