PDA

View Full Version : Problem tag mistmatch


DonBonanno
01/03/2014, 08:03 PM
..///

Konstantinos
01/03/2014, 08:06 PM
maskon should have PlayerText3D tag.


new PlayerText3D: maskon


and when you create the player 3D text label:

maskon = CreatePlayer3DTextLabel(playerid, ...); // ... are meant to be some arguments/parameters

DonBonanno
01/03/2014, 08:12 PM
...//

Konstantinos
01/03/2014, 08:16 PM
DeletePlayer3DTextLabel (http://wiki.sa-mp.com/wiki/DeletePlayer3DTextLabel) and Delete3DTextLabel (http://wiki.sa-mp.com/wiki/Delete3DTextLabel) are not the same.

Since you create it with Create3DTextLabel and attach it to the player, then change:

DeletePlayer3DTextLabel(playerid, maskon);

to:

Delete3DTextLabel(maskon);