11.07.2009, 04:39
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
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