I think it can help you to prevent crash - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I think it can help you to prevent crash (
/showthread.php?tid=85978)
I think it can help you to prevent crash -
simonall2 - 11.07.2009
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
Re: I think it can help you to prevent crash -
Redirect Left - 11.07.2009
I lol'd.
Re: I think it can help you to prevent crash -
Karlip - 11.07.2009
This is kinda fail because people speak English here.
Re: I think it can help you to prevent crash -
Abernethy - 11.07.2009
I
rofl'd hard.
Re: I think it can help you to prevent crash -
RoBo - 11.07.2009
Quote:
Originally Posted by Redirect Left
I lol'd.
|
He makes a few valid points vs your crap.