SA-MP Forums Archive
warning 213: 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: warning 213: tag mismatch (/showthread.php?tid=443057)



warning 213: tag mismatch - Don_Ciamis - 10.06.2013

I Dont understand about how to fix this script

Quote:

D:\All In One\Samp Server\NILRP\gamemodes\NHIRP.pwn(1983 : warning 213: tag mismatch
D:\All In One\Samp Server\NILRP\gamemodes\NHIRP.pwn(1983 : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

2 Warnings.

This is The Script

Quote:

// Animations
txtAnimHelper = TextDrawCreate(120.000000, 428.000000, "Tekan Shift Atau Space Atau /Stopanim Untuk Berhentikan Animasi");
TextDrawBackgroundColor(txtAnimHelper, 255);
TextDrawFont(txtAnimHelper, 0);
TextDrawHideForPlayer(txtAnimHelper, 1);
TextDrawLetterSize(txtAnimHelper, 0.500000, 1.000000);
TextDrawColor(txtAnimHelper, -16776961);
TextDrawSetOutline(txtAnimHelper, 1);
TextDrawSetProportional(txtAnimHelper, 1);
print("ANIMATIONS LOADED");

This line

Quote:

LINE 1938 = TextDrawHideForPlayer(txtAnimHelper, 1);




Re: warning 213: tag mismatch - Scrillex - 10.06.2013

TextDrawHideForPlayer(playerid, Textdraw[playerid]);
WIKI!


Re: warning 213: tag mismatch - Chris10 - 10.06.2013

change: TextDrawHideForPlayer(txtAnimHelper, 1);
to TextDrawHideForPlayer(playerid,txtAnimHelper);


Re: warning 213: tag mismatch - Guest123 - 10.06.2013

pawn Код:
TextDrawHideForPlayer(playerid, txtAnimHelper[playerid]);
EDIT: they faster than me


AW: warning 213: tag mismatch - HurtLocker - 10.06.2013

wrong parameter input. replace the txtAnimHelper with the player's id that you want to hide the textdraw.

EDIT: omg so many posts appearing! I was too late!


Re: warning 213: tag mismatch - Avi57 - 10.06.2013

replace with this :-
pawn Код:
TextDrawHideForPlayer(playerid, txtAnimHelper[playerid]);



Re: warning 213: tag mismatch - Don_Ciamis - 10.06.2013

Thanks to all , already fixed thanks thanks