How do I?
#1

Hello, I have been getting a few problems with OnPlayerConnect not being called, Why is this?

Is there an error with the following code? This error is really getting on my nerves.

pawn Код:
public OnPlayerConnect(playerid)
{
    gPlayerLogged[playerid] == 0;
    TogglePlayerControllable(playerid,0);
    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");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
    }
    return 1;
}
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: 2 Guest(s)