SA-MP Forums Archive
Problem tag mistmatch - 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: Problem tag mistmatch (/showthread.php?tid=498062)



LOCKED - DonBonanno - 01.03.2014

..///


Re: Problem tag mistmatch - Konstantinos - 01.03.2014

maskon should have PlayerText3D tag.

pawn Код:
new PlayerText3D: maskon
and when you create the player 3D text label:
pawn Код:
maskon = CreatePlayer3DTextLabel(playerid, ...); // ... are meant to be some arguments/parameters



Re: Problem tag mistmatch - DonBonanno - 01.03.2014

...//


Re: Problem tag mistmatch - Konstantinos - 01.03.2014

DeletePlayer3DTextLabel and Delete3DTextLabel are not the same.

Since you create it with Create3DTextLabel and attach it to the player, then change:
pawn Код:
DeletePlayer3DTextLabel(playerid, maskon);
to:
pawn Код:
Delete3DTextLabel(maskon);