4 errors
#8

pawn Код:
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, TD1);
    if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "{FFFFFF}Login", "{FFFFFF}Type your PASSWORD to login!", "Login", "Quit");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "{FFFFFF}Register", "{FFFFFF}Type your PASSWORD to register!", "Register", "Quit");
    }
    return 1;
}
Try that. Re-writ your code a little.

Note: You had a few errors in here too, I didn't see your UserPath, check the post below for that.
Reply


Messages In This Thread
4 errors - by Mike100 - 08.02.2015, 23:15
Re: 4 errors - by Schneider - 08.02.2015, 23:47
Re: 4 errors - by Mike100 - 09.02.2015, 10:26
Re: 4 errors - by Mike100 - 09.02.2015, 10:47
Re: 4 errors - by Makhmoor - 09.02.2015, 11:03
Re: 4 errors - by Rissam - 09.02.2015, 11:31
Re: 4 errors - by Mike100 - 09.02.2015, 19:43
Re: 4 errors - by DanishHaq - 09.02.2015, 19:47
Re: 4 errors - by Sascha - 09.02.2015, 19:47
Re: 4 errors - by Mike100 - 09.02.2015, 19:55

Forum Jump:


Users browsing this thread: 1 Guest(s)