Posts: 541
Threads: 60
Joined: Jul 2009
Reputation:
0
Okay, I was wodering what's the best way to make rollback less effective?
Using a timer that each minute saves stats is the only answer that has came to my mind. Is there any better solution or advice?
Thanks in advance.
Posts: 427
Threads: 11
Joined: Apr 2009
Reputation:
0
I think OnPlayerSave will be good, it will save your stats when you /q from the game.
EDIT: if you need help with OnPlayerSave reply here.
Posts: 427
Threads: 11
Joined: Apr 2009
Reputation:
0
Sandman dont you think that SaveStats will lag his server a bit?
Posts: 541
Threads: 60
Joined: Jul 2009
Reputation:
0
I save stats when user dissconects and it's fine, but when server crashes or when you quit the smal black window (which appears you run "samp-server" ) Playerstats and server stats are lost.