SA-MP Forums Archive
CreatePlayer3DTextLabel not attaching to player - 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: CreatePlayer3DTextLabel not attaching to player (/showthread.php?tid=133201)



CreatePlayer3DTextLabel not attaching to player - iron_war_lord - 11.03.2010

I'm having a problem with CreatePlayer3DText at the moment...I use it normally (Without attaching to player) like this:

Код:
CreatePlayer3DText(sPlayerRank, dini_Int(PlayersFileName(playerid), "playercolor"), 0.0, 0.0, 0.7, 100.0);
And it shows just fine, everything works the way it should...But when I do this:

Код:
CreatePlayer3DText(sPlayerRank, dini_Int(PlayersFileName(playerid), "playercolor"), 0.0, 0.0, 0.7, 100.0, playerid, INVALID_VEHICLE_ID);
It doesn't work, I want to attach it to the player.
But I don't see the 3DText

Can anyone give me a workng example of this in action?