09.02.2015, 11:03
if(fexist(UserPath(playerid))) ////////// LINE 59
{
INI_ParseFile(UserPath(playerid)), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WH ITE"Type your PASSWORD to login!", "Login", "Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COLOR_WHITE"Register",""COLOR _WHITE"Register","type your PASSWORD!", "Login", "Quit");
return 1;
}
try this ^
{
INI_ParseFile(UserPath(playerid)), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WH ITE"Type your PASSWORD to login!", "Login", "Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COLOR_WHITE"Register",""COLOR _WHITE"Register","type your PASSWORD!", "Login", "Quit");
return 1;
}
try this ^