best way to save the data with mysql - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: best way to save the data with mysql (
/showthread.php?tid=403503)
best way to save the data with mysql -
Speed++ - 30.12.2012
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 ?
Re: best way to save the data with mysql -
Speed++ - 30.12.2012
bump
Re: best way to save the data with mysql -
RedCrossER - 30.12.2012
What you mean?
Re: best way to save the data with mysql -
Hiddos - 30.12.2012
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.