Y_INI don't load the password from .ini.
#1

Hi guy's, it's my first time using Y_INI and i got some problems, the gamemode don't pick the password of the .ini file, i don't know why, i give you the code.

pawn Код:
forward LoadUser(playerid,name[],value[]);
public LoadUser(playerid,name[],value[])
{
if(logueado[playerid] == 0){
INI_Int("Contraseсa",pInfo[playerid][Pass]); //Here is the variable and where is the password saved.
}
    return 1;
}

//-- OnPlayerConnect

public OnPlayerConnect(playerid)
{
logueado[playerid] = 0;
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid); //Here is for load the password i think.
ShowPlayerDialog(playerid,DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Login", "Enter your password below:", "Login", "Cancel");
}
HELP!
Reply


Messages In This Thread
Help with Y_INI. Give +rep. - by xHanks - 04.08.2014, 09:18
Re: Y_INI don't load the password from .ini. - by OKStyle - 04.08.2014, 09:25
Re: Y_INI don't load the password from .ini. - by xHanks - 04.08.2014, 09:35
Re: Y_INI don't load the password from .ini. - by OKStyle - 04.08.2014, 10:13
Re: Y_INI don't load the password from .ini. - by Stinged - 04.08.2014, 10:39

Forum Jump:


Users browsing this thread: 1 Guest(s)