[YINI] How would I load this...
#5

Its not a problem with loading, other things load, just the vehicles don't which are under the user stats that load, anyway the parse file code is OnPlayerConnect:
pawn Код:
if(fexist(UserPath(playerid)))
    {
        new string[156];
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        format(string,sizeof(string), "Welcome to Legendary Generation Roleplay, %s.\n\nIP: %s\n\nThe account you are using is registered, please enter your password to login.", GetPlayerRPName(playerid), plrIP);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,"{0049FF}Legendary Generation Roleplay Login", string,"Login","Quit");
    }
    else
    {
        new string[156];
        format(string,sizeof(string), "Welcome to Legendary Generation Roleplay, %s.\n\nIP:%s\n\nThe account you are using is unregistered, please enter a password to register.", GetPlayerRPName(playerid), plrIP);
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"{0049FF}Legendary Generation Roleplay Register",string,"Register","Quit");
    }
Reply


Messages In This Thread
[YINI] How would I load this... - by ryansheilds - 21.04.2012, 21:06
Re: [YINI] How would I load this... - by Face9000 - 22.04.2012, 18:46
Re: [YINI] How would I load this... - by IceCube! - 22.04.2012, 18:48
Re: [YINI] How would I load this... - by ryansheilds - 22.04.2012, 20:00
Re: [YINI] How would I load this... - by ryansheilds - 22.04.2012, 21:07
Re: [YINI] How would I load this... - by ryansheilds - 22.04.2012, 21:18
Re: [YINI] How would I load this... - by ryansheilds - 22.04.2012, 21:51

Forum Jump:


Users browsing this thread: 1 Guest(s)