05.10.2018, 18:25
It's just about some lines ...
Set the value:
Save the value:
Load the value:
Whatever about the tag, it saves and loads everything but it does not save getttime();
__________________________________________________ __________________________________________
https://sampforum.blast.hk/showthread.php?tid=570957
Load a whole file at once:
__________________________________________________ __________________________________________
EDIT:
I leaved tag at all and tried to save and load without tag. Still does not write gettime() ...
It writes everything right but not gettime()... The value is not 0, the value is not even writed, replaced or anything...
Set the value:
Код:
SomeInformation[1][SomeExpire] = (gettime() + ConvertToSeconds(.months = 0, .days = 7, .hours = 0, .seconds = 0));
Код:
INI_WriteInt(inisi1o,"SomeExpire", SomeInformation[1][SomeExpire]);
Код:
INI_ParseFile("SomeInfoFolder/SI1.ini", "LoadSI1_data", .bPassTag = true);
__________________________________________________ __________________________________________
https://sampforum.blast.hk/showthread.php?tid=570957
Load a whole file at once:
Код:
forward LoadOneFile(tag[], name[], value[]); public LoadOneFile(tag[], name[], value[]) { }
Код:
INI_ParseFile("myini.ini", "LoadOneFile", .bPassTag = true);
EDIT:
I leaved tag at all and tried to save and load without tag. Still does not write gettime() ...
It writes everything right but not gettime()... The value is not 0, the value is not even writed, replaced or anything...