I think it can help you to prevent crash
#1

1: Object no over than 150~ Dont add too many Car and Pickup in your server

2: in Server.cfg (1) lamode turn off (2) anti-cheat turn off -must turn off ,because anti-cheat may crash your server

3: check all your filescript and gamemode see have warning or error...if have fix it

[b]4: try to but this thing to your gta file :

@ECHO OFF
TITLE samp-server Watchdog
:loop
cls
echo (%TIME%) Server Started.
samp-server.exe
echo (%TIME%) Server Crashed.
goto loop


save as anticrash.bat there samp-server.exe is

if crash after death:

copy this in your oneplayerdeath:


public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid == INVALID_PLAYER_ID)
{
SendDeathMessage(INVALID_PLAYER_ID,playerid,reason );
}
else
{
SendDeathMessage(killerid,playerid,reason);
GivePlayerMoney(killerid, 80000);
}
return 1;
}


OK hope it can help you
Reply


Messages In This Thread
I think it can help you to prevent crash - by simonall2 - 11.07.2009, 04:39
Re: I think it can help you to prevent crash - by Redirect Left - 11.07.2009, 07:16
Re: I think it can help you to prevent crash - by Karlip - 11.07.2009, 07:21
Re: I think it can help you to prevent crash - by Abernethy - 11.07.2009, 07:28
Re: I think it can help you to prevent crash - by RoBo - 11.07.2009, 07:32

Forum Jump:


Users browsing this thread: 1 Guest(s)