SA-MP Forums Archive
Textdraw symbols - 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)
+--- Thread: Textdraw symbols (/showthread.php?tid=509879)



Textdraw symbols - Sanady - 28.04.2014

Hello everybody. I use in my designs a lot of symbols also most popular for me is " \ " is that symbol.But when I compile this in PAWN then program shows me errors.... Here are errors
Код:
sGUI.pwn(481) : error 037: invalid string (possibly non-terminated string)
sGUI.pwn(481) : warning 215: expression has no effect
sGUI.pwn(481) : error 001: expected token: ";", but found ")"
sGUI.pwn(481) : error 029: invalid expression, assumed zero
sGUI.pwn(481) : fatal error 107: too many error messages on one line
Line is :
pawn Код:
Textdraw35 = TextDrawCreate(330.000000, 157.000000, "\");
Anyone can help me how to fix?


Re: Textdraw symbols - Vince - 28.04.2014

Escape it with another backslash.


Re: Textdraw symbols - gtakillerIV - 28.04.2014

You could probably try "\\" instead.

And Vince beat me to it