SA-MP Forums Archive
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: Tag Mismatch (/showthread.php?tid=659235)



Tag Mismatch - NoteND - 28.09.2018

Hey!

I'm having a Tag Mismatch warning with CreateDynamic3DTextLabel..

bInfo[id][b3DText] = CreateDynamic3DTextLabel(bInfo[id][bName], bInfo[id][bColor], x, y, z+0.2, 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, STREAMER_3D_TEXT_LABEL_SD, -1, 0 );

I added bInfo[id][b3DText] as an ID so later on I can use UpdateDynamic3DTextLabel.. but i'm getting tag mismatch with it


Re: Tag Mismatch - NoteND - 28.09.2018

Fixed.


Re: Tag Mismatch - Ciandlah - 28.09.2018

Quote:
Originally Posted by NoteND
Посмотреть сообщение
Hey!

I'm having a Tag Mismatch warning with CreateDynamic3DTextLabel..

bInfo[id][b3DText] = CreateDynamic3DTextLabel(bInfo[id][bName], bInfo[id][bColor], x, y, z+0.2, 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, STREAMER_3D_TEXT_LABEL_SD, -1, 0 );

I added bInfo[id][b3DText] as an ID so later on I can use UpdateDynamic3DTextLabel.. but i'm getting tag mismatch with it
Try this here mate, Im not to sure it will work, cause im doing adult things xd

Код:
new String[500];
name = bInfo[id][bName];
format(String, sizeof(String), "%s", name);
bInfo[id][b3DText]  = CreateDynamic3DTextLabel(String, bInfo[id][bColor], x, y, z+0.2, 20.0);

Or not, already fixed xd


Re: Tag Mismatch - Undef1ned - 28.09.2018

show complete code


Re: Tag Mismatch - Variable™ - 28.09.2018

Quote:
Originally Posted by Undef1ned
Посмотреть сообщение
show complete code
He's fixed it already.
Quote:
Originally Posted by NoteND
Посмотреть сообщение
Fixed.