16.06.2016, 16:16
PHP Code:
if(fexist(UserPath(playerid)))
{
new string [ 200 ];
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), ""COL_WHITE"{0066FF}SERVER_NAME_HERE\n\n{0099FF}Player Log-in\n\n{FFFFFF}Nickname %s is already registered.\nIf this is not your account, please quit and change to your nick.\n\nPlease {FFFF66}Enter Your Password {FFFFFF}To Login:", pName);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, ""COL_WHITE"{FFFFFF}CnR {FFFFFF}Login", string, "Login", "Cancel");
}