PDA

View Full Version : Help me fix the login


Shinobu
15/04/2014, 08:00 AM
1
http://image.ohozaa.com/i/2c0/1E1U3x.png


2
http://image.ohozaa.com/i/283/NshFET.png

http://image.ohozaa.com/i/72f/YS5GYJ.png


http://image.ohozaa.com/i/34a/L1cfDj.png

I enter the password, and then later to apply for a password to login, but when I press Enter to enter the code again, it is this day.
Need to fix it

Figure 1 can log into the server.
Compiled but not

Figure 2 can not be logged in the server.
Compiled by the

To modify Figure 2 that you may have helped me.

scriptfiles
http://image.ohozaa.com/i/f1c/A5jYXA.png

DIALOG_REGISTER and DIALOG_LOGIN
case 0: // Tutorial Dialog
{
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{42C2F5}[LV-RP] - {FFFFFF}Register{42C2F5}]","Logged in Successfully.You have to see the tutorial\n (Refusing will get you kicked.)", "Proceed", "Refuse");
}
case 1: // Register
{
GetPlayerIp(playerid,ip,sizeof(ip));
format(tstring, sizeof(tstring), "{A02820}[Las Venturas Roleplay RP: {FFFFFF}Register{FFFFFF}]");
format(cstring, sizeof(cstring), "{FFFFFF}Hello, Welcome to Las Venturas Roleplay We have found you are not registered.\n\n[Username]: {E3DD3B}%s{FFFFFF} \n\nIt seems you are not registered, enter a password below to do-so!", NORPN(playerid));
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_PASSWORD, tstring, cstring, "Register", "Quit");
}
case 2: // Login
{
GetPlayerIp(playerid,ip,sizeof(ip));
format(tstring, sizeof(tstring), "{A02820}[Las Venturas Roleplay RP: {FFFFFF}Login{FFFFFF}]", RPN(playerid));
format(cstring, sizeof(cstring), "{FFFFFF}Hello, Welcome to Las Venturas Roleplay We have found you are registered.\n\n[Username]: {E3DD3B}%s{FFFFFF}\n\nPlease enter your password below to login.", NORPN(playerid));
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_PASSWORD, tstring, cstring, "Login", "Quit");

Shinobu
16/04/2014, 04:31 AM
help me