29.01.2012, 11:01
Hello,
I'm experiences some issues with INI_ParseFile in Y_Ini. It appears to be called like this:...
... but then it also calls "LoadAccountPass_data" 7 times and "Store" only contains (null)!
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:
Is there any statement for this?
- Jochem
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);
pawn Код:
INI_ParseFile(string, "LoadAccountPass_%s", .bExtra = true, .extra = playerid);
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;
}
- Jochem