26.07.2017, 12:07
Quote:
new username[MAX_PLAYER_NAME], usernamemessage[23 + MAX_PLAYER_NAME]; GetPlayerName(playerid, username, sizeof(username)); format(usernamemessage, sizeof(usernamemessage), ""COL_WHITE"The account is already registered,type in your password \n "COL_ORANGE"Username:"COL_WHITE"%s \n "COL_ORANGE"Password:", usernamemessage); if(fexist(UserPath(playerid))) { INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid); ShowPlayerDialog(playerid,DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""COL_GREEN"Login","username message,"Login","Quit"); } |
Edit : Did not work login dialog only showed this in end "The account is already registered,type"