Warnings problem! - 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: Warnings problem! (
/showthread.php?tid=129979)
Warnings problem! -
sass839 - 24.02.2010
Could someone tell me whats wrong with these lines?
//the forum textdraw
Textdraw1 = TextDrawCreate(1.000000,433.000000,"ERMSL.TK");
TextDrawAlignment(Textdraw1,0);
TextDrawBackgroundColor(Textdraw1,0x000000ff);
TextDrawFont(Textdraw1,2);
TextDrawLetterSize(Textdraw1,0.499999,1.100000);
TextDrawColor(Textdraw1,0xffffffff);
TextDrawSetOutline(Textdraw1,1);
TextDrawSetProportional(Textdraw1,1);
TextDrawSetShadow(Textdraw1,1);
It gives me Warnings
(10787) : warning 213: tag mismatch
(1078

: warning 213: tag mismatch
(10789) : warning 213: tag mismatch
(10790) : warning 213: tag mismatch
(10791) : warning 213: tag mismatch
(10792) : warning 213: tag mismatch
(10793) : warning 213: tag mismatch
(10794) : warning 213: tag mismatch
(10795) : warning 213: tag mismatch
Re: Warnings problem! -
Joe Staff - 24.02.2010
You have to put "Text:" infront of the variable WHEN CREATING it
Re: Warnings problem! -
sass839 - 24.02.2010
Sorry but i don't understand, how it supposed to be than?
Re: Warnings problem! -
Joe Staff - 24.02.2010

Change
into
Re: Warnings problem! -
sass839 - 24.02.2010
Got it! Thank you so much!