21.04.2013, 18:31
I think this code is the main problem..
pawn Код:
if (PlayerInfo[playerid][pRegisted] == 0)
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Welcome To Base RolePlay !",""COL_WHITE"Please enter your new password in order to register:","Register","Quit");
}
if (PlayerInfo[playerid][pRegisted] == 1)
{
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"You are already registered,please write your password below in order to log in! ","Login","Quit");
}
}