11.12.2012, 16:29
I've been editing a gamemode for quite some time now and I started to get random server crashes.
I've downloaded crashchecker plugin:
I've downloaded crashchecker plugin:
Quote:
[14:22:38] [debug] Server crashed while executing GMD.amx [14:22:38] [debug] AMX backtrace: [14:22:38] [debug] #0 native fwrite () [004056e0] from samp-server.exe [14:22:38] [debug] #1 00002120 in ?? () from GMD.amx [14:22:38] [debug] #2 00002390 in ?? () from GMD.amx [14:22:38] [debug] #3 00057478 in ?? () from GMD.amx [14:22:38] [debug] #4 0005a8d4 in public AutoSave () from GMD.amx [14:22:38] [debug] System backtrace: [14:22:38] [debug] #0 0040531e in ?? () from C:\Documents and Settings\DDD\Desktop\GMD\samp-server.exe |
pawn Код:
public AutoSave(playerid)
{
foreach (new i : Player)
{
if(PlayerDead[playerid] == 0)
{
Save(playerid,false);
return 1;
}
}
return 1;
}