Login Dialog doesn't show!
#1

Im using YIni and this is really annoying me!
Код:
public OnPlayerConnect(playerid)
{
    if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"Login","Type your password below to login.","Login","Quit");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"Registering...","Type your password below to register a new account.","Register","Quit");
    }
    return 1;
}
It shows the register dialog but if they come back then it doesn't show the login one!
Reply


Messages In This Thread
Login Dialog doesn't show! - by HazardGaming - 21.04.2012, 12:51
Re: Login Dialog doesn't show! - by Ainseri - 21.04.2012, 14:06
Re: Login Dialog doesn't show! - by HazardGaming - 21.04.2012, 16:38
Re: Login Dialog doesn't show! - by HazardGaming - 21.04.2012, 17:41
Re: Login Dialog doesn't show! - by Ainseri - 21.04.2012, 18:33
Re: Login Dialog doesn't show! - by admantis - 21.04.2012, 19:09

Forum Jump:


Users browsing this thread: 3 Guest(s)