Quote:
Originally Posted by Nero_3D
You used
pawn Код:
INI_ParseFile(uFile, "UserDataLoad_%s", .bExtra = true, .extra = playerid);
which means that you read the file uFile using the format "UserDataLoad_%s"
Because the bFileFirst flag isnt set the tag gets formated into "%s"
But you never used INI_SetTag so it means that the function which gets called is UserDataLoad_
Just use "UserDataLoad" as format so the function name is the same
pawn Код:
INI_ParseFile(uFile, "UserDataLoad", .bExtra = true, .extra = playerid);
pawn Код:
public UserDataLoad(playerid,name[],value[]) {}
or you set the correct tag before you write the data
pawn Код:
INI_SetTag(playerFile, "data");
|
Ohhh, thank you very much! Everything seems to be in working order now.