SA-MP Forums Archive
[Solved] 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Solved] Tag Mismatch (/showthread.php?tid=113388)



[Solved] Tag Mismatch - SiJ - 13.12.2009

Hey,
I got these lines:
pawn Код:
//COLOR_ME defined...
        new Float:x,Float:y,Float:z;
    if(!strcmp(pName[playerid], "TrainDriverSF"))
    {
      new label;
      PutPlayerInVehicle(playerid, TrainSF, 0);
      GetPlayerPos(playerid,x,y,z);
      label = Create3DTextLabel("James\n(Train Driver)",COLOR_ME,x,y,z,40.0,1,0); //warinng
            Attach3DTextLabelToPlayer(label,playerid,0.0,0.0,5.0); //warning
    }
And I get warning 213: tag mismatch

Quote:
Originally Posted by SAMP Wiki
Attach3DTextLabelToPlayer(Text3D:id, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ)
Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, FloatrawDistance, virtualworld, testLOS)
Edit:
Solved the problem.. Missed
new Text3D:label;


Re: [Solved] Tag Mismatch - Doppeyy - 13.12.2009

Damnit i just saw that you solved it :P.
Anyways nice to hear you fixed it .

/Artix