best way to save the data with mysql
#1

what is the best way to save the data with mysql (BlueG R7 https://sampforum.blast.hk/showthread.php?tid=56564), without bothering to save all the data to the disconnection ?
Reply
#2

bump
Reply
#3

What you mean?
Reply
#4

Quote:
Originally Posted by Speed++
Посмотреть сообщение
without bothering to save all the data to the disconnection ?
If you mean you don't want to save player data at OnPlayerDisconnect you're not fully understanding the situation. OnPlayerDisconnect is the best time to save data for a player because it's the "final" moment the player is on the server, and thus won't anything (like position, money, score etc) change any more, unlike saving player data every 15 minutes, after which the player will still walk around and his stats will be updated.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)