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=454635)
warning 213: tag mismatch -
Grooty - 29.07.2013
resolved
Re: warning 213: tag mismatch -
PrinceKumar - 29.07.2013
Can you write the error line
Re: warning 213: tag mismatch -
Grooty - 29.07.2013
Quote:
Originally Posted by PrinceKumar
Can you write the error line
|
Errors are on the last section of code
AW: warning 213: tag mismatch -
Kwashiorkor - 29.07.2013
PlayerTextDrawDestroy is for PlayerTexts while TextDrawDestroy is for global Texts. you have to use PlayerTextDrawDestroy(playerid,Textdraw1[playerid]); and so on
Re: AW: warning 213: tag mismatch -
Grooty - 29.07.2013
Quote:
Originally Posted by Kwashiorkor
PlayerTextDrawDestroy is for PlayerTexts while TextDrawDestroy is for global Texts. you have to use PlayerTextDrawDestroy(playerid,Textdraw1[playerid]); and so on
|
Thanks!!
Re: warning 213: tag mismatch -
ThePhenix - 29.07.2013
Or you could:
PHP код:
foreach(new playerid: Player)
{
Here goes the textdraws
}
Re: warning 213: tag mismatch -
PrinceKumar - 29.07.2013
Use playertextdrawdestroy(playerid, textdraw[playerid]);
edit: late.