SA-MP Forums Archive
Saving/loading player statistics - 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/loading player statistics (/showthread.php?tid=580886)



Saving/loading player statistics - aalbero99 - 09.07.2015

Hey, I want my server to save the players' stats (money, pass, health, armor, weapons, skin, score...) but I can't find a working way >.< I've tried with dini.inc but it shows some error saying the number of arguments doesn't match etc etc. Anyway, I want to save everything and load it all when the player logs in.
Thank you!


Re: Saving/loading player statistics - StuartD - 09.07.2015

Have a read through this tutorial, it has score, kills, deaths and skin however it looks to be for a deathmatch server however the idea behind it still works.

https://sampforum.blast.hk/showthread.php?tid=234691


Re : Saving/loading player statistics - aalbero99 - 09.07.2015

Thanks! Is there any way to save/load weapons, health, etc. just by editing this script? If so, how?