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



Save Your Game - Serifukas - 13.09.2011

Hello Everybody.

I have one question.

How can i make auto save with codes like this I want save player data when he disconnect and then the server is shutting down.

Код:
public OnPlayerDisconnect(playerid, reason)
{
//SAVE CODE

public OnGameModeExit()
{
///SAVE CODE
If someone can help please tell my how to do this.THANKS


Re: Save Your Game - Max_Coldheart - 13.09.2011

Could you tell us what you mean with 'player data'?


Re: Save Your Game - Dokins - 13.09.2011

What system are you using? MySQL, Dini etc?


Re: Save Your Game - Serifukas - 13.09.2011

I using dini system i want to save player data like money xp admin job and else

I really need help please help :S