Making a bot skips the register dialog.
#6

Код:
	if(IsPlayerNPC(playerid)) return 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"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");
    }
I've done this before it checks if the account exists, is it supposed to be like this or?
Reply


Messages In This Thread
Making a bot skips the register dialog. - by DaniceMcHarley - 05.11.2013, 19:08
Re: Making a bot skips the register dialog. - by Konstantinos - 05.11.2013, 19:17
Re: Making a bot skips the register dialog. - by DaniceMcHarley - 06.11.2013, 18:16
Re: Making a bot skips the register dialog. - by Konstantinos - 06.11.2013, 18:23
Re: Making a bot skips the register dialog. - by boomerboom - 06.11.2013, 18:27
Re: Making a bot skips the register dialog. - by DaniceMcHarley - 06.11.2013, 18:39

Forum Jump:


Users browsing this thread: 3 Guest(s)