16.04.2013, 09:48
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.
see if that helps
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; } }