18.09.2014, 16:06
Quote:
That's outdated way, you should use something like y_ini for file functions would be better i just wanted to give you the basic idea.
EDIT: https://sampforum.blast.hk/showthread.php?tid=244223 - that's y_ini tutorial if you're interested to make a better and a faster version of this code. |
Y_INI is indeed faster, but it is used for saving settings. You can't save logs in Y_INI.
INIs:
Код:
Int = value String = string
The correct way is the code you posted with the file functions, not with Y_INI.