Saving to database dilema - 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: Saving to database dilema (
/showthread.php?tid=383951)
Saving to database dilema -
Darth1993 - 09.10.2012
Hello, what's better? To save player stats to the mysql database right away after player stats being updated or store everything in runtime and save only when server is being restarted, auto server save, etc...?
AW: Saving to database dilema -
Mellnik - 09.10.2012
only save by onplayerdisconnect. store the playerstats in veriables meanwhile
Re: Saving to database dilema -
Darth1993 - 09.10.2012
That's what I wanted to read. Thanks.