SA-MP Forums Archive
Warning 213: Tag missmatch - 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: Warning 213: Tag missmatch (/showthread.php?tid=222913)



Warning 213: Tag missmatch - sapsap - 08.02.2011

Hey guys,

today I made a lil something for my server. Now when I compile it I get 2 Warnings:

Код:
warning 213: tag mismatch
2 times.

These are the lines:
Код:
	{
			SendClientMessage(playerid, COLOR_WHITE,"SERVER: Du bist Premium Nutzer.");
			new Premium3D;
			Premium3D = Create3DTextLabel("Premium",0xFFFF00AA,30.0,40.0,50.0,40.0,0); //First line
			Attach3DTextLabelToPlayer(Premium3D, playerid, 0.0, 0.0, 0.3); //Second line
		}
Any ideas?

Thanks in advance!


Re: Warning 213: Tag missmatch - Prumpuz - 08.02.2011

You are missing one parameter here:
pawn Код:
Premium3D = Create3DTextLabel("Premium",0xFFFF00AA,30.0,40.0,50.0,40.0,0); //First line
At the end there should be a extra 0 or 1(testLOS). Check: https://sampwiki.blast.hk/wiki/Create3DTextLabel

Should be like:
pawn Код:
Premium3D = Create3DTextLabel("Premium",0xFFFF00AA,30.0,40.0,50.0,40.0,0,0); //First line
Or like:
pawn Код:
Premium3D = Create3DTextLabel("Premium",0xFFFF00AA,30.0,40.0,50.0,40.0,0,1); //First line



Re: Warning 213: Tag missmatch - sapsap - 08.02.2011

Thanks alot for the quick reply and solution