each player has a separate log backup
#3

Quote:
Originally Posted by SilentSoul
Посмотреть сообщение
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.
Don't forward OnPlayerCommandPerformed as it already is forwarded in zcmd (or y_command).

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
That's not how to save logs.
The correct way is the code you posted with the file functions, not with Y_INI.
Reply


Messages In This Thread
each player has a separate log backup - by Slicebook - 18.09.2014, 14:14
Re: each player has a separate log backup - by SilentSoul - 18.09.2014, 15:14
Re: each player has a separate log backup - by Stinged - 18.09.2014, 16:06
Re: each player has a separate log backup - by Slicebook - 18.09.2014, 18:38

Forum Jump:


Users browsing this thread: 1 Guest(s)