SA-MP Forums Archive
Problem with CreatePlayer3DTextLabel - 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 with CreatePlayer3DTextLabel (/showthread.php?tid=593405)



Problem with CreatePlayer3DTextLabel - Zeddclarity - 05.11.2015

I trying to make a player3dtext with this code
example = CreatePlayer3DTextLabel(playerid,"{FFFF00}This is the text {FF4500}", 0xFF0000AA, X, Y, Z, 30.0, 1 );
X, Y ,Z is the player pos which is GetPlayerPos(playerid, x, y, z); And when i compile everything is normal but when i enter the game, the text hadnt appear, nothing happens
What happens


Re: Problem with CreatePlayer3DTextLabel - iKarim - 05.11.2015

You can't see the attached textlabels in your character (but you can see others's textlabels) only other players can see it.


Re: Problem with CreatePlayer3DTextLabel - itaialroy - 05.11.2015

Not sure I got you right, but try using Z+0.5 instead of Z, maybe your text is just too low.


Re: Problem with CreatePlayer3DTextLabel - jeffery30162 - 05.11.2015

first, I would suggest a streamer if your going to be creating a lot of these and attaching them to players, also If you create a 3dtext label and attach it to yourself you cannot see it, but other players can.