Problems with INI_ParseFile (y_ini)
#1

Hello,

I'm experiences some issues with INI_ParseFile in Y_Ini. It appears to be called like this:...
pawn Код:
INI_ParseFile(string, "LoadAccountPass_data", .bExtra = true, .extra = playerid);
... but then it also calls "LoadAccountPass_data" 7 times and "Store" only contains (null)!

pawn Код:
INI_ParseFile(string, "LoadAccountPass_%s", .bExtra = true, .extra = playerid);
But when I do it like this it doesn't even call it a single time (and yes, I am sure this code gets reached!)

For your information, the callback:

pawn Код:
forward LoadAccountPass_data(playerid, name[], value[]);
public LoadAccountPass_data(playerid, name[], value[])
{
    new Store[129];
    INI_String("Password",Store,sizeof(Store));
    SetPVarString(playerid,"Password",Store);
    return 1;
}
Is there any statement for this?

- Jochem
Reply


Messages In This Thread
Problems with INI_ParseFile (y_ini) - by Jochemd - 29.01.2012, 11:01
Re: Problems with INI_ParseFile (y_ini) - by Konstantinos - 29.01.2012, 11:11
Re: Problems with INI_ParseFile (y_ini) - by Jochemd - 29.01.2012, 11:17
Re: Problems with INI_ParseFile (y_ini) - by Konstantinos - 29.01.2012, 11:49
Re: Problems with INI_ParseFile (y_ini) - by Jochemd - 29.01.2012, 11:52

Forum Jump:


Users browsing this thread: 2 Guest(s)