Just a simple help
#3

pawn Код:
stock ShowPlayerLoginDialog(playerid, info[])
{
    new string[256];
    format(dialog, sizeof(dialog), "Welcome back, %s!\n\nType your password below to log in.\n\nIf this is not your account, please join with\nanother \
    username - this one is taken!\n\n%s"
, PlayerName(playerid), info);
    return ShowPlayerDialog(playerid, D_LOGIN, DIALOG_STYLE_PASSWORD, "Login", dialog, "Login", "Quit");
}

stock PlayerName(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, MAX_PLAYER_NAME);
    return name;
}
Reply


Messages In This Thread
Just a simple help - by STONEGOLD - 11.06.2015, 01:12
Re: Just a simple help - by J0sh... - 11.06.2015, 01:14
Re: Just a simple help - by SickAttack - 11.06.2015, 01:16
Re: Just a simple help - by STONEGOLD - 11.06.2015, 01:25
Re: Just a simple help - by SickAttack - 11.06.2015, 01:34
Re: Just a simple help - by STONEGOLD - 11.06.2015, 01:42

Forum Jump:


Users browsing this thread: 1 Guest(s)