26.07.2017, 12:21
Код:
if(fexist(UserPath(playerid))) { new playername[MAX_PLAYER_NAME], dialog_string[120 + MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, sizeof(playername)); format(dialog_string, sizeof(dialog_string), ""COL_WHITE"The account is already registered,type in your password \n "COL_ORANGE"Username:"COL_WHITE"%s \n "COL_ORANGE"Password:", dialog_string); INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid); ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""COL_GREEN"Login", dialog_string, "Login", "Quit"); }