y_ini problem
#1

I`m trying to save the game in 3 files from game and then load it.
The file is created but is empty.

pawn Код:
Slot1Saved[playerid] = 1;
    new INI:File = INI_Open(SaveSlot1);
    INI_SetTag(File,"data");
    INI_WriteInt(File,"Boss",PlayerData[playerid][boss]);
    INI_WriteInt(File,"Password",PlayerData[playerid][password]);
    INI_WriteInt(File,"Level",PlayerData[playerid][level]);
    INI_WriteInt(File,"Upgrade",PlayerData[playerid][upgrade]);
    INI_Close(File);
pawn Код:
#define SaveSlot1 "/Drivers/%s/slot1.ini"
%s is a folder with playername,like i said,,the slot1.ini is created but is empty.
Reply
#2

I think it is a problem with y_ini in 0.3e. Maybe the only person that can help is ******.
Reply
#3

Only for this is not working,when player disconects is saving in user.ini file.
And i found something,if i make a new user and i save the game in slot1 is writing but if i reconect i can`t save it anymore.
Reply
#4

Sorry for bump but i don`t know what is goin on here.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)