TexTdraw 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: TexTdraw error (
/showthread.php?tid=200969)
TexTdraw error -
k3nw00d_kri5ty - 19.12.2010
Hi there.
I created a textraw:
Код:
Textdraw11 = TextDrawCreate(583.000000, 402.000000, "\");
TextDrawBackgroundColor(Textdraw11, 255);
TextDrawFont(Textdraw11, 1);
TextDrawLetterSize(Textdraw11, 0.779999, 0.999999);
TextDrawColor(Textdraw11, 255);
TextDrawSetOutline(Textdraw11, 0);
TextDrawSetProportional(Textdraw11, 1);
TextDrawSetShadow(Textdraw11, 1);
But i have this error:
Код:
...\SERVER~1\SCRIPT~1\snowman.pwn(150) : error 037: invalid string (possibly non-terminated string)
...\SERVER~1\SCRIPT~1\snowman.pwn(150) : warning 215: expression has no effect
...\SERVER~1\SCRIPT~1\snowman.pwn(150) : error 001: expected token: ";", but found ")"
...\SERVER~1\SCRIPT~1\snowman.pwn(150) : error 029: invalid expression, assumed zero
...\SERVER~1\SCRIPT~1\snowman.pwn(150) : fatal error 107: too many error messages on one line
The line is:
Код:
Textdraw11 = TextDrawCreate(583.000000, 402.000000, "\");
Why?
no problems at the line.
Re: TexTdraw error -
Marcel - 19.12.2010
Change the \ to a space or something.
Re: TexTdraw error -
k3nw00d_kri5ty - 20.12.2010
I changed to "text" for example but the error is looking at next textdraw...
I have 0.3c ...
Re: TexTdraw error -
k3nw00d_kri5ty - 20.12.2010
it's solved must put #if defined FILTERSCRIPT and other ... in filterscript.