Cant save userfiles
#1

My friend fixed it for me, but i forgot to back it up :/

all user files are in scriptfiles. when i log in, and relog, it will automatically ask me to register again.

Код:
public OnPlayerDisconnect(playerid, reason)
{
    new disconnectstr[128];
    new string[128];
    new sendername[MAX_PLAYER_NAME];
    new caller = Mobile[playerid];
    gPlayerLogged[playerid] = 0;
    gActivePlayers[playerid]--;
    numplayers--;
    KillTimer(RelogTimer[playerid]);
    TextDrawHideForPlayer(playerid, Website);
    TextDrawHideForPlayer(playerid, Time);
	TextDrawHideForPlayer(playerid, Date);
		for(new i = 1; i < MAX_POINTS; i++)
	{
	    if(PointAttemptingToCapture[playerid] == i)
	    {
			Capturing[playerid][i] = 0;
			PointAttemptingToCapture[playerid] = 0;
			KillTimer(pointtimer);
			format(disconnectstr, sizeof(disconnectstr), "The player that recently attempted to capture %s has disconnected.", PointStatistics[i][pointname]);
			SendFamilyMessageToAll(YELLOW, disconnectstr);
			capturegoingon = 0;
			break;
		}
	}
see if that helps
Reply


Messages In This Thread
Cant save userfiles - by Ponii - 16.04.2013, 09:48
Re: Cant save userfiles - by Giroud12 - 16.04.2013, 09:54
Re: Cant save userfiles - by Ponii - 16.04.2013, 09:57
Re: Cant save userfiles - by Ponii - 16.04.2013, 10:10

Forum Jump:


Users browsing this thread: 1 Guest(s)