SA-MP Forums Archive
good? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: good? (/showthread.php?tid=135984)



good? - Headshot1108 - 22.03.2010

Is it good that I save player datas in file with OnPlayerUpdate or its bad?


Re: good? - Correlli - 22.03.2010

Of course it's not good.


Re: good? - Headshot1108 - 22.03.2010

yes, this topic i saw few months ago, thx.
what do you recommend?


Re: good? - Jeffry - 22.03.2010

Save the datas when a player leaves the game.
OnPlayerDisconnect

....save his stats....


Re: good? - Headshot1108 - 22.03.2010

i have this, but i like to "kill" the server via puTTy and then the players won't properly leave the server (OnPlayerDisconnect won't called)


Re: good? - Correlli - 22.03.2010

Quote:
Originally Posted by Headshot1108
yes, this topic i saw few months ago, thx.
what do you recommend?
Well, I'm saving the stats when player disconnects and in one hour timer.


Re: good? - Headshot1108 - 22.03.2010

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Headshot1108
yes, this topic i saw few months ago, thx.
what do you recommend?
Well, I'm saving the stats when player disconnects and in one hour timer.
ok, i do it also