SA-MP Forums Archive
Little problem - 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: Little problem (/showthread.php?tid=340014)



Little problem - Flashhiee - 05.05.2012

I have a problem to register system, when i restart server the money and level isn't saves. To the register system i use y_ini, but i used dini and dudb and the result is identical, who helps me gets rep+ ! ! !



Sorry for my bad english !

Thanks !


Re: Little problem - [MG]Dimi - 05.05.2012

When server restarts using /rcon gmx or gmx in console or crash for any reason OnPlayerDisConnect isn't called so player data isn't saved.


Re: Little problem - ReneG - 05.05.2012

loop through all the players and save their stats on OnGameModeExit();