29.11.2015, 09:04
So I'm trying to modify this value:
to 0.
The code I'm currently using is wrong, the results are this: (in the .ini file)
It just adds the same variable above the tag, which is not what I want. I want the current value to be adjusted.
How can I do this? Current code:
FIXED. Check below for the fix
Quote:
[Player's Data] HouseID = 1 |
The code I'm currently using is wrong, the results are this: (in the .ini file)
Quote:
HouseID = 0 [Player's Data] HouseID = 1 |
How can I do this? Current code:
Код:
new INI:file = INI_Open(offpath); // Correct path for the file INI_WriteInt(file,"HouseID", 0); // Write the value INI_Close(file); // close file