How do I?
#8

Try removing the filterscript.

And do test's like :

pawn Код:
public OnPlayerConnect(playerid)
{

    print("OnPlayerConnect part 1 : Called");
    gPlayerLogged[playerid] == 0;
    print("OnPlayerConnect part 2 : Called");
    TogglePlayerControllable(playerid,0);
    print("OnPlayerConnect part 3 : Called");
    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"Type your password below to login.","Login","Quit");
         print("OnPlayerConnect part UserCheckExists : Called");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
         print("OnPlayerConnect part UserCheckNotExists : Called");
    }
    print("OnPlayerConnect part 4 : Called");
    return 1;
}
And tell us what the server console outputs.
Reply


Messages In This Thread
How do I? - by seanny - 05.02.2012, 21:37
Re: How do I? - by Vince - 05.02.2012, 21:42
Re: How do I? - by seanny - 05.02.2012, 21:45
Re: How do I? - by Vince - 05.02.2012, 21:50
Re: How do I? - by seanny - 05.02.2012, 21:59
Re: How do I? - by Cameltoe - 05.02.2012, 22:01
Re: How do I? - by seanny - 05.02.2012, 22:03
Re: How do I? - by Cameltoe - 05.02.2012, 22:09
Re: How do I? - by seanny - 05.02.2012, 22:16
Re: How do I? - by Cameltoe - 05.02.2012, 22:20

Forum Jump:


Users browsing this thread: 4 Guest(s)