Dynamic3DTextLabel ,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: Dynamic3DTextLabel ,tag mismatch (
/showthread.php?tid=626160)
Dynamic3DTextLabel ,tag mismatch -
maxisaibot - 11.01.2017
Example Test
Код:
new Text3D:testLabel = CreateDynamic3DTextLabel("aa", 0xFFFFFFFF, 1, 1, 1, 10, INVALID_PLAYER_ID, -1, 1);
I just try to define invalid id (i made this for test)
Код:
testLabel = -1;
//or
testLabel = INVALID_3DTEXT_ID;
Result / Error Code
Код:
warning 213: tag mismatch
Whats my wrong?
Re: Dynamic3DTextLabel ,tag mismatch -
oMa37 - 11.01.2017
Try;
PHP код:
Text3D:textlabel = -1;
Text3D:textlabel = INVALID_3DTEXT_ID;
or
PHP код:
textlabel = Text3D:INVALID_3DTEXT_ID;
I assume the second one will work, Not the first one.
Try them both anyway.