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



Save - Hunud - 23.03.2018

Score and Cash saves good, but when it comes to somebody crash he lose just score and cash. What could be a problem. I'm already have a timer that save everything every 5 seconds.


Re: Save - AlexMSK - 23.03.2018

Try saving score and cash under OnPlayerDisconnect?
also post the code.


Re: Save - Dayrion - 23.03.2018

Save stats when it changed, nothing more, nothing less.


Re: Save - Hunud - 23.03.2018

I told you already that i'm saving them in 2 ways....


Re: Save - BulletRaja - 23.03.2018

Quote:
Originally Posted by Hunud
Посмотреть сообщение
I told you already that i'm saving them in 2 ways....
post ur ways code


Re: Save - Logic_ - 24.03.2018

Which saving system are you using?

A timer which saves everyone's stats every 5 seconds? Dude, are you fucking crazy?

What two ways?

Code? You should post it whenever you need help! We're not magicians who can guess your code...

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
Save stats when it changed, nothing more, nothing less.
This ^^