SA-MP Forums Archive
13 Tag mismatch - 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: 13 Tag mismatch (/showthread.php?tid=607746)



13 Tag mismatch - Twiix - 23.05.2016

Hello, Today i got 13 tag mismatch on my script.

This is the codes.

Код:
        TextDrawSetString(Textdraw1[playerid], tds);
        TextDrawLetterSize(Textdraw1[playerid], 0.400000, 1.600000);
	TextDrawAlignment(Textdraw1[playerid], 1);
	TextDrawColor(Textdraw1[playerid], -1);
	TextDrawSetShadow(Textdraw1[playerid], 2);
	TextDrawSetOutline(Textdraw1[playerid], 1);
	TextDrawBackgroundColor(Textdraw1[playerid], 255);
	TextDrawFont(Textdraw1[playerid], 3);
	TextDrawSetProportional(Textdraw1[playerid], 0);
	TextDrawSetShadow(Textdraw1[playerid], 2);
Thanks for any help.


Re: 13 Tag mismatch - Stinged - 23.05.2016

You didn't add the Text: tag when you created Textdraw1[MAX_PLAYERS].


Re: 13 Tag mismatch - Twiix - 23.05.2016

I added it

Код:
new Textdraw1[MAX_PLAYERS];



Re: 13 Tag mismatch - Stinged - 23.05.2016

I meant this.
Код:
new Text: Textdraw1[MAX_PLAYERS];



Re: 13 Tag mismatch - Twiix - 23.05.2016

Thank You! It's working