SA-MP Forums Archive
Saving money 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: Saving money MySql (/showthread.php?tid=579848)



Saving money MySql - ShoortyFl - 30.06.2015

I don't know why but when i use /rcon gmx or whe server shuts down without player disconencting server the money wont save in database it sets itself to 0, everything else stays just fine but money sets to 0, that only happens when server shuts down without player disconnecting, but when they exit normally it saves just fine


Re: Saving money MySql - Chlorine - 30.06.2015

Because, it force-closes the gamemode, and most of the things won't save when using these commands. It is recommended for you to save the player's statistics once every 5 minutes, or 10 minutes.