Login Problem
#2

move this code into OnPlayerConnect

pawn Код:
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"Registration.",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
    }
Reply


Messages In This Thread
Login Problem - by HighPitchedVoice - 08.06.2012, 00:15
Re: Login Problem - by Jonny5 - 08.06.2012, 00:20
Re: Login Problem - by HighPitchedVoice - 08.06.2012, 00:23

Forum Jump:


Users browsing this thread: 1 Guest(s)