Help with password at login
#5

You mean like this:
pawn Код:
public OnPlayerConnect(playerid)
{
    new string1[128];
    format(string1,sizeof(string1),"{00CC00}Welcome back %s\nPlease login to contiune.",pName(playerid));
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""COL_BLUE"Login"COL_WHITE" Panel",string1,"Login","Quit");
    return 1;
}

stock pName(playerid)
{
    new gName[MAX_PLAYER_NAME];
    GetPlayerName( playerid, gName, sizeof gName );
    return gName;
}
Reply


Messages In This Thread
Help with password at login - by prooftzm - 13.08.2014, 09:05
Re: Help with password at login - by AiRaLoKa - 13.08.2014, 09:13
Re: Help with password at login - by IceBilizard - 13.08.2014, 09:13
Re: Help with password at login - by prooftzm - 13.08.2014, 09:28
Re: Help with password at login - by MacT - 13.08.2014, 09:51
Re: Help with password at login - by Blademaster680 - 13.08.2014, 11:04

Forum Jump:


Users browsing this thread: 2 Guest(s)