Urgent Y_INI help....
#6

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.
Reply


Messages In This Thread
Urgent Y_INI help.... - by Skylar Paul - 26.07.2011, 00:12
Re: Urgent Y_INI help.... - by Skylar Paul - 26.07.2011, 13:32
AW: Urgent Y_INI help.... - by Nero_3D - 26.07.2011, 13:47
Re: AW: Urgent Y_INI help.... - by Skylar Paul - 26.07.2011, 13:54
AW: Urgent Y_INI help.... - by Nero_3D - 26.07.2011, 14:11
Re: AW: Urgent Y_INI help.... - by Skylar Paul - 26.07.2011, 14:50

Forum Jump:


Users browsing this thread: 1 Guest(s)