Server Crashing. Losing data.
#4

I would do what Don_Correlli said, create a timer to save their stats.

But what do you have under OnPlayerDisconnect? Stuff like stat saving?

Example from my gamemode :

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
  if(Logged[playerid])
  {
    dUserSetINT(PlayerName(playerid)).("Admin",GetPlayerAdminz(playerid));
  dUserSetINT(PlayerName(playerid)).("Score",GetPlayerScore(playerid));
  dUserSetINT(PlayerName(playerid)).("Money",GetPlayerMoney(playerid));
    }
    return 1;
}
Sorry if this wasnt necessary, but I just want to see what is under OnPlayerDisconnect..
Reply


Messages In This Thread
Server Crashing. Losing data. - by RaFsTar - 29.08.2009, 13:54
Re: Server Crashing. Losing data. - by James_Alex - 29.08.2009, 14:34
Re: Server Crashing. Losing data. - by Correlli - 29.08.2009, 14:39
Re: Server Crashing. Losing data. - by Hiitch - 29.08.2009, 15:05
Re: Server Crashing. Losing data. - by snoob - 29.08.2009, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)