28.12.2014, 13:25
Run this and tell me which of them are being printed and which of them aren't.
pawn Code:
SaveAccount(playerid)
{
print("Save started");
new INI:File = INI_Open(Path(playerid));
print("File opened");
printf("* Value check: %i",PlayerInfo[playerid][pTempBanned]); // Works
INI_WriteInt(File,"TempBanned", PlayerInfo[playerid][pTempBanned]);
print("Written the value in file");
INI_Close(File);
print("Saved"); // Doesn't work
return 1;
}