SA-MP Forums Archive
3d text label on player, for certain players - 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: 3d text label on player, for certain players (/showthread.php?tid=277381)



3d text label on player, for certain players - jameskmonger - 17.08.2011

Can I attach a https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel to a player? I want to make a system where there are labels on players, but players can choose if they want to see them or not.


Re: 3d text label on player, for certain players - KingTurtle - 17.08.2011

Yes, if you scroll down you see "Related Functions". There should be something like Attach3DTextLabelToPlayer


Re: 3d text label on player, for certain players - jameskmonger - 17.08.2011

Attach3DTextLabelToPlayer needs text with a Text3D tag, whilst CreatePlayer3DTextLabel creates text with a PlayerText3D tag.


Re: 3d text label on player, for certain players - KingTurtle - 17.08.2011

You want to attach it to a player don't you? Than Attach3DTextLabelToPlayer should work ;o


Re: 3d text label on player, for certain players - CoaPsyFactor - 17.08.2011

and if player don't want to have label, then dont attach it to player


Re: 3d text label on player, for certain players - jameskmonger - 17.08.2011

No, I mean they can choose whether they see the label on all the other players.


Re: 3d text label on player, for certain players - CROSS_Hunter - 09.08.2012

Quote:
Originally Posted by jameskmonger
Посмотреть сообщение
No, I mean they can choose whether they see the label on all the other players.
Lol, i wish your dream comes true


Re: 3d text label on player, for certain players - Vince - 09.08.2012

Then you'd need a MAX_PLAYERS square amount of Player3DTextLabels, in which case you can only support 32 players before reaching the limit.