I have not logged into the server.
#6

DIALOG_REGISTER and DIALOG_LOGIN

Quote:

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");

Reply


Messages In This Thread
I have not logged into the server. - by Shinobu - 15.04.2014, 04:40
Re: I have not logged into the server. - by superrobot48 - 15.04.2014, 04:42
Re: I have not logged into the server. - by Shinobu - 15.04.2014, 04:48
Re: I have not logged into the server. - by biker122 - 15.04.2014, 04:50
Re: I have not logged into the server. - by Shinobu - 15.04.2014, 04:53
Re: I have not logged into the server. - by Shinobu - 15.04.2014, 05:05
Re: I have not logged into the server. - by Shinobu - 15.04.2014, 05:20
Re: I have not logged into the server. - by Dignity - 15.04.2014, 05:29

Forum Jump:


Users browsing this thread: 1 Guest(s)