02.11.2012, 17:04
instead of
USE
pawn Code:
if(fexist(UserSavePath(playerid)))
{
INI_ParseFile(UserSavePath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
format(string, sizeof(string), "/Users/%s.ini", PlayerName);
format(string1, sizeof(string1), "Hello %s, welcome back!", GetPlayerNameEx(playerid));
format(string2, sizeof(string2), "Welcome back %s, to "GM_NAME"! We have found your account registered in the database.\n\nEnter your password to login!", GetPlayerNameEx(playerid));
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, string1, string2, "Login!", "Cancel");
}
USE
pawn Code:
if(fexist(UserSavePath(playerid)))
{
INI_ParseFile(UserSavePath(playerid), "LoadUser_user", .bExtra = true, .extra = playerid);//or what ever u have like LoadUser_User or the LoadUser_Account
format(string, sizeof(string), "/Users/%s.ini", PlayerName);
format(string1, sizeof(string1), "Hello %s, welcome back!", GetPlayerNameEx(playerid));
format(string2, sizeof(string2), "Welcome back %s, to "GM_NAME"! We have found your account registered in the database.\n\nEnter your password to login!", GetPlayerNameEx(playerid));
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, string1, string2, "Login!", "Cancel");
}