SA-MP Forums Archive
What the hell is this error? - 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: What the hell is this error? (/showthread.php?tid=79762)



What the hell is this error? - Gamer007 - 30.05.2009

Code:
*/	//===Zonos===\\
	BuildingJumpGangZone = GangZoneCreate(-2901.1870, -3117.6577, -2864.2527, -3074.6672);
	//===========\\
//================================== PNK AUTO ==================================
	//===Gates==\\
	Gate2 = CreateObject(17951, -1643.2749, 1204.2693, 8.0269, 0.0000, 0.0000, 342.8113);
got this and

Code:
E:\Games Setup\Gta san andreas server\Install\samp02Xserver.win32\gamemodes\SZM.pwn(3973) : error 049: invalid line continuation
E:\Games Setup\Gta san andreas server\Install\samp02Xserver.win32\gamemodes\SZM.pwn(3975) : error 049: invalid line continuation
E:\Games Setup\Gta san andreas server\Install\samp02Xserver.win32\gamemodes\SZM.pwn(3977) : error 049: invalid line continuation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
I never seen this error in my life and don't know how to fix it, can anyone help me?


Re: What the hell is this error? - Correlli - 30.05.2009

Quote:

Error 049: A line continuation character (a backslash at the end of a line) is
at an invalid position, for example at the end of a file or in a single
line comment.

If you would check pawn-lang.pdf you would know.

I think those \\ are problem.


Re: What the hell is this error? - Gamer007 - 30.05.2009

Could you please give me the link?


Re: What the hell is this error? - Correlli - 30.05.2009

http://www.megaupload.com/?d=K1IC3YJ7


Re: What the hell is this error? - shitbird - 30.05.2009

" \\ " isn't supported as a Message line, meaning it will think you're trying to script something with it, so you have to use either "/*&*/" or "//"