11.06.2015, 01:16
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;
}

