Player data becomes corrupt after manual server restart
#1

I don't know whether this is correctly posted or not but I have this problem that whenever I restart my test server manually while the player is logged on, the player's data becomes corrupt. (Skin changes to 0, spawn place becomes blueberry,...)

Is there a fix for this problem? It concerns me for when my test server crashes randomly that all the data becomes corrupt.

I added this to OnGameModeExit();
pawn Код:
public OnGameModeExit()
{
    foreach(new i : Player)
    {
        if(IsPlayerConnected(i))
        {
            if(fexist(UserPath(i)))
            {
                SaveAccountInfo(i);
            }
        }
    }
    return 1;
}
Help is much appreciated.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)