27.01.2011, 19:25
Hello,
I'm my RP server, I have a register system with dini and it uses
a udb_hash password but i want to change it to normal password.
I mean it reads from the dini user file and it needs to check the
inputtext[], i made it with Dialogs. This is the new script that I
made:
but it needs to be indexed.. I used inputtext[64] etc.. nothing works..
What's the best way to make this?
K. Regards,
I. C.
I'm my RP server, I have a register system with dini and it uses
a udb_hash password but i want to change it to normal password.
I mean it reads from the dini user file and it needs to check the
inputtext[], i made it with Dialogs. This is the new script that I
made:
Код:
new tmp; tmp = dini_Int(file, "Password"); if(inputtext != tmp) { SendClientMessage(playerid, COLOR_DRED, "[ ! ] You have entered a wrong password, repeating attempts will get you IP-Banned."); ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Login", "Welcome back, please enter your password below to login.", "Login", "Cancel"); }
What's the best way to make this?
K. Regards,
I. C.