27.01.2011, 19:45
Quote:
|
No, that doesn't work... It wouldn't work though..
It needs to use the inputtext, because it's a dialog, otherwise the dialog ain't know what the user inputs. So, anyone else who can help me? PS: Thanks for your try! ![]() |
Код:
new tmp;
tmp = dini_Int(file, "Password");
if(tmp != strval(inputtext))
{
SendClientMessage(playerid, COLOR_DRED, "[ ! ] You have entered a wrong password, repeating attempts will get you IP-Banned.");
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "Diamond Roleplay - Login", "Welcome back, please enter your password below to login.", "Login", "Cancel");
}



