Server keep restarting due to script. - 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: Server keep restarting due to script. (
/showthread.php?tid=173146)
Server keep restarting due to script. -
[TRP]Eagle - 01.09.2010
I have this most idiotic problem ever. I changed a few coordinates of this:
Код:
case 0:
{
GameTextForPlayer(playerid, "~b~HOBO", 2000, 3);
SetPlayerPos(playerid, 1345.4760,-946.1030,71.0847);
SetPlayerFacingAngle(playerid, 288.2008);
SetPlayerCameraPos(playerid, 1349.3022,-945.1287,71.5888);
SetPlayerCameraLookAt(playerid, 1045.4760,-946.1030,71.0847);
ApplyAnimation(playerid,"PED","WALK_Hobo1",4.1,1,1,1,1,1);
}
case 1:
{
GameTextForPlayer(playerid, "~r~RICH", 2000, 3);
SetPlayerPos(playerid, 1345.4760,-946.1030,71.0847);
SetPlayerFacingAngle(playerid, 288.2008);
SetPlayerCameraPos(playerid, 1349.3022,-945.1287,71.5888);
SetPlayerCameraLookAt(playerid, 1045.4760,-946.1030,71.0847);
ApplyAnimation(playerid,"PED","WALK_Hobo1",4.1,1,1,1,1,1);
Now the server won't load the script anymore and just keeps restarting the server. There are no errors in the server file or what so ever.
Please, any help?
P.S: Script compiles without any error or problem.
Re: Server keep restarting due to script. -
Claude - 01.09.2010
This can't be the problem since there are no faults in it
Btw, did you add a '}' at `case 1:` ?
Re: Server keep restarting due to script. -
[TRP]Eagle - 01.09.2010
Yes, I have. Else the script wouldn't compile without any errors.
Re: Server keep restarting due to script. -
[TRP]Eagle - 01.09.2010
I have tried running the server on a back-up of an old version of the script and even this did not work.
This is rather annoying, does anyone know how to fix it?