saving
#1

Hello

in my game mode i save players profile with ini

i put a timer for every 200 seconds Save players profile but when it become saving makes server lag and its so bad is any better ways to save profiles? Sry For Bad English
Reply
#2

The best saving system in my opinion is MySQL.

https://sampforum.blast.hk/showthread.php?tid=56564

Here's a tutorial of how you can use it:

https://sampforum.blast.hk/showthread.php?tid=485633
Reply
#3

Hello!

If you want to use file systems you can save the player when he disconnected (OnPlayerDisconnect).
You needn't a timer to save all players.
Reply


Forum Jump:


Users browsing this thread: