Help with Getplayername in Dialog on logging
#5

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

This is what I want if you get the idea I'm about to try this

Edit : Did not work login dialog only showed this in end "The account is already registered,type"
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)