Loading system failing
#3

Quote:
Originally Posted by Aly
Посмотреть сообщение
Where do you call the LoadUser_data function?
Here, OnPlayerConnect
Код:
if(fexist(UserPath(playerid)))
{
        new string[128];
        format(string, sizeof(string), "{FFFFFF}Welcome {00CF00}%s{FFFFFF}. \nEnter your password below:",RPName(playerid));
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,"Server - Login",string,"Login","Exit");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"Server - Register","Enter a new password to create a new account:","Register","Exit");
    }
Reply


Messages In This Thread
Loading system failing - by Antenastyle - 19.05.2017, 17:33
Re: Loading system failing - by Aly - 19.05.2017, 17:39
Re: Loading system failing - by Antenastyle - 19.05.2017, 17:50
Re: Loading system failing - by Aly - 19.05.2017, 18:33
Re: Loading system failing - by Vince - 19.05.2017, 18:56
Re: Loading system failing - by Antenastyle - 19.05.2017, 21:37
Re: Loading system failing - by Aly - 19.05.2017, 22:52
Re: Loading system failing - by Antenastyle - 20.05.2017, 11:16
Re: Loading system failing - by Aly - 20.05.2017, 11:24
Re: Loading system failing - by Antenastyle - 20.05.2017, 11:45

Forum Jump:


Users browsing this thread: 2 Guest(s)