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