SA-MP Forums Archive
what means this .. - 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: what means this .. (/showthread.php?tid=177810)



what means this .. - Matej_ - 19.09.2010

In my script i get some warnings but I don't know what is means,
can somebody explain what means this:

pawn Код:
warning 213: tag mismatch



Re: what means this .. - [XST]O_x - 19.09.2010

pawn-lang.pdf:
Quote:
tag mismatch

A tag mismatch occurs when:
⋄ assigning to a tagged variable a value that is untagged or that
has a different tag
⋄ the expressions on either side of a binary operator have different
tags
⋄ in a function call, passing an argument that is untagged or that
has a different tag than what the function argument was defined
with
⋄ indexing an array which which requires a tagged index with no tag or
a wrong tag name




Re: what means this .. - Matej_ - 19.09.2010

pawn Код:
RedTeamText = TextDrawCreate(180.000000, 20.000000, "~r~Red~w~ Team");
^ warning 213: tag mismatch


Re: what means this .. - MadeMan - 19.09.2010

pawn Код:
new Text:RedTeamText;



Re: what means this .. - Matej_ - 19.09.2010

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
pawn Код:
new Text:RedTeamText;
ok thanks