Tag Mismatch with 3D Text Labels [FIXED] - 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: Tag Mismatch with 3D Text Labels [FIXED] (
/showthread.php?tid=275267)
Tag Mismatch with 3D Text Labels [FIXED] -
Sledge - 09.08.2011
pawn Код:
format(string, sizeof(string), "Stranger_%d", playerVariables[playerid][pMaskID]);
MaskLabel[playerid] = Create3DTextLabel(string, COLOR_WHITE, 0, 0, 0, 10, 0, 0); //This vote gives me a tag mismatch.
Attach3DTextLabelToPlayer(MaskLabel[playerid], playerid, 0, 0, 0.5); //This code gives me a tag mismatch.
Please help me -.- These codes don't work for some reason.
Re: Tag Mismatch with 3D Text Labels -
JaTochNietDan - 09.08.2011
Are you initializing the MaskLabel array with the Text3D tag? Like so:
pawn Код:
new Text3D:MaskLabel[MAX_PLAYERS];
Hope that helps!
Re: Tag Mismatch with 3D Text Labels -
Sledge - 09.08.2011
Thanks, it works.