Server keep restarting due to script.
#1

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.
Reply
#2

This can't be the problem since there are no faults in it

Btw, did you add a '}' at `case 1:` ?
Reply
#3

Yes, I have. Else the script wouldn't compile without any errors.
Reply
#4

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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)